Community mailing list archives

community@mail.odoo.com

Re: Max Discounts on invoice lines

by
Projetgrup, Levent Karakaş
- 05/18/2016 11:13:05
We use discount limit on sales by adding a discount_limit on res.users (users) and checking it on sale.order (sale) model's action_button_confirm action.

Similar flow can be done in account.invoice (invoice).

2016-05-18 1:31 GMT+03:00 Gastón Pablo Pérez <gpperez@gmail.com>:
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