openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #09105
[Bug 783255] Re: Wrong Salesman in create invoice from picking
Hello,
Please notice that only the case of a sale has been addressed, not the
proper assignation of the user in the case of a purchase, please deal
with that case too.
Fabien's original patch was http://bazaar.launchpad.net/~openerp
/openobject-addons/6.1/revision/5591 and it addressed only the case of a
sale.
Today the logic is still preserved in sale/stock.py _prepare_invoice but
it doesn't deal with the proper assignation of the user when the picking
results from a purchase. Can we have it too? I guess we would need to
patch purchase/stock.py, right?
** Changed in: openobject-addons
Status: Fix Released => New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/783255
Title:
Wrong Salesman in create invoice from picking
Status in OpenERP Addons (modules):
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/783255/+subscriptions