Contributors mailing list archives

contributors@odoo-community.org

Avatar

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

by
Faraz Zafar
- 10/12/2020 17:45:35
I use sale_exception for this kind of task by adding all restrictions as exception rules applied on Sales order or sales orderline upon clicking confirm sales.

But i think there is another better library that goes with name of “tier validation” if i am not wrong

Faraz Zafar
Management Consultant
Pandoratech LLC

From: Sergio Corato <sergiocorato@gmail.com>
Sent: Thursday, December 10, 2020 8:17:23 PM
To: Contributors <contributors@odoo-community.org>
Subject: Mixin model for generic warning/blocking configurable from UI
 
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

Reference