← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 783255] Re: Wrong Salesman in create invoice from picking

 

** Attachment added: "salesman.ogv"
   https://bugs.launchpad.net/openobject-addons/+bug/783255/+attachment/2130585/+files/salesman.ogv

-- 
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):
  Confirmed

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