error when mrp and module sale are installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
Hi
I found a very strange bug when the module mrp and sale are installed on the same database.
As my customer have an OPW (M10120866-
To reproduce it:
add a print function in sale.py just after the fuction action_
def action_
+ print "create invoice"
res = False
invoices = {}
Now start OpenERP and install the module mrp and sale (with demo data)
Go in sale and select the order SO001 of agrolait.
Change the invoice policy to "Invoice On Order After Delivery"
And validate the order and the picking.
=> look in the log, the function action_
Go back in sale order and duplicate the order SO001
Change the invoice policy to "Shipping & Manual Invoice"
And validate the order and the picking
=> everything is ok
Go back in sale order and duplicate the order SO001
Change the invoice policy to "Invoice On Order After Delivery"
And validate the order and the picking
=> look in the log the function action_
As we inherit this function in base_sale_
It's a big problem for our customer.
For information I use the last code of the addons and the server. This bug is very strange but 100% reproductible.
Thanks
Related branches
- Priyesh (OpenERP) (community): Approve
Changed in openobject-addons: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
importance: | Undecided → Low |
tags: | added: maintenance |
Changed in openobject-addons: | |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Hello Sébastien BEAU - http:// www.akretion. com,
Thank you very much for reporting this problem.
It is now fixed in,
lp:~openerp-dev/openobject-addons/6.0-bug-793468-rha
Revision ID: <email address hidden>
Revision no: 4689
Regards,
Rifakat