← Back to team overview

openerp-india team mailing list archive

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

 

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

** Changed in: openobject-addons
       Status: New => Fix Released

-- 
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):
  Fix Released

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