To disallow a user to change a Unit Price in invoice line

23 views
Skip to first unread message

Artem Braga

unread,
Sep 13, 2017, 10:42:13 AM9/13/17
to tryton
Hello.

Just wondering if Tryton allows to restrict (not allow) a user to change a Unit Price field in a Customer Invoice line? Should this be done by configuring access permissions at a Model level (Invoice-Line) or Field level (unit_price)?


Thank you
Best regards
Artem

Cédric Krier

unread,
Sep 13, 2017, 5:20:10 PM9/13/17
to tryton
On 2017-09-13 07:42, 'Artem Braga' via tryton wrote:
> Hello.
>
> Just wondering if Tryton allows to restrict (not allow) a user to change a Unit Price field in a Customer Invoice line? Should this be done by configuring access permissions at a Model level (Invoice-Line) or Field level (unit_price)?

Only accountant has write access to the invoice. If you do not trust
your accountant who will you?

On side note, a common request is about changing unit price from sale
line. This is a more legitimate request as you could have less trust in
your salesmen. For me, this should be solved not be restricting write
access but by checking the difference of the computed unit price and the
edited one to be under a specific tolerance.

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
Reply all
Reply to author
Forward
0 new messages