[6.0.1] Invoicing an outgoing picking list from a sale order including service products
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 2 |
Bug Description
If you invoice an outgoing picking list whose sale order includes service products, and the purchase module is installed, you can get the following error because action_
It could be fixes if line 104 of file purchase/stock.py:
if move_line.
is changed to:
if picking.purchase_id and move_line.
File "server/
res = self.create_
File "server/
res = super(stock_
File "server/
context=
File "server/
context=
File "server/
user, picking, sale_line)
File "server/
if move_line.
File "server/
raise AttributeError(e)
AttributeError: "Field 'purchase_line_id' does not exist in object 'browse_
Related branches
- Rucha (Open ERP) (community): Approve
-
Diff: 11 lines (+1/-1)1 file modifiedpurchase/stock.py (+1/-1)
Changed in openobject-addons: | |
status: | Invalid → New |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
Changed in openobject-addons: | |
milestone: | none → 6.1 |
Hello Jordi,
I have tested your scenario with latest trunk at my end but I am not able to reproduce it.
Would you please elaborate with more information or provide the proper steps to reproduce it.
Thanks.