Procurement stuck in ready state after purchase is completed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Unassigned | ||
5.0 |
Incomplete
|
High
|
Unassigned |
Bug Description
I am testing with the 5.0 branch of openobject-addons revision 2582.
I will attach a merge proposal with a failing unit test, but here are the steps to reproduce the problem:
- Create a new database with demo data.
- Choose the Manufacturing Industry profile, but leave all the other configuration with the defaults.
- Create a procurement for 3 units of MB1 at location Stock.
- Confirm the procurement.
- Run the procurement.
- Open the purchase order that it generated.
- Confirm the purchase order.
- Approve the purchase order.
- Open the incoming shipment that it generated.
- Receive the shipment.
Expected behaviour:
At this point, I would expect the procurement to be done.
Actual behaviour:
The procurement is still in the ready state. Running the scheduler makes no change. If you open the stock move associated with the procurement and mark it as done, then the procurement is done. You might need to run the scheduler first, I can't remember.
Analysis:
The procurement work flow transition from ready to done requires action_
Related branches
- Olivier Dony (Odoo): Approve
- OpenERP Core Team: Pending requested
-
Diff: 164 lines (+135/-2)3 files modifiedmrp/__terp__.py (+1/-1)
mrp/mrp_test.xml (+122/-0)
purchase/purchase.py (+12/-1)
description: | updated |
Changed in openobject-addons: | |
status: | Incomplete → New |
Changed in openobject-addons: | |
assignee: | nobody → Olivier Dony (OpenERP) (odo) |
Changed in openobject-addons: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in openobject-addons: | |
importance: | Low → High |
Hello Don Kirkby ,
Please use the latest code of the addons and server because currently the revision 2631 and 1999 respectively .I have followed all the steps which you had specified in the bug.But i did not reproduce it at my end.
Can you check again your side after updating your code.If you will face similar problem again attach the proper screen shot.
As I did not faced any problem at my end.
Thanks.