Closed allanpa88 closed 4 months ago
A validation error is raised when a user without the "Manage Multiple Units of Measure" access tries to save or validate a manual transfer.
This fix allows any user to create manual transfers, but only users with "Units of Measure" access can modify this attribute on the lines.
This is the answer to the request suggested by German here: https://github.com/Vauxoo/addons-vauxoo/pull/1652#discussion_r1602424134
I think this is a great solution, better than giving the user access.
Here you can see evidence of the function test:
User without group
Without the fix we cannot save or validate the Manual Transfer.
With the fix any user could create and modify the lines:
Hi @luisg123v could you review this please.
cc: @xmglord
A validation error is raised when a user without the "Manage Multiple Units of Measure" access tries to save or validate a manual transfer.
This fix allows any user to create manual transfers, but only users with "Units of Measure" access can modify this attribute on the lines.
This is the answer to the request suggested by German here: https://github.com/Vauxoo/addons-vauxoo/pull/1652#discussion_r1602424134
I think this is a great solution, better than giving the user access.
Here you can see evidence of the function test:
User without group
Without the fix we cannot save or validate the Manual Transfer.
With the fix any user could create and modify the lines: