-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] sale_order_invoice_date: Migration to 16.0
- Loading branch information
Showing
6 changed files
with
39 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ Sale Order Invoice Date | |
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
Display the invoice date on Sales Order analysis reports. | ||
Display the invoice date on Sales Order analysis reports, Sales Order form, and tree view. | ||
|
||
The invoice date is considered to be the latest invoice date linked to fully | ||
invoiced sales. | ||
|
@@ -60,6 +60,10 @@ Contributors | |
|
||
* Iván Todorovich <[email protected]> | ||
|
||
* `Open Source Integrators <https://www.opensourceintegrators.com/>`_ | ||
|
||
* Murtuza Saleh <[email protected]> | ||
|
||
Maintainers | ||
~~~~~~~~~~~ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
* `Camptocamp <https://www.camptocamp.com>`_ | ||
|
||
* Iván Todorovich <[email protected]> | ||
* `Open Source Integrators <https://www.opensourceintegrators.com/>`_ | ||
|
||
* Murtuza Saleh <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Display the invoice date on Sales Order analysis reports. | ||
Display the invoice date on Sales Order analysis reports, Sales Order form, and tree view. | ||
|
||
The invoice date is considered to be the latest invoice date linked to fully | ||
invoiced sales. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<odoo> | ||
|
||
<record id="view_order_form_inherit_so_invoice_date" model="ir.ui.view"> | ||
<field name="name">sale.order.form.inherit.so.invoice.date</field> | ||
<field name="model">sale.order</field> | ||
<field name="inherit_id" ref="sale.view_order_form" /> | ||
<field name="arch" type="xml"> | ||
<xpath expr="//group[@name='sale_info']//field[@name='invoice_status']" position="after"> | ||
<field name="invoice_date" states="sale,done" groups="base.group_no_one"/> | ||
</xpath> | ||
<xpath expr="//field[@name='order_line']//tree//field[@name='price_subtotal']" position="after"> | ||
<field name="invoice_date" optional="hide"/> | ||
</xpath> | ||
</field> | ||
</record> | ||
|
||
</odoo> |