update docs
This commit is contained in:
1 parent
f41ae5e507
commit
d8fe70643a
15 files changed
+627
-4
No files matched your search
+1
-1
Submodule enterprise updated: a0fec1ef17...51a2ac264c.
Submodule
+1
Submodule oca/dms added at 4fc725f609.
Submodule
+1
Submodule oca/hr-attendance added at 0719b69513.
Submodule
+1
Submodule oca/l10n-switzerland added at 6ae4e3cd10.
Submodule
+1
Submodule oca/maintenance added at c7f19b9256.
@@ -198,6 +198,59 @@ ID: `mint_system.account.report_invoice_document.add_information_space`
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.add_information_space.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.add_information_space.xml)
|
||||
|
||||
### Add Note
|
||||
ID: `mint_system.account.report_invoice_document.add_note`
|
||||
```xml
|
||||
<data inherit_id="account.report_invoice_document" priority="50">
|
||||
|
||||
<xpath expr="//div[@name='comment']" position="replace">
|
||||
<div style="margin-top: 50px">
|
||||
|
||||
<div>
|
||||
<t t-if="not is_html_empty(o.narration)" name="narration">
|
||||
<span t-field="o.narration"/>
|
||||
</t>
|
||||
<t t-elif="o.partner_id.country_id.code == 'CH'">
|
||||
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
|
||||
<br/>
|
||||
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
|
||||
</t>
|
||||
<t t-elif="o.partner_id.country_id.code == 'DE'">
|
||||
<span style="font-weight: bold">EORI: DE379461566911068 / Incoterms: DAP</span>
|
||||
<br/>
|
||||
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
|
||||
<br/>
|
||||
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
|
||||
</t>
|
||||
<t t-elif="o.partner_id.country_id.code in ['GR', 'AL', 'HR', 'MNE', 'MC']">
|
||||
<span style="font-weight: bold">EORI: DE379461566911068 / Incoterms: Ex-works / Tax free intracommunity delivery acc. to UstG §6a.</span>
|
||||
<br/>
|
||||
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
|
||||
<br/>
|
||||
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
|
||||
</t>
|
||||
<t t-elif="o.partner_id.parent_id.country_id.country_group_ids and o.partner_id.parent_id.country_id.country_group_ids[0].id == 1">
|
||||
<span style="font-weight: bold">EORI: DE379461566911068 / Incoterms: DDP / Tax free intracommunity delivery acc. to UstG §6a.</span>
|
||||
<br/>
|
||||
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
|
||||
<br/>
|
||||
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
|
||||
</t>
|
||||
<t t-else="">
|
||||
<span style="font-weight: bold">Incoterms: Ex-works</span>
|
||||
<br/>
|
||||
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
|
||||
<br/>
|
||||
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.add_note.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.add_note.xml)
|
||||
|
||||
### Add Percentage Sign
|
||||
ID: `mint_system.account.report_invoice_document.add_percentage_sign`
|
||||
```xml
|
||||
@@ -781,6 +834,68 @@ ID: `mint_system.account.report_invoice_document.group_by_pickings`
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.group_by_pickings.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.group_by_pickings.xml)
|
||||
|
||||
### Group By Product
|
||||
ID: `mint_system.account.report_invoice_document.group_by_product`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="account.report_invoice_document" priority="50">
|
||||
|
||||
<xpath expr="//tbody" position="replace">
|
||||
|
||||
<tbody class="invoice_tbody">
|
||||
<t t-set="current_subtotal" t-value="0"/>
|
||||
<t t-set="lines" t-value="o.invoice_line_ids.sorted(key=lambda l: (-l.sequence, l.date, l.move_name, -l.id), reverse=True)"/>
|
||||
<t t-set="consolidated_products" t-value="{}"/>
|
||||
<t t-foreach="lines" t-as="line">
|
||||
<t t-set="current_subtotal" t-value="current_subtotal + line.price_subtotal" groups="account.group_show_line_subtotals_tax_excluded"/>
|
||||
<t t-set="current_subtotal" t-value="current_subtotal + line.price_total" groups="account.group_show_line_subtotals_tax_included"/>
|
||||
<t t-set="product_name" t-value="line.product_id.display_name"/>
|
||||
<t t-set="line_quantity" t-value="line.quantity"/>
|
||||
<t t-set="line_price_unit" t-value="line.price_unit"/>
|
||||
<t t-set="line_discount" t-value="line.discount"/>
|
||||
<t t-set="line_subtotal" t-value="line.price_subtotal"/>
|
||||
<t t-set="line_price_total" t-value="line.price_total"/>
|
||||
<t t-set="consolidated_product" t-value="consolidated_products.get(product_name, {'quantity': 0, 'price_unit': 0, 'discount': 0, 'subtotal': 0, 'price_total': 0})"/>
|
||||
<t t-set="consolidated_products" t-value="consolidated_products | dict({product_name: {'quantity': consolidated_product['quantity'] + line_quantity, 'price_unit': consolidated_product['price_unit'] + line_price_unit, 'discount': consolidated_product['discount'] + line_discount, 'subtotal': consolidated_product['subtotal'] + line_subtotal, 'price_total': consolidated_product['price_total'] + line_price_total}})"/>
|
||||
</t>
|
||||
|
||||
<tr t-att-class="'bg-200 fw-bold o_line_section' if line.display_type == 'line_section' else 'fst-italic o_line_note' if line.display_type == 'line_note' else ''">
|
||||
<t t-if="line.display_type == 'product'" name="account_invoice_line_accountable">
|
||||
<t t-foreach="consolidated_products.items()" t-as="product_data">
|
||||
<tr>
|
||||
<td name="account_invoice_line_name">
|
||||
<span t-esc="product_data[0]" t-options="{'widget': 'text'}"/>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<span t-esc="product_data[1]['quantity']" t-options="{'widget': 'float', 'precision': 2}"/>
|
||||
<span t-field="line.product_uom_id" groups="uom.group_uom"/>
|
||||
</td>
|
||||
<td t-attf-class="text-end {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}">
|
||||
<t t-set="unit_price" t-value="product_data[1]['subtotal'] / product_data[1]['quantity'] "/>
|
||||
<span class="text-nowrap" t-esc="unit_price" t-options="{'widget': 'float', 'precision': 3}"/>
|
||||
</td>
|
||||
<td t-if="display_discount" t-attf-class="text-end {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}">
|
||||
<span class="text-nowrap" t-esc="product_data[1]['discount']"/>
|
||||
</td>
|
||||
<td t-attf-class="text-start {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}">
|
||||
<span t-esc="', '.join(map(lambda x: (x.description or x.name), line.tax_ids))" id="line_tax_ids"/>
|
||||
</td>
|
||||
<td class="text-end o_price_total">
|
||||
<span class="text-nowrap" t-esc="product_data[1]['subtotal']" groups="account.group_show_line_subtotals_tax_excluded" t-options="{'widget': 'monetary', 'display_currency': o.currency_id}"/>
|
||||
<span class="text-nowrap" t-esc="product_data[1]['price_total']" groups="account.group_show_line_subtotals_tax_included"/>
|
||||
</td>
|
||||
</tr>
|
||||
</t>
|
||||
</t>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.group_by_product.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.group_by_product.xml)
|
||||
|
||||
### Group By Sale Order
|
||||
ID: `mint_system.account.report_invoice_document.group_by_sale_order`
|
||||
```xml
|
||||
@@ -2146,6 +2261,30 @@ ID: `mint_system.account.report_invoice_document.show_categ_id`
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.show_categ_id.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.show_categ_id.xml)
|
||||
|
||||
### Show Credit Note
|
||||
ID: `mint_system.account.report_invoice_document.show_credit_note`
|
||||
```xml
|
||||
<data inherit_id="account.report_invoice_document" priority="60">
|
||||
|
||||
<p name="payment_communication" position="before">
|
||||
<t t-if="print_with_payments and (o.payment_state != 'invoicing_legacy')">
|
||||
<t t-set="payments_vals"
|
||||
t-value="o.sudo().invoice_payments_widget and o.sudo().invoice_payments_widget['content'] or []" />
|
||||
<t t-foreach="payments_vals" t-as="payment_vals">
|
||||
<t t-set="move_id" t-value="o.browse(payment_vals['move_id'])" />
|
||||
<t t-if="move_id.move_type == 'out_refund'">
|
||||
<p><span>This invoice has been paid with a customer credit </span>(<span
|
||||
t-field="move_id.name" />). <span>The residual amount of this credit is </span><span
|
||||
t-field="move_id.amount_residual" />.</p>
|
||||
</t>
|
||||
</t>
|
||||
</t>
|
||||
</p>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.show_credit_note.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.show_credit_note.xml)
|
||||
|
||||
### Show Customer Info Product Code
|
||||
ID: `mint_system.account.report_invoice_document.show_customer_info_product_code`
|
||||
```xml
|
||||
@@ -2432,6 +2571,19 @@ ID: `mint_system.account.report_invoice_document.style_moser`
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.style_moser.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.style_moser.xml)
|
||||
|
||||
### Style Swissfragrance
|
||||
ID: `mint_system.account.report_invoice_document.style_swissfragrance`
|
||||
```xml
|
||||
<data inherit_id="account.report_invoice_document" priority="60">
|
||||
|
||||
<xpath expr="//table[@name='invoice_line_table']" position="attributes">
|
||||
<attribute name="class">table table-sm o_main_table</attribute>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.style_swissfragrance.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.style_swissfragrance.xml)
|
||||
|
||||
### Style Tissa
|
||||
ID: `mint_system.account.report_invoice_document.style_tissa`
|
||||
```xml
|
||||
@@ -2971,6 +3123,59 @@ ID: `mint_system.account.report_invoice_document.add_information_space`
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.add_information_space.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.add_information_space.xml)
|
||||
|
||||
### Add Note
|
||||
ID: `mint_system.account.report_invoice_document.add_note`
|
||||
```xml
|
||||
<data inherit_id="account.report_invoice_document" priority="50">
|
||||
|
||||
<xpath expr="//div[@name='comment']" position="replace">
|
||||
<div style="margin-top: 50px">
|
||||
|
||||
<div>
|
||||
<t t-if="not is_html_empty(o.narration)" name="narration">
|
||||
<span t-field="o.narration"/>
|
||||
</t>
|
||||
<t t-elif="o.partner_id.country_id.code == 'CH'">
|
||||
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
|
||||
<br/>
|
||||
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
|
||||
</t>
|
||||
<t t-elif="o.partner_id.country_id.code == 'DE'">
|
||||
<span style="font-weight: bold">EORI: DE379461566911068 / Incoterms: DAP</span>
|
||||
<br/>
|
||||
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
|
||||
<br/>
|
||||
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
|
||||
</t>
|
||||
<t t-elif="o.partner_id.country_id.code in ['GR', 'AL', 'HR', 'MNE', 'MC']">
|
||||
<span style="font-weight: bold">EORI: DE379461566911068 / Incoterms: Ex-works / Tax free intracommunity delivery acc. to UstG §6a.</span>
|
||||
<br/>
|
||||
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
|
||||
<br/>
|
||||
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
|
||||
</t>
|
||||
<t t-elif="o.partner_id.parent_id.country_id.country_group_ids and o.partner_id.parent_id.country_id.country_group_ids[0].id == 1">
|
||||
<span style="font-weight: bold">EORI: DE379461566911068 / Incoterms: DDP / Tax free intracommunity delivery acc. to UstG §6a.</span>
|
||||
<br/>
|
||||
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
|
||||
<br/>
|
||||
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
|
||||
</t>
|
||||
<t t-else="">
|
||||
<span style="font-weight: bold">Incoterms: Ex-works</span>
|
||||
<br/>
|
||||
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
|
||||
<br/>
|
||||
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.add_note.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.add_note.xml)
|
||||
|
||||
### Add Percentage Sign
|
||||
ID: `mint_system.account.report_invoice_document.add_percentage_sign`
|
||||
```xml
|
||||
@@ -3554,6 +3759,68 @@ ID: `mint_system.account.report_invoice_document.group_by_pickings`
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.group_by_pickings.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.group_by_pickings.xml)
|
||||
|
||||
### Group By Product
|
||||
ID: `mint_system.account.report_invoice_document.group_by_product`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="account.report_invoice_document" priority="50">
|
||||
|
||||
<xpath expr="//tbody" position="replace">
|
||||
|
||||
<tbody class="invoice_tbody">
|
||||
<t t-set="current_subtotal" t-value="0"/>
|
||||
<t t-set="lines" t-value="o.invoice_line_ids.sorted(key=lambda l: (-l.sequence, l.date, l.move_name, -l.id), reverse=True)"/>
|
||||
<t t-set="consolidated_products" t-value="{}"/>
|
||||
<t t-foreach="lines" t-as="line">
|
||||
<t t-set="current_subtotal" t-value="current_subtotal + line.price_subtotal" groups="account.group_show_line_subtotals_tax_excluded"/>
|
||||
<t t-set="current_subtotal" t-value="current_subtotal + line.price_total" groups="account.group_show_line_subtotals_tax_included"/>
|
||||
<t t-set="product_name" t-value="line.product_id.display_name"/>
|
||||
<t t-set="line_quantity" t-value="line.quantity"/>
|
||||
<t t-set="line_price_unit" t-value="line.price_unit"/>
|
||||
<t t-set="line_discount" t-value="line.discount"/>
|
||||
<t t-set="line_subtotal" t-value="line.price_subtotal"/>
|
||||
<t t-set="line_price_total" t-value="line.price_total"/>
|
||||
<t t-set="consolidated_product" t-value="consolidated_products.get(product_name, {'quantity': 0, 'price_unit': 0, 'discount': 0, 'subtotal': 0, 'price_total': 0})"/>
|
||||
<t t-set="consolidated_products" t-value="consolidated_products | dict({product_name: {'quantity': consolidated_product['quantity'] + line_quantity, 'price_unit': consolidated_product['price_unit'] + line_price_unit, 'discount': consolidated_product['discount'] + line_discount, 'subtotal': consolidated_product['subtotal'] + line_subtotal, 'price_total': consolidated_product['price_total'] + line_price_total}})"/>
|
||||
</t>
|
||||
|
||||
<tr t-att-class="'bg-200 fw-bold o_line_section' if line.display_type == 'line_section' else 'fst-italic o_line_note' if line.display_type == 'line_note' else ''">
|
||||
<t t-if="line.display_type == 'product'" name="account_invoice_line_accountable">
|
||||
<t t-foreach="consolidated_products.items()" t-as="product_data">
|
||||
<tr>
|
||||
<td name="account_invoice_line_name">
|
||||
<span t-esc="product_data[0]" t-options="{'widget': 'text'}"/>
|
||||
</td>
|
||||
<td class="text-end">
|
||||
<span t-esc="product_data[1]['quantity']" t-options="{'widget': 'float', 'precision': 2}"/>
|
||||
<span t-field="line.product_uom_id" groups="uom.group_uom"/>
|
||||
</td>
|
||||
<td t-attf-class="text-end {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}">
|
||||
<t t-set="unit_price" t-value="product_data[1]['subtotal'] / product_data[1]['quantity'] "/>
|
||||
<span class="text-nowrap" t-esc="unit_price" t-options="{'widget': 'float', 'precision': 3}"/>
|
||||
</td>
|
||||
<td t-if="display_discount" t-attf-class="text-end {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}">
|
||||
<span class="text-nowrap" t-esc="product_data[1]['discount']"/>
|
||||
</td>
|
||||
<td t-attf-class="text-start {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}">
|
||||
<span t-esc="', '.join(map(lambda x: (x.description or x.name), line.tax_ids))" id="line_tax_ids"/>
|
||||
</td>
|
||||
<td class="text-end o_price_total">
|
||||
<span class="text-nowrap" t-esc="product_data[1]['subtotal']" groups="account.group_show_line_subtotals_tax_excluded" t-options="{'widget': 'monetary', 'display_currency': o.currency_id}"/>
|
||||
<span class="text-nowrap" t-esc="product_data[1]['price_total']" groups="account.group_show_line_subtotals_tax_included"/>
|
||||
</td>
|
||||
</tr>
|
||||
</t>
|
||||
</t>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.group_by_product.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.group_by_product.xml)
|
||||
|
||||
### Group By Sale Order
|
||||
ID: `mint_system.account.report_invoice_document.group_by_sale_order`
|
||||
```xml
|
||||
@@ -4919,6 +5186,30 @@ ID: `mint_system.account.report_invoice_document.show_categ_id`
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.show_categ_id.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.show_categ_id.xml)
|
||||
|
||||
### Show Credit Note
|
||||
ID: `mint_system.account.report_invoice_document.show_credit_note`
|
||||
```xml
|
||||
<data inherit_id="account.report_invoice_document" priority="60">
|
||||
|
||||
<p name="payment_communication" position="before">
|
||||
<t t-if="print_with_payments and (o.payment_state != 'invoicing_legacy')">
|
||||
<t t-set="payments_vals"
|
||||
t-value="o.sudo().invoice_payments_widget and o.sudo().invoice_payments_widget['content'] or []" />
|
||||
<t t-foreach="payments_vals" t-as="payment_vals">
|
||||
<t t-set="move_id" t-value="o.browse(payment_vals['move_id'])" />
|
||||
<t t-if="move_id.move_type == 'out_refund'">
|
||||
<p><span>This invoice has been paid with a customer credit </span>(<span
|
||||
t-field="move_id.name" />). <span>The residual amount of this credit is </span><span
|
||||
t-field="move_id.amount_residual" />.</p>
|
||||
</t>
|
||||
</t>
|
||||
</t>
|
||||
</p>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.show_credit_note.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.show_credit_note.xml)
|
||||
|
||||
### Show Customer Info Product Code
|
||||
ID: `mint_system.account.report_invoice_document.show_customer_info_product_code`
|
||||
```xml
|
||||
@@ -5205,6 +5496,19 @@ ID: `mint_system.account.report_invoice_document.style_moser`
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.style_moser.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.style_moser.xml)
|
||||
|
||||
### Style Swissfragrance
|
||||
ID: `mint_system.account.report_invoice_document.style_swissfragrance`
|
||||
```xml
|
||||
<data inherit_id="account.report_invoice_document" priority="60">
|
||||
|
||||
<xpath expr="//table[@name='invoice_line_table']" position="attributes">
|
||||
<attribute name="class">table table-sm o_main_table</attribute>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/account.report_invoice_document.style_swissfragrance.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.report_invoice_document.style_swissfragrance.xml)
|
||||
|
||||
### Style Tissa
|
||||
ID: `mint_system.account.report_invoice_document.style_tissa`
|
||||
```xml
|
||||
@@ -6075,6 +6379,20 @@ ID: `mint_system.account.view_move_form.show_line_partner_id`
|
||||
```
|
||||
Source: [snippets/account.view_move_form.show_line_partner_id.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.view_move_form.show_line_partner_id.xml)
|
||||
|
||||
### Show Partner Id
|
||||
ID: `mint_system.account.view_move_form.show_partner_id`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="account.view_move_form" priority="50" >
|
||||
|
||||
<xpath expr="//field[@name='invoice_line_ids']/tree/field[@name='partner_id']" position="replace">
|
||||
<field name="partner_id" optional="hide"/>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/account.view_move_form.show_partner_id.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.view_move_form.show_partner_id.xml)
|
||||
|
||||
### Show Payment Ids
|
||||
ID: `mint_system.account.view_move_form.show_payment_ids`
|
||||
```xml
|
||||
@@ -6145,6 +6463,21 @@ ID: `mint_system.account.view_move_form.show_stock_move_line_ids`
|
||||
```
|
||||
Source: [snippets/account.view_move_form.show_stock_move_line_ids.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.view_move_form.show_stock_move_line_ids.xml)
|
||||
|
||||
### Show Tax Line Id
|
||||
ID: `mint_system.account.view_move_form.show_tax_line_id`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="account.view_move_form" priority="50" >
|
||||
|
||||
<field name="tax_line_id" position="attributes">
|
||||
<attribute name="invisible">0</attribute>
|
||||
<attribute name="optional">hide</attribute>
|
||||
</field>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/account.view_move_form.show_tax_line_id.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.view_move_form.show_tax_line_id.xml)
|
||||
|
||||
### Show User Id
|
||||
ID: `mint_system.account.view_move_form.show_user_id`
|
||||
```xml
|
||||
@@ -6159,6 +6492,20 @@ ID: `mint_system.account.view_move_form.show_user_id`
|
||||
```
|
||||
Source: [snippets/account.view_move_form.show_user_id.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.view_move_form.show_user_id.xml)
|
||||
|
||||
### X Bexio Name
|
||||
ID: `mint_system.account.view_move_form.x_bexio_name`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="account.view_move_form" priority="50">
|
||||
|
||||
<xpath expr="//group[@id='header_left_group']/label[1]" position="before">
|
||||
<field name="x_bexio_name"/>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/account.view_move_form.x_bexio_name.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/account.view_move_form.x_bexio_name.xml)
|
||||
|
||||
### X Duplicate Found
|
||||
ID: `mint_system.account.view_move_form.x_duplicate_found`
|
||||
```xml
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
<data inherit_id="account.report_invoice_document" priority="60">
|
||||
|
||||
<p name="payment_communication" position="before">
|
||||
<t t-if="print_with_payments and (o.payment_state != 'invoicing_legacy')">
|
||||
<t t-set="payments_vals"
|
||||
t-value="o.sudo().invoice_payments_widget and o.sudo().invoice_payments_widget['content'] or []" />
|
||||
<t t-foreach="payments_vals" t-as="payment_vals">
|
||||
<t t-set="move_id" t-value="o.browse(payment_vals['move_id'])" />
|
||||
<t t-if="move_id.move_type == 'out_refund'">
|
||||
<p><span>This invoice has been paid with a customer credit </span>(<span
|
||||
t-field="move_id.name" />). <span>The residual amount of this credit is </span><span
|
||||
t-field="move_id.amount_residual" />.</p>
|
||||
</t>
|
||||
</t>
|
||||
</t>
|
||||
</p>
|
||||
|
||||
</data>
|
||||
@@ -126,6 +126,21 @@ ID: `mint_system.hr_timesheet.hr_timesheet_line_tree.options_enable_open`
|
||||
```
|
||||
Source: [snippets/hr_timesheet.hr_timesheet_line_tree.options_enable_open.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/hr_timesheet.hr_timesheet_line_tree.options_enable_open.xml)
|
||||
|
||||
### Show Helpdesk Ticket Id
|
||||
ID: `mint_system.hr_timesheet.hr_timesheet_line_tree.show_helpdesk_ticket_id`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="hr_timesheet.hr_timesheet_line_tree" priority="50">
|
||||
|
||||
<xpath expr="//field[@name='task_id']" position="after">
|
||||
<field name="helpdesk_ticket_id" optional="hide" />
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
|
||||
```
|
||||
Source: [snippets/hr_timesheet.hr_timesheet_line_tree.show_helpdesk_ticket_id.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/hr_timesheet.hr_timesheet_line_tree.show_helpdesk_ticket_id.xml)
|
||||
|
||||
### Show Partner Id
|
||||
ID: `mint_system.hr_timesheet.hr_timesheet_line_tree.show_partner_id`
|
||||
```xml
|
||||
|
||||
@@ -9,8 +9,7 @@
|
||||
<field name="store" eval="True"/>
|
||||
<field name="readonly" eval="False"/>
|
||||
<field name="copied" eval="False"/>
|
||||
<field name="ttype">char</field>
|
||||
</field>
|
||||
<field name="ttype">char</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
@@ -159,6 +159,28 @@ ID: `mint_system.ir_model.account_move.x_account_codes`
|
||||
```
|
||||
Source: [snippets/ir_model.account_move.x_account_codes.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/ir_model.account_move.x_account_codes.xml)
|
||||
|
||||
### X Bexio Name
|
||||
ID: `mint_system.ir_model.account_move.x_bexio_name`
|
||||
```xml
|
||||
<?xml version='1.0' encoding='UTF-8' ?>
|
||||
<odoo>
|
||||
|
||||
<record id="x_bexio_name" model="ir.model.fields">
|
||||
<field name="field_description">Bexio Name</field>
|
||||
<field name="model">account.move</field>
|
||||
<field name="model_id" ref="account.model_account_move"/>
|
||||
<field name="name">x_bexio_name</field>
|
||||
<field name="store" eval="True"/>
|
||||
<field name="readonly" eval="False"/>
|
||||
<field name="copied" eval="False"/>
|
||||
<field name="ttype">char</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
```
|
||||
Source: [snippets/ir_model.account_move.x_bexio_name.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/ir_model.account_move.x_bexio_name.xml)
|
||||
|
||||
### X Date Done
|
||||
ID: `mint_system.ir_model.account_move.x_date_done`
|
||||
```xml
|
||||
@@ -2605,6 +2627,28 @@ ID: `mint_system.ir_model.sale_order.x_as4import`
|
||||
```
|
||||
Source: [snippets/ir_model.sale_order.x_as4import.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/ir_model.sale_order.x_as4import.xml)
|
||||
|
||||
### X Bexioid
|
||||
ID: `mint_system.ir_model.sale_order.x_bexioid`
|
||||
```xml
|
||||
<?xml version='1.0' encoding='UTF-8' ?>
|
||||
<odoo>
|
||||
|
||||
<record id="x_bexioid" model="ir.model.fields">
|
||||
<field name="domain">[]</field>
|
||||
<field name="field_description">Bexio ID</field>
|
||||
<field name="model">sale.order</field>
|
||||
<field name="model_id" ref="base.model_res_partner"/>
|
||||
<field name="name">x_bexioid</field>
|
||||
<field name="store" eval="True"/>
|
||||
<field name="readonly" eval="False"/>
|
||||
<field name="copied" eval="True"/>
|
||||
<field name="ttype">integer</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
```
|
||||
Source: [snippets/ir_model.sale_order.x_bexioid.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/ir_model.sale_order.x_bexioid.xml)
|
||||
|
||||
### X Client Project Ref
|
||||
ID: `mint_system.ir_model.sale_order.x_client_project_ref`
|
||||
```xml
|
||||
@@ -3167,6 +3211,53 @@ ID: `mint_system.ir_model.stock_picking.x_date_order`
|
||||
```
|
||||
Source: [snippets/ir_model.stock_picking.x_date_order.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/ir_model.stock_picking.x_date_order.xml)
|
||||
|
||||
### X Origin And Partner Id
|
||||
ID: `mint_system.ir_model.stock_picking.x_origin_and_partner_id`
|
||||
```xml
|
||||
<?xml version='1.0' encoding='UTF-8' ?>
|
||||
<odoo>
|
||||
|
||||
<record id="x_origin_and_partner_id" model="ir.model.fields">
|
||||
<field name="field_description">Herkunft und Partner</field>
|
||||
<field name="model">stock.picking</field>
|
||||
<field name="model_id" ref="stock.model_stock_picking"/>
|
||||
<field name="name">x_sale_id_partner_id</field>
|
||||
<field name="store" eval="True"/>
|
||||
<field name="readonly" eval="False"/>
|
||||
<field name="copied" eval="False"/>
|
||||
<field name="ttype">char</field>
|
||||
<field name="related">sale_id.partner_id.name</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
```
|
||||
Source: [snippets/ir_model.stock_picking.x_origin_and_partner_id.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/ir_model.stock_picking.x_origin_and_partner_id.xml)
|
||||
|
||||
### X Origin
|
||||
ID: `mint_system.ir_model.stock_picking.x_origin`
|
||||
```xml
|
||||
<?xml version='1.0' encoding='UTF-8' ?>
|
||||
<odoo>
|
||||
|
||||
<record id="x_origin" model="ir.model.fields">
|
||||
<field name="field_description">Herkunft</field>
|
||||
<field name="model">stock.picking</field>
|
||||
<field name="model_id" ref="stock.model_stock_picking"/>
|
||||
<field name="name">x_sale_id_partner_id</field>
|
||||
<field name="store" eval="False"/>
|
||||
<field name="readonly" eval="True"/>
|
||||
<field name="copied" eval="False"/>
|
||||
<field name="ttype">text</field>
|
||||
<field name="depfends">origin</field>
|
||||
for record in self:
|
||||
if record.origin and isinstance(record.origin, str) and record.x_origin_and_partner_id is not None:
|
||||
record['x_origin'] = record.origin + ', ' + record.x_origin_and_partner_id
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
```
|
||||
Source: [snippets/ir_model.stock_picking.x_origin.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/ir_model.stock_picking.x_origin.xml)
|
||||
|
||||
### X Vst
|
||||
ID: `mint_system.ir_model.stock_picking.x_vst`
|
||||
```xml
|
||||
|
||||
@@ -175,6 +175,20 @@ ID: `mint_system.purchase.purchase_order_form.relocate_product_qty_and_uom`
|
||||
```
|
||||
Source: [snippets/purchase.purchase_order_form.relocate_product_qty_and_uom.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/purchase.purchase_order_form.relocate_product_qty_and_uom.xml)
|
||||
|
||||
### Remove Optional Qty Received
|
||||
ID: `mint_system.purchase.purchase_order_form.remove_optional_qty_received`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="purchase.purchase_order_form" priority="50">
|
||||
|
||||
<xpath expr="//field[@name='qty_received']" position="attributes">
|
||||
<attribute name="optional"></attribute>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/purchase.purchase_order_form.remove_optional_qty_received.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/purchase.purchase_order_form.remove_optional_qty_received.xml)
|
||||
|
||||
### Show Dest Address Id
|
||||
ID: `mint_system.purchase.purchase_order_form.show_dest_address_id`
|
||||
```xml
|
||||
|
||||
@@ -2684,6 +2684,29 @@ ID: `mint_system.sale.report_saleorder_document.show_categ_id`
|
||||
```
|
||||
Source: [snippets/sale.report_saleorder_document.show_categ_id.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/sale.report_saleorder_document.show_categ_id.xml)
|
||||
|
||||
### Show Comment
|
||||
ID: `mint_system.sale.report_saleorder_document.show_comment`
|
||||
```xml
|
||||
<data inherit_id="sale.report_saleorder_document" priority="50">
|
||||
|
||||
<!-- <p name="order_note" position="before">
|
||||
<p>
|
||||
<strong>Remark:</strong>
|
||||
<span t-field="doc.comment" name="order_note" />
|
||||
</p>
|
||||
</p> -->
|
||||
|
||||
<div id="informations" position="inside">
|
||||
<div t-if="doc.comment" class="col-auto col-3 mw-100 mb-2">
|
||||
<strong>Remark:</strong>
|
||||
<p class="m-0" t-field="doc.comment"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/sale.report_saleorder_document.show_comment.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/sale.report_saleorder_document.show_comment.xml)
|
||||
|
||||
### Show Default Code
|
||||
ID: `mint_system.sale.report_saleorder_document.show_default_code`
|
||||
```xml
|
||||
@@ -3650,6 +3673,20 @@ ID: `mint_system.sale.view_order_form.add_blanket_order_id`
|
||||
```
|
||||
Source: [snippets/sale.view_order_form.add_blanket_order_id.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/sale.view_order_form.add_blanket_order_id.xml)
|
||||
|
||||
### Add Picking Policy
|
||||
ID: `mint_system.sale.view_order_form.add_picking_policy`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="sale.view_order_form" priority="50">
|
||||
|
||||
<xpath expr="//page[@name='other_information']//field[@name='user_id']" position="before">
|
||||
<field name="picking_policy"/>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/sale.view_order_form.add_picking_policy.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/sale.view_order_form.add_picking_policy.xml)
|
||||
|
||||
### Button Recompute Add Shipping
|
||||
ID: `mint_system.sale.view_order_form.button_recompute_add_shipping`
|
||||
```xml
|
||||
@@ -4013,6 +4050,20 @@ ID: `mint_system.sale.view_order_form.show_order_line_project_id`
|
||||
```
|
||||
Source: [snippets/sale.view_order_form.show_order_line_project_id.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/sale.view_order_form.show_order_line_project_id.xml)
|
||||
|
||||
### Show Order Line State
|
||||
ID: `mint_system.sale.view_order_form.show_order_line_state`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="sale.view_order_form" priority="50">
|
||||
|
||||
<xpath expr="//field[@name='order_line']/tree/field[@name='product_id']" position="after">
|
||||
<field name="state" optional="hide" />
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/sale.view_order_form.show_order_line_state.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/sale.view_order_form.show_order_line_state.xml)
|
||||
|
||||
### Show Order Line Subscription Id
|
||||
ID: `mint_system.sale.view_order_form.show_order_line_subscription_id`
|
||||
```xml
|
||||
|
||||
+58
-1
@@ -1406,7 +1406,10 @@ ID: `mint_system.stock.report_delivery_document.add_note`
|
||||
<div style="margin-top: 50px">
|
||||
|
||||
<div>
|
||||
<t t-if="o.partner_id.parent_id.country_id.code == 'CH'">
|
||||
<t t-if="not is_html_empty(o.note)" name="note">
|
||||
<span t-field="o.note"/>
|
||||
</t>
|
||||
<t t-elif="o.partner_id.parent_id.country_id.code == 'CH'">
|
||||
<span>The exporter of the products covered by this document declares that, except where otherwise clearly indicated, these products are of swiss preferential origin.</span>
|
||||
<br/>
|
||||
<span style="font-style: italic">"The total quantity of delivered products is missing from delivery note"</span>
|
||||
@@ -1442,6 +1445,8 @@ ID: `mint_system.stock.report_delivery_document.add_note`
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<span t-escape="o.partner_id.parent_id"/>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
@@ -7030,6 +7035,20 @@ ID: `mint_system.stock.view_move_tree.x_picking_partner`
|
||||
Source: [snippets/stock.view_move_tree.x_picking_partner.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/stock.view_move_tree.x_picking_partner.xml)
|
||||
|
||||
## View Picking Form
|
||||
### Modify Invisible Button Validate
|
||||
ID: `mint_system.stock.view_picking_form.modify_invisible_button_validate`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="stock.view_picking_form" priority="50">
|
||||
|
||||
<xpath expr="//button[@name='button_validate']" position="attributes">
|
||||
<attribute name="attrs">{'invisible': ['|', '|', ('state', 'in', ('waiting','confirmed')), ('show_validate', '=', False), ('started', '=', False)]}</attribute>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/stock.view_picking_form.modify_invisible_button_validate.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/stock.view_picking_form.modify_invisible_button_validate.xml)
|
||||
|
||||
### Modify Readonly Date Done
|
||||
ID: `mint_system.stock.view_picking_form.modify_readonly_date_done`
|
||||
```xml
|
||||
@@ -7072,6 +7091,20 @@ ID: `mint_system.stock.view_picking_form.modify_readonly_user_id`
|
||||
```
|
||||
Source: [snippets/stock.view_picking_form.modify_readonly_user_id.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/stock.view_picking_form.modify_readonly_user_id.xml)
|
||||
|
||||
### Move Detailed Operations Page
|
||||
ID: `mint_system.stock.view_picking_form.move_detailed_operations_page`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="stock.view_picking_form" priority="50">
|
||||
|
||||
<xpath expr="//page[@name='detailed_operations']" position="before">
|
||||
<xpath expr="//page[@name='operations']" position="move"/>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/stock.view_picking_form.move_detailed_operations_page.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/stock.view_picking_form.move_detailed_operations_page.xml)
|
||||
|
||||
### Scheduled Date Readonly
|
||||
ID: `mint_system.stock.view_picking_form.scheduled_date_readonly`
|
||||
```xml
|
||||
@@ -7508,6 +7541,18 @@ ID: `mint_system.stock.vpicktree.show_delivery_note`
|
||||
```
|
||||
Source: [snippets/stock.vpicktree.show_delivery_note.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/stock.vpicktree.show_delivery_note.xml)
|
||||
|
||||
### Started
|
||||
ID: `mint_system.stock.vpicktree.started`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="stock.vpicktree" priority="50">
|
||||
<xpath expr="//field[@name='origin']" position="after">
|
||||
<field name="started"/>
|
||||
</xpath>
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/stock.vpicktree.started.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/stock.vpicktree.started.xml)
|
||||
|
||||
### Weight Sum
|
||||
ID: `mint_system.stock.vpicktree.weight_sum`
|
||||
```xml
|
||||
@@ -7547,6 +7592,18 @@ ID: `mint_system.stock.vpicktree.x_date_order`
|
||||
```
|
||||
Source: [snippets/stock.vpicktree.x_date_order.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/stock.vpicktree.x_date_order.xml)
|
||||
|
||||
### X Origin
|
||||
ID: `mint_system.stock.vpicktree.x_origin`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="stock.vpicktree" priority="50">
|
||||
<xpath expr="//field[@name='x_origin']" position="replace">
|
||||
<field name="x_origin"/>
|
||||
</xpath>
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/stock.vpicktree.x_origin.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/stock.vpicktree.x_origin.xml)
|
||||
|
||||
### X Vst
|
||||
ID: `mint_system.stock.vpicktree.x_vst`
|
||||
```xml
|
||||
|
||||
@@ -438,6 +438,20 @@ ID: `mint_system.web.external_layout_standard.remove_header_address`
|
||||
```
|
||||
Source: [snippets/web.external_layout_standard.remove_header_address.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/web.external_layout_standard.remove_header_address.xml)
|
||||
|
||||
### Remove Header Space
|
||||
ID: `mint_system.web.external_layout_standard.remove_header_space`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="web.external_layout_standard" priority="50">
|
||||
|
||||
<xpath expr="//div[hasclass('pt-5')]" position="attributes">
|
||||
<attribute name="class"></attribute>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/web.external_layout_standard.remove_header_space.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/web.external_layout_standard.remove_header_space.xml)
|
||||
|
||||
### Replace Footer
|
||||
ID: `mint_system.web.external_layout_standard.replace_footer`
|
||||
```xml
|
||||
|
||||
@@ -210,6 +210,19 @@ ID: `mint_system.website_sale.product.show_product_material`
|
||||
Source: [snippets/website_sale.product.show_product_material.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/website_sale.product.show_product_material.xml)
|
||||
|
||||
## Products Item
|
||||
### Hide Price
|
||||
ID: `mint_system.website_sale.products_item.hide_price`
|
||||
```xml
|
||||
<data inherit_id="website_sale.products_item" priority="50">
|
||||
|
||||
<xpath expr="//div[hasclass('o_wsale_product_sub')]" position="attributes">
|
||||
<attribute name="t-if">request.session.uid</attribute>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/website_sale.products_item.hide_price.xml](https://github.com/Mint-System/Odoo-Build/tree/16.0/snippets/website_sale.products_item.hide_price.xml)
|
||||
|
||||
### Prefix Price
|
||||
ID: `mint_system.website_sale.products_item.prefix_price`
|
||||
```xml
|
||||
|
||||
Reference in new issue
Block a user