Merge lp:~openerp-dev/openobject-addons/7.0-opw-600945-msh into lp:openobject-addons/7.0
Status: | Approved |
---|---|
Approved by: | Vinay Rana (OpenERP) |
Approved revision: | 9603 |
Proposed branch: | lp:~openerp-dev/openobject-addons/7.0-opw-600945-msh |
Merge into: | lp:openobject-addons/7.0 |
Diff against target: |
43 lines (+13/-2) 2 files modified
account/account_invoice.py (+11/-0) account/account_invoice_view.xml (+2/-2) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-600945-msh |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vinay Rana (OpenERP) (community) | Approve | ||
Martin Trigaux (OpenERP) | Pending | ||
Naresh(OpenERP) | Pending | ||
Review via email: mp+195902@code.launchpad.net |
Description of the change
Hello,
Fixed the issue of due_date in invoice not came according to invoice_date when invoice_date set after selecting partner, if there is already a invoice_date avaialable then onchange_partner_id returns due_date according to invoice_date + payment term days but if partner is selected and then invoice_date changed then due_date not calculated according to invoice_date.
Demo: Go to Customer/Supplier Invoice, select a partner which has payment term set, after selecting partner you will see due date is calculated according to partner's payment term but after that change the Invoice Date, Due Date doesn't changed, select Invoice Date first and then select partner which has payment term set, you will get Due Date with respect of Invoice Date.
on_change_
Thanks.
Unmerged revisions
- 9603. By Mohammed Shekha(OpenERP)<email address hidden>
-
[FIX]]Account: Re-fixed the issue of due_date in invoice not came according to invoice_date when invoice_date set after selecting partner, if there is already a invoice_date avaialable then onchange_partner_id returns due_date according to invoice_date + payment term days but if partner is selected and then invoice_date changed then due_date not calculated according to invoice_date.