Merge lp:~openerp-dev/openobject-addons/trunk-bug-821486-bde into lp:openobject-addons

Proposed by Bharat Devnani (Open ERP)
Status: Merged
Merged at revision: 5056
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-821486-bde
Merge into: lp:openobject-addons
Diff against target: 12 lines (+2/-0)
1 file modified
sale/wizard/sale_line_invoice.py (+2/-0)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-821486-bde
Reviewer Review Type Date Requested Status
Mustufa Rangwala (Open ERP) (community) Approve
Bharat Devnani (Open ERP) (community) Needs Resubmitting
qdp (OpenERP) Pending
Review via email: mp+70710@code.launchpad.net

Description of the change

Hello Sir,

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

Thanks & Regards,
Devnani Bharat R.

To post a comment you must log in.
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) wrote :

Bharat,

Same thing can be fix for company_id too.

Thanks,
MRA

review: Needs Fixing
Revision history for this message
Bharat Devnani (Open ERP) (bde-openerp) wrote :

Hello Sir,

I have also fixed the same for the company_id too.

Thanks & Regards,
Devnani Bharat R.

review: Needs Resubmitting
Revision history for this message
Mustufa Rangwala (Open ERP) (mra-tinyerp) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'sale/wizard/sale_line_invoice.py'
2--- sale/wizard/sale_line_invoice.py 2011-01-14 00:11:01 +0000
3+++ sale/wizard/sale_line_invoice.py 2011-09-15 12:39:15 +0000
4@@ -73,6 +73,8 @@
5 'comment': order.note,
6 'payment_term': pay_term,
7 'fiscal_position': order.fiscal_position.id or order.partner_id.property_account_position.id,
8+ 'user_id': order.user_id and order.user_id.id or False,
9+ 'company_id': order.company_id and order.company_id.id or False
10 }
11 inv_id = self.pool.get('account.invoice').create(cr, uid, inv)
12 return inv_id

Subscribers

People subscribed via source and target branches

to all changes: