← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

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.

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


References