Wrong Salesman in create invoice from picking
Bug #783255 reported by
Renato Lima - http://www.akretion.com
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 2 |
Bug Description
Hello,
In addons-6.0 revision 4444, when you create an invoice from picking,
the field user_id in invoice is the current user (uid) and not user_id
from sale.order, if you look in action_
stock/stock.py line 1016 you will see:
'user_id':uid
this field should be the sale.order.user_id or purchase.
Best Regards,
Renato Lima - www.akretion.com
Related branches
lp:~openerp-dev/openobject-addons/trunk-bug-783255-ksa
- Kirti Savalia(OpenERP) (community): Needs Resubmitting
- Vo Minh Thu (community): Needs Fixing
- Rucha (Open ERP): Pending requested
-
Diff: 17 lines (+4/-3)1 file modifiedsale/stock.py (+4/-3)
Changed in openobject-addons: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
I think this is by design. There may be cases where you (resp. other users) _want_ it to be the one who did the invoice. E.g. if you have different departments for invoicing and sales.
You can always write a module modifying this behaviour.