Wrong account for invoice lines created from delivery for service products
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
Version 6.0.1
When a invoices is created from a delivery in the sales flow with shipping policy "Invoice from Delivery" the wrong account is used for services products.
Steps to reproduce:
1) Create a new SO
2) Add a stockable and a service product to the SO
3) Select shipping policy "Invoice from Delivery"
4) Go the delivery and create the invoice
6) Open the generated invoice
Result observed:
The account used for the service product invoice line is wrong, the one used for the stockable product is correct. The account set in property_
Expeted result:
The account set in property_
Potential problem solution:
Function action_
Either use the value set in the context ('inv_type') or use the function self._get_
Related branches
- Mustufa Rangwala (Open ERP) (community): Approve
- Ashvin Rathod (OpenERP) (community): Needs Resubmitting
- qdp (OpenERP): Pending requested
-
Diff: 44 lines (+8/-2)1 file modifiedsale/stock.py (+8/-2)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3) |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
Changed in openobject-addons: | |
milestone: | none → 6.1 |
Changed in openobject-addons: | |
status: | Fix Committed → Fix Released |
Hello Samuel_B,
Its fixed in lp:~openerp-dev/openobject-addons/trunk-bug-757687-ara branch. It will be merge soon with trunk addons.
Revision ID: <email address hidden>
Revision No: 4640
Thanks,
Ashvin Rathod