Sale order line in state 'done' but order in state 'draft'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
gpa(OpenERP) |
Bug Description
Hi,
I create new sale order with one product. I confirm it. To cancel it, I remove the product on outgoing product view, the state of my sale order is 'Cancel'. I drafted it. But the problem when I add a product on this draft sale order and I save it : the sale order state become 'done'.
I recapitulate :
-Create a new sale order with one product :
state in DB : draft - workflow state : draft
-Confirm sale order :
state in DB : progress - worflow state : ship
-Cancel the sale order (remove product on outgoing product):
state in DB : cancel - workflow state : ship
-Draft the sale order :
state in DB : draft - workflow state : draft
-Add a second product and save it :
state in DB : done - worflow state : draft
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 69 lines (+54/-0)2 files modifiedaccount/__terp__.py (+1/-0)
account/test/sequence_bug602188_test.xml (+53/-0)
affects: | openobject-server → openobject-addons |
Changed in openobject-addons: | |
status: | New → Confirmed |
assignee: | nobody → gpa(Open ERP) (gpa-openerp) |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
summary: |
- Sale order invoiced but state is 'draft' + Sale order line in state 'done' but order in state 'draft' |
Hello Quentin Theuret,
Thank you for such an important bug-report.
We appreciate your contribution.
Would you please apply this patch and let us know whether it works at your end ?
Thank you.