c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #33366
[Bug 861306] [NEW] salesman for invoices created from a picking
Public bug reported:
The salesman for the invoices created from a picking is not correct.
When an invoice is created from a sale.order in the method
action_invoice_create (sale/sale.py), the user_id field gets the value:
'user_id': order.user_id and order.user_id.id or False
so the code properly copies the salesman from the order to the invoice.
However, when invoicing from pickings, the method action_invoice_create
(stock/stock.py), the user_id field for the invoice gets the value:
'user_id': uid
when it should get the value:
'user_id': picking.sale_id and picking.sale_id.user_id and
picking.sale_id.user_id.id or False
in the 2 locations of the method action_invoice_create.
Please fix it.
** Affects: openobject-addons
Importance: Undecided
Status: New
** Tags: 6.0 salesman stock
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/861306
Title:
salesman for invoices created from a picking
Status in OpenERP Addons (modules):
New
Bug description:
The salesman for the invoices created from a picking is not correct.
When an invoice is created from a sale.order in the method
action_invoice_create (sale/sale.py), the user_id field gets the
value:
'user_id': order.user_id and order.user_id.id or False
so the code properly copies the salesman from the order to the
invoice.
However, when invoicing from pickings, the method
action_invoice_create (stock/stock.py), the user_id field for the
invoice gets the value:
'user_id': uid
when it should get the value:
'user_id': picking.sale_id and picking.sale_id.user_id and
picking.sale_id.user_id.id or False
in the 2 locations of the method action_invoice_create.
Please fix it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/861306/+subscriptions
Follow ups
-
[Bug 861306] Re: salesman for invoices created from a picking
From: Mustufa Rangwala (Open ERP), 2011-10-07
-
[Bug 861306] Re: salesman for invoices created from a picking
From: Bharat Devnani (Open ERP), 2011-10-07
-
[Bug 861306] Re: salesman for invoices created from a picking
From: Mustufa Rangwala (Open ERP), 2011-10-07
-
[Bug 861306] Re: salesman for invoices created from a picking
From: Manu, 2011-09-29
-
[Bug 861306] Re: salesman for invoices created from a picking
From: Bharat Devnani (Open ERP), 2011-09-29
-
[Bug 861306] Re: salesman for invoices created from a picking
From: Launchpad Bug Tracker, 2011-09-29
-
[Bug 861306] Re: salesman for invoices created from a picking
From: Bharat Devnani (Open ERP), 2011-09-29
-
[Bug 861306] Re: salesman for invoices created from a picking
From: Bharat Devnani (Open ERP), 2011-09-29
-
[Bug 861306] Re: salesman for invoices created from a picking
From: Vishal Parmar(Open ERP), 2011-09-28
-
[Bug 861306] [NEW] salesman for invoices created from a picking
From: Manu, 2011-09-28
References