Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] purchase_request: create new product for test
To prevent interference from other modules. In this case, there is a purchase order from Odoo's demo data in a confirmed state but without a picking for the product. The missing picking causes purchase_manual_delivery to include the PO line's quantity in the forecasted quantity of the product. This prevents the procurement to go through in TestPurchaseRequestProcurement.test_orderpoint. ``` 2024-09-26 14:16:17,327 269 ERROR odoo odoo.addons.purchase_request.tests.test_purchase_request_procurement: FAIL: TestPurchaseRequestProcurement.test_orderpoint Traceback (most recent call last): File "/__w/purchase-workflow/purchase-workflow/purchase_request/tests/test_purchase_request_procurement.py", line 81, in test_orderpoint self.assertEqual( AssertionError: 0.0 != 5 ```
- Loading branch information