Files
odoo_source/addons
Goffin Simon e8fea60bb8 [FIX] purchase_requisition: Purchase Order Approval
Steps to reproduce the bug:

- Create a user with only access rights, Inventory = Administrator, Purchase = user
- Enable feature Purchase order approval in Purchase > Settings
- Agreement Type = Exclusive, lines of Agreement, Quantity of Agreement
- Login as a new created user and navigate to a menu Purchase > Purchase agreement and
create a new Purchase agreement, confirm it
- From the button create two PO (having a total > 5000)
- Cancel one of the PO first and try to approve another one

Bug:

A UserError was riased: You have to cancel or validate every RFQ before closing the purchase requisition.

opw:2368999

closes odoo/odoo#64431

X-original-commit: dfee34b0b9c83beca9aca0b21e7f130ae86c0ee6
Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
2021-01-12 15:42:15 +00:00
..
2020-10-19 07:03:01 +00:00
2020-12-22 13:40:28 +00:00
2021-01-06 19:06:13 +00:00
2020-12-10 16:17:02 +00:00
2020-11-16 16:47:28 +00:00
2020-12-08 15:41:52 +00:00
2020-12-22 13:40:28 +00:00
2020-12-22 13:40:28 +00:00