Community mailing list archives

community@mail.odoo.com

RE: Max Discounts on invoice lines

by
IBS
- 05/17/2016 18:38:40

Overload the invoice line write/create methods, do a test on the current user’s group and the supplied values.

 

Karim Boukabbouz

Chief Technical Officer

IBS North Africa – odoo.ma

+212 666 048 931

Morocco

 

 

From: Gastón Pablo Pérez [mailto:gpperez@gmail.com]
Sent: 17 May 2016 23:31
To: Community
Subject: Max Discounts on invoice lines

 

Hi there!

 

I need to block discounts on invoice lines to a max value for some users and permit a higher discount for some other users. I mean

 

- users on group A can do discounts max to 7%

- users on group B can do discounts for more than 7% (10% for example)

 

any ideas?

 

thanks in advance

 

Gastón
Email: gpperez@gmail.com

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe