salesman for invoices created from a picking
Bug #861306 reported by
Manu
This bug report is a duplicate of:
Bug #783255: Wrong Salesman in create invoice from picking.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Committed
|
Low
|
OpenERP R&D Addons Team 3 |
Bug Description
The salesman for the invoices created from a picking is not correct.
When an invoice is created from a sale.order in the method action_
'user_id': order.user_id and order.user_id.id or False
so the code properly copies the salesman from the order to the invoice.
However, when invoicing from pickings, the method action_
'user_id': uid
when it should get the value:
'user_id': picking.sale_id and picking.
in the 2 locations of the method action_
Please fix it.
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-861306-bde
Rejected
for merging
into
lp:openobject-addons
- Mustufa Rangwala (Open ERP) (community): Needs Fixing
- Bharat Devnani (Open ERP) (community): Needs Resubmitting
- qdp (OpenERP): Pending requested
-
Diff: 140 lines (+16/-16)2 files modifiedsale/sale.py (+10/-10)
stock/stock.py (+6/-6)
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: | |
status: | In Progress → Fix Committed |
Changed in openobject-addons: | |
milestone: | none → 6.1 |
To post a comment you must log in.
Hello Manu,
Thanks for your time and contribution, i seen your suggestions regarding user_id in stock.py of Stock Module but alone it was not solving the issue related to user_id, so i have made certain changes in sale.py of Sale Module inorder to correct the users in SO and Customer Invoice. The solution will be merged in addons soon. Following are the Revision ID and Number of the proposed branch:
Revision ID : <email address hidden>
Revision Number : 5236
Thanks & Regards,
Devnani Bharat R.