c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #24345
[Bug 783255] Re: Wrong Salesman in create invoice from picking
Hello,
Thanks for the suggestion,
Technically, this change is needed in stock module, and in this module there is no field sale_id (this will come after sale is installed), so we can't change it in stock,
if its really to fix, we need to override the method in sale and change the user respectively,
but as said by Marco its possible to respect the one who have created the invoice from picking, as some/many times different actions are handled by different users (of different departments),
before fixing this we need inputs from your side, so I am setting this as opinion,
Suggestions are welcomed,
Thanks
** Changed in: openobject-addons
Status: In Progress => Opinion
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/783255
Title:
Wrong Salesman in create invoice from picking
Status in OpenERP Modules (addons):
Opinion
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_invoice_create method in
stock/stock.py line 1016 you will see:
'user_id':uid
this field should be the sale.order.user_id or purchase.order.user_id
Best Regards,
Renato Lima - www.akretion.com
References