Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Mixin model for generic warning/blocking configurable from UI

by
Patrick Wilson
- 10/12/2020 17:47:35
You can also do this via automated actions in the GUI. The action needs to execute Python code but you can raise warnings within the auto action.

On Thu, 10 Dec 2020, 9:37 am Iván Todorovich, <ivan.todorovich@gmail.com> wrote:

On Thu, 10 Dec 2020 at 13:17, Sergio Corato <sergiocorato@gmail.com> wrote:
Hi all!

Is there some module/implementation of a generic object for warning/blocking the user to do something wrong in some condition, configurable from UI?

Eg: I as admin create a row to block the user to confirm a sale order if a customer is in Germany and there is a previous order not paid. Or show a warning if the customer has the tag 'blue', etc. etc.

Thanks in advance

Sergio Corato

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference