Bharat Devnani (Open ERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-821486-bde into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #821486 in OpenERP Addons: "The invoice user_id is not already the same 
that sale order user_id"
  https://bugs.launchpad.net/openobject-addons/+bug/821486

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-821486-bde/+merge/70710

Hello Sir,

I have added user_id field in make_invoice function of sale_line_invoice.py.

Thanks & Regards,
Devnani Bharat R.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-821486-bde/+merge/70710
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-821486-bde.
=== modified file 'sale/wizard/sale_line_invoice.py'
--- sale/wizard/sale_line_invoice.py	2011-01-14 00:11:01 +0000
+++ sale/wizard/sale_line_invoice.py	2011-08-08 09:41:30 +0000
@@ -73,6 +73,7 @@
                 'comment': order.note,
                 'payment_term': pay_term,
                 'fiscal_position': order.fiscal_position.id or order.partner_id.property_account_position.id,
+                'user_id': order.user_id and order.user_id.id or False,
             }
             inv_id = self.pool.get('account.invoice').create(cr, uid, inv)
             return inv_id

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to