Merge lp:~camptocamp/openobject-addons/7.0-fix-1231856-afe into lp:openobject-addons/7.0

Proposed by Alexandre Fayolle - camptocamp
Status: Needs review
Proposed branch: lp:~camptocamp/openobject-addons/7.0-fix-1231856-afe
Merge into: lp:openobject-addons/7.0
Diff against target: 11 lines (+1/-0)
1 file modified
stock/wizard/stock_invoice_onshipping.py (+1/-0)
To merge this branch: bzr merge lp:~camptocamp/openobject-addons/7.0-fix-1231856-afe
Reviewer Review Type Date Requested Status
Amit Parik (community) Needs Fixing
OpenERP Core Team Pending
Review via email: mp+188012@code.launchpad.net

Description of the change

Set a default for invoice_date in stock.invoice.onshipping (lp:1231856)

To post a comment you must log in.
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello,

As expained on the bug report we have to fixed on sale.order.line.make.invoice wizard and put the invoice date and journal on that wizard same as stock.invoice.onshipping wizard and it will pass on invoice.

Thank you!

review: Needs Fixing

Unmerged revisions

9483. By Alexandre Fayolle - camptocamp

[FIX] add a default value for invoice_date in stock.invoice.onshipping (lp:1231856)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'stock/wizard/stock_invoice_onshipping.py'
2--- stock/wizard/stock_invoice_onshipping.py 2012-12-06 14:56:32 +0000
3+++ stock/wizard/stock_invoice_onshipping.py 2013-09-27 10:46:24 +0000
4@@ -80,6 +80,7 @@
5
6 _defaults = {
7 'journal_id' : _get_journal,
8+ 'invoice_date': fields.date.today,
9 }
10
11 def view_init(self, cr, uid, fields_list, context=None):