Merge branch '16.0' of github.com:Mint-System/Odoo-Development into 16.0
This commit is contained in:
commit
f9d7f3ff37
9 files changed
+81
-8
No files matched your search
+29
-3
@@ -555,8 +555,8 @@ ID: `mint_system.account.report_invoice_document.custom_address`
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.custom_address.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.custom_address.xml)
|
||||
|
||||
### Custom Pament Term
|
||||
ID: `mint_system.account.report_invoice_document.custom_pament_term`
|
||||
### Custom Payment Term
|
||||
ID: `mint_system.account.report_invoice_document.custom_payment_term`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="account.report_invoice_document" priority="50">
|
||||
@@ -568,7 +568,7 @@ ID: `mint_system.account.report_invoice_document.custom_pament_term`
|
||||
</data>
|
||||
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.custom_pament_term.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.custom_pament_term.xml)
|
||||
Source: [snippets/account.report_invoice_document.custom_payment_term.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.custom_payment_term.xml)
|
||||
|
||||
### Custom Taxes
|
||||
ID: `mint_system.account.report_invoice_document.custom_taxes`
|
||||
@@ -752,6 +752,18 @@ ID: `mint_system.account.report_invoice_document.format_title`
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.format_title.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.format_title.xml)
|
||||
|
||||
### Format Units
|
||||
ID: `mint_system.account.report_invoice_document.format_units`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="account.report_invoice_document" priority="50">
|
||||
<xpath expr="//t[@name='account_invoice_line_accountable']/td[2]" position="attributes">
|
||||
<attribute name="class">text-nowrap</attribute>
|
||||
</xpath>
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.format_units.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.format_units.xml)
|
||||
|
||||
### Get Position
|
||||
ID: `mint_system.account.report_invoice_document.get_position`
|
||||
```xml
|
||||
@@ -3737,6 +3749,20 @@ ID: `mint_system.account.view_out_invoice_tree.show_discount`
|
||||
```
|
||||
Source: [snippets/account.view_out_invoice_tree.show_discount.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.view_out_invoice_tree.show_discount.xml)
|
||||
|
||||
### Show Invoice Payment Term Id
|
||||
ID: `mint_system.account.view_out_invoice_tree.show_invoice_payment_term_id`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="account.view_out_invoice_tree" priority="50">
|
||||
|
||||
<xpath expr="//field[@name='state']" position="after">
|
||||
<field name="invoice_payment_term_id" optional="hide"/>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/account.view_out_invoice_tree.show_invoice_payment_term_id.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.view_out_invoice_tree.show_invoice_payment_term_id.xml)
|
||||
|
||||
### Show Partner Shipping
|
||||
ID: `mint_system.account.view_out_invoice_tree.show_partner_shipping`
|
||||
```xml
|
||||
|
||||
File renamed without changes.
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="account.report_invoice_document" priority="50">
|
||||
<xpath expr="//t[@name='account_invoice_line_accountable']/td[2]" position="attributes">
|
||||
<attribute name="class">text-nowrap</attribute>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -172,6 +172,22 @@ ID: `mint_system.base.res_partner_kanban_view.show_phone`
|
||||
```
|
||||
Source: [snippets/base.res_partner_kanban_view.show_phone.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/base.res_partner_kanban_view.show_phone.xml)
|
||||
|
||||
### Show Pricelist
|
||||
ID: `mint_system.base.res_partner_kanban_view.show_pricelist`
|
||||
```xml
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<data inherit_id="base.res_partner_kanban_view" priority="50">
|
||||
<xpath expr="//field[@name='email']" position="after">
|
||||
<field name="property_product_pricelist"/>
|
||||
</xpath>
|
||||
<xpath expr="//li[@t-if='record.email.raw_value']" position="after">
|
||||
<li t-if="record.property_product_pricelist.raw_value"><field name="property_product_pricelist"/></li>
|
||||
</xpath>
|
||||
</data>
|
||||
|
||||
```
|
||||
Source: [snippets/base.res_partner_kanban_view.show_pricelist.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/base.res_partner_kanban_view.show_pricelist.xml)
|
||||
|
||||
### Show Website
|
||||
ID: `mint_system.base.res_partner_kanban_view.show_website`
|
||||
```xml
|
||||
@@ -744,6 +760,19 @@ ID: `mint_system.base.view_partner_tree.show_industry`
|
||||
```
|
||||
Source: [snippets/base.view_partner_tree.show_industry.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/base.view_partner_tree.show_industry.xml)
|
||||
|
||||
### Show Pricelist
|
||||
ID: `mint_system.base.view_partner_tree.show_pricelist`
|
||||
```xml
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<data inherit_id="base.view_partner_tree" priority="50">
|
||||
<xpath expr="//field[@name='user_id']" position="after">
|
||||
<field name="property_product_pricelist" optional="show"/>
|
||||
</xpath>
|
||||
</data>
|
||||
|
||||
```
|
||||
Source: [snippets/base.view_partner_tree.show_pricelist.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/base.view_partner_tree.show_pricelist.xml)
|
||||
|
||||
### Show Property Payment Term Id
|
||||
ID: `mint_system.base.view_partner_tree.show_property_payment_term_id`
|
||||
```xml
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<data inherit_id="base.res_partner_kanban" priority="50">
|
||||
<data inherit_id="base.res_partner_kanban_view" priority="50">
|
||||
<xpath expr="//field[@name='email']" position="after">
|
||||
<field name="property_product_pricelist"/>
|
||||
</xpath>
|
||||
|
||||
@@ -15,5 +15,6 @@
|
||||
rec['x_amount_residual_signed_debit'] = rec.amount_residual_signed
|
||||
else:
|
||||
rec['x_amount_residual_signed_debit'] = 0
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -514,6 +514,7 @@ ID: `mint_system.ir_model.account_move.x_total_debit`
|
||||
rec['x_amount_residual_signed_debit'] = rec.amount_residual_signed
|
||||
else:
|
||||
rec['x_amount_residual_signed_debit'] = 0
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
|
||||
+2
-4
@@ -85,16 +85,14 @@ Source: [snippets/l10n_ch.l10n_ch_swissqr_template.remove_title_prefix.xml](http
|
||||
### Replace Commercial Partner
|
||||
ID: `mint_system.l10n_ch.l10n_ch_swissqr_template.replace_commercial_partner`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="l10n_ch.l10n_ch_swissqr_template" priority="50">
|
||||
<xpath expr="//div[@id='receipt_indication_zone']//span[@t-field='o.partner_id.commercial_partner_id.name']" position="replace">
|
||||
<span t-field="o.partner_id.name" />
|
||||
<span t-esc="o.partner_id.name or o.partner_id.parent_id.name"/>
|
||||
</xpath>
|
||||
<xpath expr="//div[@id='indications_zone']//span[@t-field='o.partner_id.commercial_partner_id.name']" position="replace">
|
||||
<span t-field="o.partner_id.name" />
|
||||
<span t-esc="o.partner_id.name or o.partner_id.parent_id.name"/>
|
||||
</xpath>
|
||||
</data>
|
||||
|
||||
```
|
||||
Source: [snippets/l10n_ch.l10n_ch_swissqr_template.replace_commercial_partner.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/l10n_ch.l10n_ch_swissqr_template.replace_commercial_partner.xml)
|
||||
|
||||
|
||||
@@ -4569,6 +4569,18 @@ ID: `mint_system.sale.view_order_tree.show_partner_shipping`
|
||||
```
|
||||
Source: [snippets/sale.view_order_tree.show_partner_shipping.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/sale.view_order_tree.show_partner_shipping.xml)
|
||||
|
||||
### Show Payment Term Id
|
||||
ID: `mint_system.sale.view_order_tree.show_payment_term_id`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="sale.view_order_tree" priority="50">
|
||||
<field name="state" position="after">
|
||||
<field name="payment_term_id" optional="hide"/>
|
||||
</field>
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/sale.view_order_tree.show_payment_term_id.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/sale.view_order_tree.show_payment_term_id.xml)
|
||||
|
||||
### Show State
|
||||
ID: `mint_system.sale.view_order_tree.show_state`
|
||||
```xml
|
||||
|
||||
Reference in new issue
Block a user