This commit is contained in:
Janik von Rotz committed 2023-08-16 12:18:16 +02:00
1 parent fb69d4d148
commit 71cb8a0a0d
48 files changed
+1007 -98

No files matched your search

+122
View File
@@ -2052,6 +2052,22 @@ ID: `mint_system.account.report_invoice_document.set_title_font_size`
```
Source: [snippets/account.report_invoice_document.set_title_font_size.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/account.report_invoice_document.set_title_font_size.xml)
### Show Categ Id
ID: `mint_system.account.report_invoice_document.show_categ_id`
```xml
<?xml version="1.0"?>
<data inherit_id="account.report_invoice_document" priority="50">
<xpath expr="//span[@t-field='line.name']" position="after">
<div>
<span t-field="line.product_id.categ_id"/>
</div>
</xpath>
</data>
```
Source: [snippets/account.report_invoice_document.show_categ_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/account.report_invoice_document.show_categ_id.xml)
### Show Customer Info Product Code
ID: `mint_system.account.report_invoice_document.show_customer_info_product_code`
```xml
@@ -2146,6 +2162,29 @@ ID: `mint_system.account.report_invoice_document.show_lot_ids`
```
Source: [snippets/account.report_invoice_document.show_lot_ids.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/account.report_invoice_document.show_lot_ids.xml)
### Show Order Id
ID: `mint_system.account.report_invoice_document.show_order_id`
```xml
<?xml version="1.0"?>
<data inherit_id="account.report_invoice_document" priority="60">
<xpath expr="//td[@name='account_invoice_line_name']" position="replace">
<td name="account_invoice_line_name">
<t t-if="not line.sale_line_ids.task_id.sale_line_id.order_id">
<span t-field="line.name" t-options="{'widget': 'text'}"/>
</t>
<t t-if="line.sale_line_ids.task_id.sale_line_id.order_id">
Dienstleistung gemäss Rapport # <span t-field="line.sale_line_ids.task_id.sale_line_id.order_id"/>
</t>
</td>
</xpath>
</data>
```
Source: [snippets/account.report_invoice_document.show_order_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/account.report_invoice_document.show_order_id.xml)
### Show Product Name
ID: `mint_system.account.report_invoice_document.show_product_name`
```xml
@@ -2167,6 +2206,28 @@ ID: `mint_system.account.report_invoice_document.show_product_name`
```
Source: [snippets/account.report_invoice_document.show_product_name.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/account.report_invoice_document.show_product_name.xml)
### Show Sale Line Ids
ID: `mint_system.account.report_invoice_document.show_sale_line_ids`
```xml
<?xml version="1.0"?>
<data inherit_id="account.report_invoice_document" priority="60">
<xpath expr="//table[@name='invoice_line_table']//th[@name='th_quantity']" position="after">
<th name="th_hs_code" class="text-right">
<span>H.S. Code</span>
</th>
</xpath>
<xpath expr="//table[@name='invoice_line_table']//span[@t-field='line.quantity']/.." position="after">
<td name="td_hs_code" class="text-right">
<span t-esc="line.product_id.intrastat_id.code"/>
</td>
</xpath>
</data>
```
Source: [snippets/account.report_invoice_document.show_sale_line_ids.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/account.report_invoice_document.show_sale_line_ids.xml)
### Show Shipping Address
ID: `mint_system.account.report_invoice_document.show_shipping_address`
```xml
@@ -4644,6 +4705,22 @@ ID: `mint_system.account.report_invoice_document.set_title_font_size`
```
Source: [snippets/account.report_invoice_document.set_title_font_size.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/account.report_invoice_document.set_title_font_size.xml)
### Show Categ Id
ID: `mint_system.account.report_invoice_document.show_categ_id`
```xml
<?xml version="1.0"?>
<data inherit_id="account.report_invoice_document" priority="50">
<xpath expr="//span[@t-field='line.name']" position="after">
<div>
<span t-field="line.product_id.categ_id"/>
</div>
</xpath>
</data>
```
Source: [snippets/account.report_invoice_document.show_categ_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/account.report_invoice_document.show_categ_id.xml)
### Show Customer Info Product Code
ID: `mint_system.account.report_invoice_document.show_customer_info_product_code`
```xml
@@ -4738,6 +4815,29 @@ ID: `mint_system.account.report_invoice_document.show_lot_ids`
```
Source: [snippets/account.report_invoice_document.show_lot_ids.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/account.report_invoice_document.show_lot_ids.xml)
### Show Order Id
ID: `mint_system.account.report_invoice_document.show_order_id`
```xml
<?xml version="1.0"?>
<data inherit_id="account.report_invoice_document" priority="60">
<xpath expr="//td[@name='account_invoice_line_name']" position="replace">
<td name="account_invoice_line_name">
<t t-if="not line.sale_line_ids.task_id.sale_line_id.order_id">
<span t-field="line.name" t-options="{'widget': 'text'}"/>
</t>
<t t-if="line.sale_line_ids.task_id.sale_line_id.order_id">
Dienstleistung gemäss Rapport # <span t-field="line.sale_line_ids.task_id.sale_line_id.order_id"/>
</t>
</td>
</xpath>
</data>
```
Source: [snippets/account.report_invoice_document.show_order_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/account.report_invoice_document.show_order_id.xml)
### Show Product Name
ID: `mint_system.account.report_invoice_document.show_product_name`
```xml
@@ -4759,6 +4859,28 @@ ID: `mint_system.account.report_invoice_document.show_product_name`
```
Source: [snippets/account.report_invoice_document.show_product_name.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/account.report_invoice_document.show_product_name.xml)
### Show Sale Line Ids
ID: `mint_system.account.report_invoice_document.show_sale_line_ids`
```xml
<?xml version="1.0"?>
<data inherit_id="account.report_invoice_document" priority="60">
<xpath expr="//table[@name='invoice_line_table']//th[@name='th_quantity']" position="after">
<th name="th_hs_code" class="text-right">
<span>H.S. Code</span>
</th>
</xpath>
<xpath expr="//table[@name='invoice_line_table']//span[@t-field='line.quantity']/.." position="after">
<td name="td_hs_code" class="text-right">
<span t-esc="line.product_id.intrastat_id.code"/>
</td>
</xpath>
</data>
```
Source: [snippets/account.report_invoice_document.show_sale_line_ids.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/account.report_invoice_document.show_sale_line_ids.xml)
### Show Shipping Address
ID: `mint_system.account.report_invoice_document.show_shipping_address`
```xml
@@ -4,8 +4,8 @@
<xpath expr="//p[@name='incoterm']" position="replace"/>
<xpath expr="//p[2]" position="after">
<p t-if="o.invoice_incoterm_id" name="incoterm">Incoterm:
<strong t-field="o.invoice_incoterm_id.code"/>
- <strong t-field="o.invoice_incoterm_id.name"/>
<strong t-field="o.invoice_incoterm_id.display_name"/>
</p>
</xpath>
</data>
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<data inherit_id="account.report_invoice_document" priority="50">
<xpath expr="//span[@t-field='line.name']" position="after">
<div>
<span t-field="line.product_id.categ_id"/>
</div>
</xpath>
</data>
@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<data inherit_id="account.report_invoice_document" priority="60">
<xpath expr="//td[@name='account_invoice_line_name']" position="replace">
<td name="account_invoice_line_name">
<t t-if="not line.sale_line_ids.task_id.sale_line_id.order_id">
<span t-field="line.name" t-options="{'widget': 'text'}"/>
</t>
<t t-if="line.sale_line_ids.task_id.sale_line_id.order_id">
Dienstleistung gemäss Rapport # <span t-field="line.sale_line_ids.task_id.sale_line_id.order_id"/>
</t>
</td>
</xpath>
</data>
@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<data inherit_id="account.report_invoice_document" priority="60">
<xpath expr="//table[@name='invoice_line_table']//th[@name='th_quantity']" position="after">
<th name="th_hs_code" class="text-right">
<span>H.S. Code</span>
</th>
</xpath>
<xpath expr="//table[@name='invoice_line_table']//span[@t-field='line.quantity']/.." position="after">
<td name="td_hs_code" class="text-right">
<span t-esc="line.product_id.intrastat_id.code"/>
</td>
</xpath>
</data>
+84
View File
@@ -322,6 +322,21 @@ ID: `mint_system.base.view_partner_form.move_ref`
```
Source: [snippets/base.view_partner_form.move_ref.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/base.view_partner_form.move_ref.xml)
### Show Color
ID: `mint_system.base.view_partner_form.show_color`
```xml
<?xml version="1.0"?>
<data inherit_id="base.view_partner_form" priority="50">
<xpath expr="//field[@name='category_id']" position="after">
<field name="color" widget="color_picker"/>
</xpath>
</data>
```
Source: [snippets/base.view_partner_form.show_color.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/base.view_partner_form.show_color.xml)
### Show Industry
ID: `mint_system.base.view_partner_form.show_industry`
```xml
@@ -337,6 +352,21 @@ ID: `mint_system.base.view_partner_form.show_industry`
```
Source: [snippets/base.view_partner_form.show_industry.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/base.view_partner_form.show_industry.xml)
### Show Type
ID: `mint_system.base.view_partner_form.show_type`
```xml
<?xml version="1.0"?>
<data inherit_id="base.view_partner_form" priority="50">
<xpath expr="//field[@name='category_id']" position="after">
<field name="type"/>
</xpath>
</data>
```
Source: [snippets/base.view_partner_form.show_type.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/base.view_partner_form.show_type.xml)
### Show User Id
ID: `mint_system.base.view_partner_form.show_user_id`
```xml
@@ -494,6 +524,15 @@ ID: `mint_system.base.view_partner_tree.add_ref_zip_type`
```
Source: [snippets/base.view_partner_tree.add_ref_zip_type.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/base.view_partner_tree.add_ref_zip_type.xml)
### Format Decoration
ID: `mint_system.base.view_partner_tree.format_decoration`
```xml
<xpath expr="//field[@name='display_name']" position="attributes">
<attribute name="decoration-bf">is_company</attribute>
</xpath>
```
Source: [snippets/base.view_partner_tree.format_decoration.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/base.view_partner_tree.format_decoration.xml)
### Move Zip And City
ID: `mint_system.base.view_partner_tree.move_zip_and_city`
```xml
@@ -602,6 +641,51 @@ ID: `mint_system.base.view_partner_tree.show_type`
```
Source: [snippets/base.view_partner_tree.show_type.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/base.view_partner_tree.show_type.xml)
### X Bexioid
ID: `mint_system.base.view_partner_tree.x_bexioid`
```xml
<?xml version="1.0"?>
<data inherit_id="base.view_partner_tree" priority="50">
<field name="active" position="after">
<field name="x_bexioid" optional="hide"/>
</field>
</data>
```
Source: [snippets/base.view_partner_tree.x_bexioid.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/base.view_partner_tree.x_bexioid.xml)
### X Global Location Number
ID: `mint_system.base.view_partner_tree.x_global_location_number`
```xml
<?xml version="1.0"?>
<data inherit_id="base.view_partner_tree" priority="60">
<field name="active" position="after">
<field name="x_global_location_number" optional="hide"/>
</field>
</data>
```
Source: [snippets/base.view_partner_tree.x_global_location_number.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/base.view_partner_tree.x_global_location_number.xml)
### X Vst
ID: `mint_system.base.view_partner_tree.x_vst`
```xml
<?xml version="1.0"?>
<data inherit_id="base.view_partner_tree" priority="60">
<field name="active" position="after">
<field name="x_vst" optional="hide"/>
</field>
</data>
```
Source: [snippets/base.view_partner_tree.x_vst.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/base.view_partner_tree.x_vst.xml)
## View Res Bank Tree
### Add Zip
ID: `mint_system.base.view_res_bank_tree.add_zip`
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<data inherit_id="base.view_partner_form" priority="50">
<xpath expr="//field[@name='category_id']" position="after">
<field name="color" widget="color_picker"/>
</xpath>
</data>
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<data inherit_id="base.view_partner_form" priority="50">
<xpath expr="//field[@name='category_id']" position="after">
<field name="type"/>
</xpath>
</data>
@@ -0,0 +1,3 @@
<xpath expr="//field[@name='display_name']" position="attributes">
<attribute name="decoration-bf">is_company</attribute>
</xpath>
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<data inherit_id="base.view_partner_tree" priority="50">
<field name="active" position="after">
<field name="x_bexioid" optional="hide"/>
</field>
</data>
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<data inherit_id="base.view_partner_tree" priority="60">
<field name="active" position="after">
<field name="x_global_location_number" optional="hide"/>
</field>
</data>
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<data inherit_id="base.view_partner_tree" priority="60">
<field name="active" position="after">
<field name="x_vst" optional="hide"/>
</field>
</data>
+105
View File
@@ -15,6 +15,21 @@ ID: `mint_system.calendar.view_calendar_event_calendar.default_mode_week`
```
Source: [snippets/calendar.view_calendar_event_calendar.default_mode_week.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/calendar.view_calendar_event_calendar.default_mode_week.xml)
### Set Color
ID: `mint_system.calendar.view_calendar_event_calendar.set_color`
```xml
<?xml version='1.0' encoding='UTF-8' ?>
<odoo>
<xpath expr="//calendar" position="attributes">
<attribute name="color">user_id</attribute>
</xpath>
</odoo>
```
Source: [snippets/calendar.view_calendar_event_calendar.set_color.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/calendar.view_calendar_event_calendar.set_color.xml)
### Show Location
ID: `mint_system.calendar.view_calendar_event_calendar.show_location`
```xml
@@ -30,6 +45,21 @@ ID: `mint_system.calendar.view_calendar_event_calendar.show_location`
```
Source: [snippets/calendar.view_calendar_event_calendar.show_location.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/calendar.view_calendar_event_calendar.show_location.xml)
### X Color
ID: `mint_system.calendar.view_calendar_event_calendar.x_color`
```xml
<?xml version='1.0' encoding='UTF-8' ?>
<odoo>
<xpath expr="//calendar" position="attributes">
<attribute name="color">x_color</attribute>
</xpath>
</odoo>
```
Source: [snippets/calendar.view_calendar_event_calendar.x_color.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/calendar.view_calendar_event_calendar.x_color.xml)
## View Calendar Event Calendar Timeline
### View
ID: `mint_system.calendar.view_calendar_event_calendar_timeline.view`
@@ -51,6 +81,67 @@ ID: `mint_system.calendar.view_calendar_event_calendar_timeline.view`
```
Source: [snippets/calendar.view_calendar_event_calendar_timeline.view.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/calendar.view_calendar_event_calendar_timeline.view.xml)
## View Calendar Event Calendar
### Default Mode Week
ID: `mint_system.calendar.view_calendar_event_calendar.default_mode_week`
```xml
<?xml version="1.0"?>
<data inherit_id="calendar.view_calendar_event_calendar" priority="50">
<xpath expr="//calendar[1]" position="attributes">
<attribute name="mode">week</attribute>
</xpath>
</data>
```
Source: [snippets/calendar.view_calendar_event_calendar.default_mode_week.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/calendar.view_calendar_event_calendar.default_mode_week.xml)
### Set Color
ID: `mint_system.calendar.view_calendar_event_calendar.set_color`
```xml
<?xml version='1.0' encoding='UTF-8' ?>
<odoo>
<xpath expr="//calendar" position="attributes">
<attribute name="color">user_id</attribute>
</xpath>
</odoo>
```
Source: [snippets/calendar.view_calendar_event_calendar.set_color.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/calendar.view_calendar_event_calendar.set_color.xml)
### Show Location
ID: `mint_system.calendar.view_calendar_event_calendar.show_location`
```xml
<?xml version="1.0"?>
<data inherit_id="calendar.view_calendar_event_calendar" priority="50">
<xpath expr="//field[@name='attendee_status']" position="after">
<field name="location" />
</xpath>
</data>
```
Source: [snippets/calendar.view_calendar_event_calendar.show_location.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/calendar.view_calendar_event_calendar.show_location.xml)
### X Color
ID: `mint_system.calendar.view_calendar_event_calendar.x_color`
```xml
<?xml version='1.0' encoding='UTF-8' ?>
<odoo>
<xpath expr="//calendar" position="attributes">
<attribute name="color">x_color</attribute>
</xpath>
</odoo>
```
Source: [snippets/calendar.view_calendar_event_calendar.x_color.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/calendar.view_calendar_event_calendar.x_color.xml)
## View Calendar Event Form
### Show Res Model And Id
ID: `mint_system.calendar.view_calendar_event_form.show_res_model_and_id`
@@ -67,3 +158,17 @@ ID: `mint_system.calendar.view_calendar_event_form.show_res_model_and_id`
```
Source: [snippets/calendar.view_calendar_event_form.show_res_model_and_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/calendar.view_calendar_event_form.show_res_model_and_id.xml)
### X Color
ID: `mint_system.calendar.view_calendar_event_form.x_color`
```xml
<?xml version="1.0"?>
<data inherit_id="calendar.view_calendar_event_form" priority="50">
<xpath expr="//field[@name='user_id']" position="after">
<field name="x_color" />
</xpath>
</data>
```
Source: [snippets/calendar.view_calendar_event_form.x_color.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/calendar.view_calendar_event_form.x_color.xml)
@@ -0,0 +1,8 @@
<?xml version='1.0' encoding='UTF-8' ?>
<odoo>
<xpath expr="//calendar" position="attributes">
<attribute name="color">user_id</attribute>
</xpath>
</odoo>
@@ -0,0 +1,8 @@
<?xml version='1.0' encoding='UTF-8' ?>
<odoo>
<xpath expr="//calendar" position="attributes">
<attribute name="color">x_color</attribute>
</xpath>
</odoo>
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<data inherit_id="calendar.view_calendar_event_form" priority="50">
<xpath expr="//field[@name='user_id']" position="after">
<field name="x_color" />
</xpath>
</data>
+15
View File
@@ -1,4 +1,19 @@
# Industry Fsm
## Project Task View List Fsm
### Show Id
ID: `mint_system.industry_fsm.project_task_view_list_fsm.show_id`
```xml
<?xml version="1.0"?>
<data inherit_id="industry_fsm.project_task_view_list_fsm" priority="50">
<xpath expr="//field[@name='progress']" position="after">
<field name="id" string="ID" optional="hide"/>
</xpath>
</data>
```
Source: [snippets/industry_fsm.project_task_view_list_fsm.show_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/industry_fsm.project_task_view_list_fsm.show_id.xml)
## Worksheet Custom
### Add Info
ID: `mint_system.industry_fsm.worksheet_custom.add_info`
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<data inherit_id="industry_fsm.project_task_view_list_fsm" priority="50">
<xpath expr="//field[@name='progress']" position="after">
<field name="id" string="ID" optional="hide"/>
</xpath>
</data>
@@ -0,0 +1,15 @@
<?xml version='1.0' encoding='UTF-8' ?>
<odoo>
<record id="x_color" model="ir.model.fields">
<field name="field_description">Farbkennzeichnung</field>
<field name="model">calendar.event</field>
<field name="model_id" ref="calendar.model_calendar_event"/>
<field name="name">x_color</field>
<field name="store" eval="False"/>
<field name="readonly" eval="True"/>
<field name="copied" eval="False"/>
<field name="ttype">integer</field>
</record>
</odoo>
+70
View File
@@ -513,6 +513,29 @@ ID: `mint_system.ir_model.business_requirement.x_task_id`
```
Source: [snippets/ir_model.business_requirement.x_task_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/ir_model.business_requirement.x_task_id.xml)
## Calendar Event
### X Color
ID: `mint_system.ir_model.calendar_event.x_color`
```xml
<?xml version='1.0' encoding='UTF-8' ?>
<odoo>
<record id="x_color" model="ir.model.fields">
<field name="field_description">Farbkennzeichnung</field>
<field name="model">calendar.event</field>
<field name="model_id" ref="calendar.model_calendar_event"/>
<field name="name">x_color</field>
<field name="store" eval="False"/>
<field name="readonly" eval="True"/>
<field name="copied" eval="False"/>
<field name="ttype">integer</field>
</record>
</odoo>
```
Source: [snippets/ir_model.calendar_event.x_color.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/ir_model.calendar_event.x_color.xml)
## Crm Lead
### X Date Start
ID: `mint_system.ir_model.crm_lead.x_date_start`
@@ -2251,6 +2274,30 @@ ID: `mint_system.ir_model.sale_order.x_order_number`
```
Source: [snippets/ir_model.sale_order.x_order_number.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/ir_model.sale_order.x_order_number.xml)
### X Payment Term Blanket Order
ID: `mint_system.ir_model.sale_order.x_payment_term_blanket_order`
```xml
<?xml version='1.0' encoding='UTF-8' ?>
<odoo>
<record id="x_payment_term_blanket_order" model="ir.model.fields">
<field name="field_description">Zahlungsbedingungen Rahmenauftrag</field>
<field name="model">sale.order</field>
<field name="model_id" ref="sale.model_sale_order"/>
<field name="name">x_payment_term_blanket_order</field>
<field name="store" eval="False"/>
<field name="readonly" eval="True"/>
<field name="copied" eval="False"/>
<field name="ttype">many2one</field>
<field name="relation">account.payment.terms</field>
<field name="related">order_line.blanket_order_line.order_id.payment_term_id</field>
</record>
</odoo>
```
Source: [snippets/ir_model.sale_order.x_payment_term_blanket_order.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/ir_model.sale_order.x_payment_term_blanket_order.xml)
### X Product Uom Qty
ID: `mint_system.ir_model.sale_order.x_product_uom_qty`
```xml
@@ -2698,6 +2745,29 @@ ID: `mint_system.ir_model.stock_production_lot.x_weight_uom`
Source: [snippets/ir_model.stock_production_lot.x_weight_uom.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/ir_model.stock_production_lot.x_weight_uom.xml)
## Stock Quant
### X Expiration Date
ID: `mint_system.ir_model.stock_quant.x_expiration_date`
```xml
<?xml version='1.0' encoding='UTF-8' ?>
<odoo>
<record id="x_expiration_date" model="ir.model.fields">
<field name="field_description">Ablaufdatum</field>
<field name="model">stock.quant</field>
<field name="model_id" ref="stock.model_stock_quant"/>
<field name="name">x_expiration_date</field>
<field name="store" eval="True"/>
<field name="readonly" eval="True"/>
<field name="copied" eval="False"/>
<field name="ttype">datetime</field>
<field name="relation">stock.lot</field>
<field name="related">lot_id.x_expiration_date</field>
</record>
</odoo>
```
Source: [snippets/ir_model.stock_quant.x_expiration_date.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/ir_model.stock_quant.x_expiration_date.xml)
### X Last Delivery Partner Id
ID: `mint_system.ir_model.stock_quant.x_last_delivery_partner_id`
```xml
@@ -0,0 +1,17 @@
<?xml version='1.0' encoding='UTF-8' ?>
<odoo>
<record id="x_payment_term_blanket_order" model="ir.model.fields">
<field name="field_description">Zahlungsbedingungen Rahmenauftrag</field>
<field name="model">sale.order</field>
<field name="model_id" ref="sale.model_sale_order"/>
<field name="name">x_payment_term_blanket_order</field>
<field name="store" eval="False"/>
<field name="readonly" eval="True"/>
<field name="copied" eval="False"/>
<field name="ttype">many2one</field>
<field name="relation">account.payment.terms</field>
<field name="related">order_line.blanket_order_line.order_id.payment_term_id</field>
</record>
</odoo>
@@ -0,0 +1,17 @@
<?xml version='1.0' encoding='UTF-8' ?>
<odoo>
<record id="x_expiration_date" model="ir.model.fields">
<field name="field_description">Ablaufdatum</field>
<field name="model">stock.quant</field>
<field name="model_id" ref="stock.model_stock_quant"/>
<field name="name">x_expiration_date</field>
<field name="store" eval="True"/>
<field name="readonly" eval="True"/>
<field name="copied" eval="False"/>
<field name="ttype">datetime</field>
<field name="relation">stock.lot</field>
<field name="related">lot_id.x_expiration_date</field>
</record>
</odoo>
+83 -28
View File
@@ -729,6 +729,21 @@ ID: `mint_system.mrp.mrp_production_tree_view.hide_date_deadline`
```
Source: [snippets/mrp.mrp_production_tree_view.hide_date_deadline.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/mrp.mrp_production_tree_view.hide_date_deadline.xml)
### Show Format Date Planned Start
ID: `mint_system.mrp.mrp_production_tree_view.show_format_date_planned_start`
```xml
<?xml version="1.0"?>
<data inherit_id="mrp.mrp_production_tree_view" priority="50">
<xpath expr="//field[@name='date_planned_start']" position="attributes">
<attribute name="widget">date</attribute>
</xpath>
</data>
```
Source: [snippets/mrp.mrp_production_tree_view.show_format_date_planned_start.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/mrp.mrp_production_tree_view.show_format_date_planned_start.xml)
### Show X Date Deadline
ID: `mint_system.mrp.mrp_production_tree_view.show_x_date_deadline`
```xml
@@ -822,30 +837,11 @@ ID: `mint_system.mrp.report_mrporder.add_padding`
<?xml version="1.0"?>
<data inherit_id="mrp.report_mrporder" priority="50">
<!-- First row -->
<xpath expr="/t/t/t/t/div/div[2]" position="attributes">
<attribute name="style" add="padding-bottom: 2rem"/>
</xpath>
<!-- Header level 3 -->
<xpath expr="/t/t/t/t/div/div[3]/div[2]" position="attributes">
<attribute name="class">col-5</attribute>
</xpath>
<xpath expr="/t/t/t/t/div/div[3]/div[1]" position="attributes">
<attribute name="class">col-5</attribute>
</xpath>
<xpath expr="/t/t/t/t/div/div[4]/div[1]" position="attributes">
<attribute name="class">col-5</attribute>
</xpath>
<xpath expr="/t/t/t/t/div/div[4]/div[3]" position="attributes">
<attribute name="class">col-5</attribute>
</xpath>
<!-- Header level 3 -->
<xpath expr="/t/t/t/t/div/div[5]/h3" position="attributes">
<attribute name="style">padding-top: 2rem</attribute>
</xpath>
<xpath expr="/t/t/t/t/div/h3" position="attributes">
<xpath expr="//h3" position="attributes">
<attribute name="style">padding-top: 2rem</attribute>
</xpath>
@@ -1192,10 +1188,8 @@ Source: [snippets/mrp.report_mrporder.quality_points.xml](https://github.com/Min
ID: `mint_system.mrp.report_mrporder.remove_barcode`
```xml
<?xml version="1.0"?>
<!-- Remove barcode from mrp order -->
<data inherit_id="mrp.report_mrporder" priority="50">
<xpath expr="//table[1]/thead[1]/tr[1]/th[3]" position="replace"/>
<xpath expr="//table[1]/tbody[1]/t[1]/tr[1]/td[3]" position="replace"/>
<xpath expr="//span/div[@t-field='o.name']" position="replace"/>
</data>
```
Source: [snippets/mrp.report_mrporder.remove_barcode.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/mrp.report_mrporder.remove_barcode.xml)
@@ -1284,6 +1278,20 @@ ID: `mint_system.mrp.report_mrporder.show_expected`
```
Source: [snippets/mrp.report_mrporder.show_expected.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/mrp.report_mrporder.show_expected.xml)
### Show Lot Producing
ID: `mint_system.mrp.report_mrporder.show_lot_producing`
```xml
<?xml version="1.0"?>
<data inherit_id="mrp.report_mrporder" priority="60">
<xpath expr="//div/div[4]/div[1]/span" position="after">
<span t-if="o.lot_producing_id">
<br/>Los: <span t-field="o.lot_producing_id.name"/>
</span>
</xpath>
</data>
```
Source: [snippets/mrp.report_mrporder.show_lot_producing.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/mrp.report_mrporder.show_lot_producing.xml)
### Show Lot
ID: `mint_system.mrp.report_mrporder.show_lot`
```xml
@@ -1396,15 +1404,62 @@ ID: `mint_system.mrp.report_mrporder.show_stock`
</span>
</td>
</xpath>
<xpath expr="//div/div[4]/div[1]/span" position="after">
<span t-if="o.lot_producing_id">
<br/>Los: <span t-field="o.lot_producing_id.name"/>
</span>
</xpath>
</data>
```
Source: [snippets/mrp.report_mrporder.show_stock.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/mrp.report_mrporder.show_stock.xml)
## Report Mrp Production Components
### Remove Barcode
ID: `mint_system.mrp.report_mrp_production_components.remove_barcode`
```xml
<?xml version="1.0"?>
<data inherit_id="mrp.report_mrp_production_components" priority="50">
<xpath expr="//th[@t-if='has_product_barcode']" position="replace"/>
<xpath expr="//td[@t-if='has_product_barcode']" position="replace"/>
</data>
```
Source: [snippets/mrp.report_mrp_production_components.remove_barcode.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/mrp.report_mrp_production_components.remove_barcode.xml)
### Show Expected
ID: `mint_system.mrp.report_mrp_production_components.show_expected`
```xml
<?xml version="1.0"?>
<data inherit_id="mrp.report_mrp_production_components" priority="50">
<xpath expr="//span[@t-field='raw_line.product_id']" position="after">
<t t-if="raw_line.forecast_expected_date">
<br />
<span>Expected date: </span>
<span t-field="raw_line.forecast_expected_date" t-options='{"widget": "date"}' />
<br />
</t>
</xpath>
</data>
```
Source: [snippets/mrp.report_mrp_production_components.show_expected.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/mrp.report_mrp_production_components.show_expected.xml)
### Show Stock
ID: `mint_system.mrp.report_mrp_production_components.show_stock`
```xml
<?xml version="1.0"?>
<data inherit_id="mrp.report_mrp_production_components" priority="60">
<xpath expr="//table//tr/th[2]" position="after">
<th>
<span>Lagerort (Los)</span>
</th>
</xpath>
<xpath expr="//table//tr/td[2]" position="after">
<td>
<span t-foreach="raw_line.move_line_ids" t-as="move_line">
<span t-field="move_line.location_id.display_name" />
<t t-if="move_line.lot_id"> (<span t-field="move_line.lot_id" />) </t>
<br />
</span>
</td>
</xpath>
</data>
```
Source: [snippets/mrp.report_mrp_production_components.show_stock.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/mrp.report_mrp_production_components.show_stock.xml)
## Stock Report Delivery Kit Sections
### Expand Section Heading
ID: `mint_system.mrp.stock_report_delivery_kit_sections.expand_section_heading`
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<data inherit_id="mrp.mrp_production_tree_view" priority="50">
<xpath expr="//field[@name='date_planned_start']" position="attributes">
<attribute name="widget">date</attribute>
</xpath>
</data>
@@ -0,0 +1,5 @@
<?xml version="1.0"?>
<data inherit_id="mrp.report_mrp_production_components" priority="50">
<xpath expr="//th[@t-if='has_product_barcode']" position="replace"/>
<xpath expr="//td[@t-if='has_product_barcode']" position="replace"/>
</data>
@@ -0,0 +1,11 @@
<?xml version="1.0"?>
<data inherit_id="mrp.report_mrp_production_components" priority="50">
<xpath expr="//span[@t-field='raw_line.product_id']" position="after">
<t t-if="raw_line.forecast_expected_date">
<br />
<span>Expected date: </span>
<span t-field="raw_line.forecast_expected_date" t-options='{"widget": "date"}' />
<br />
</t>
</xpath>
</data>
@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<data inherit_id="mrp.report_mrp_production_components" priority="60">
<xpath expr="//table//tr/th[2]" position="after">
<th>
<span>Lagerort (Los)</span>
</th>
</xpath>
<xpath expr="//table//tr/td[2]" position="after">
<td>
<span t-foreach="raw_line.move_line_ids" t-as="move_line">
<span t-field="move_line.location_id.display_name" />
<t t-if="move_line.lot_id"> (<span t-field="move_line.lot_id" />) </t>
<br />
</span>
</td>
</xpath>
</data>
+1 -20
View File
@@ -1,30 +1,11 @@
<?xml version="1.0"?>
<data inherit_id="mrp.report_mrporder" priority="50">
<!-- First row -->
<xpath expr="/t/t/t/t/div/div[2]" position="attributes">
<attribute name="style" add="padding-bottom: 2rem"/>
</xpath>
<!-- Header level 3 -->
<xpath expr="/t/t/t/t/div/div[3]/div[2]" position="attributes">
<attribute name="class">col-5</attribute>
</xpath>
<xpath expr="/t/t/t/t/div/div[3]/div[1]" position="attributes">
<attribute name="class">col-5</attribute>
</xpath>
<xpath expr="/t/t/t/t/div/div[4]/div[1]" position="attributes">
<attribute name="class">col-5</attribute>
</xpath>
<xpath expr="/t/t/t/t/div/div[4]/div[3]" position="attributes">
<attribute name="class">col-5</attribute>
</xpath>
<!-- Header level 3 -->
<xpath expr="/t/t/t/t/div/div[5]/h3" position="attributes">
<attribute name="style">padding-top: 2rem</attribute>
</xpath>
<xpath expr="/t/t/t/t/div/h3" position="attributes">
<xpath expr="//h3" position="attributes">
<attribute name="style">padding-top: 2rem</attribute>
</xpath>
@@ -1,6 +1,4 @@
<?xml version="1.0"?>
<!-- Remove barcode from mrp order -->
<data inherit_id="mrp.report_mrporder" priority="50">
<xpath expr="//table[1]/thead[1]/tr[1]/th[3]" position="replace"/>
<xpath expr="//table[1]/tbody[1]/t[1]/tr[1]/td[3]" position="replace"/>
<xpath expr="//span/div[@t-field='o.name']" position="replace"/>
</data>
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<data inherit_id="mrp.report_mrporder" priority="60">
<xpath expr="//div/div[4]/div[1]/span" position="after">
<span t-if="o.lot_producing_id">
<br/>Los: <span t-field="o.lot_producing_id.name"/>
</span>
</xpath>
</data>
@@ -15,9 +15,4 @@
</span>
</td>
</xpath>
<xpath expr="//div/div[4]/div[1]/span" position="after">
<span t-if="o.lot_producing_id">
<br/>Los: <span t-field="o.lot_producing_id.name"/>
</span>
</xpath>
</data>
+14
View File
@@ -275,6 +275,20 @@ ID: `mint_system.purchase.purchase_order_kpis_tree.add_mail_reception_confirmed`
```
Source: [snippets/purchase.purchase_order_kpis_tree.add_mail_reception_confirmed.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/purchase.purchase_order_kpis_tree.add_mail_reception_confirmed.xml)
### Format Date Order
ID: `mint_system.purchase.purchase_order_kpis_tree.format_date_order`
```xml
<?xml version="1.0"?>
<data inherit_id="purchase.purchase_order_kpis_tree" priority="50">
<xpath expr="//field[@name='date_order']" position="attributes">
<attribute name="widget">date</attribute>
</xpath>
</data>
```
Source: [snippets/purchase.purchase_order_kpis_tree.format_date_order.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/purchase.purchase_order_kpis_tree.format_date_order.xml)
## Purchase Order Line Tree
### Reset View
ID: `mint_system.purchase.purchase_order_line_tree.reset_view`
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<data inherit_id="purchase.purchase_order_kpis_tree" priority="50">
<xpath expr="//field[@name='date_order']" position="attributes">
<attribute name="widget">date</attribute>
</xpath>
</data>
+55 -2
View File
@@ -52,6 +52,24 @@ ID: `mint_system.purchase_requisition.report_purchaserequisitions.add_address_bl
```
Source: [snippets/purchase_requisition.report_purchaserequisitions.add_address_block.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/purchase_requisition.report_purchaserequisitions.add_address_block.xml)
### Add Date End
ID: `mint_system.purchase_requisition.report_purchaserequisitions.add_date_end`
```xml
<?xml version="1.0"?>
<data inherit_id="purchase_requisition.report_purchaserequisitions" priority="50">
<xpath expr="//div/span[@t-field='o.ordering_date']/.." position="after">
<div class="col-auto">
<strong>Agreement Deadline:</strong>
<br/>
<span t-field="o.date_end" t-options='{"widget": "date"}'/>
</div>
</xpath>
</data>
```
Source: [snippets/purchase_requisition.report_purchaserequisitions.add_date_end.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/purchase_requisition.report_purchaserequisitions.add_date_end.xml)
### Add Description
ID: `mint_system.purchase_requisition.report_purchaserequisitions.add_description`
```xml
@@ -233,6 +251,25 @@ ID: `mint_system.purchase_requisition.report_purchaserequisitions.add_infotable`
```
Source: [snippets/purchase_requisition.report_purchaserequisitions.add_infotable.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/purchase_requisition.report_purchaserequisitions.add_infotable.xml)
### Add Payment Term
ID: `mint_system.purchase_requisition.report_purchaserequisitions.add_payment_term`
```xml
<?xml version="1.0"?>
<data inherit_id="purchase_requisition.report_purchaserequisitions" priority="50">
<xpath expr="//div[@id='description']" position="before">
<div class="row" style="margin-top: 1rem; margin-bottom: 1rem">
<div class="col">
<span>Payment Terms: </span>
<span t-field="o.payment_term_id.name"/>
</div>
</div>
</xpath>
</data>
```
Source: [snippets/purchase_requisition.report_purchaserequisitions.add_payment_term.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/purchase_requisition.report_purchaserequisitions.add_payment_term.xml)
### Add Price Subtotal
ID: `mint_system.purchase_requisition.report_purchaserequisitions.add_price_subtotal`
```xml
@@ -876,8 +913,8 @@ ID: `mint_system.purchase_requisition.report_purchaserequisitions.style_gelso`
.o_report_layout_boxed strong {
color: #000000;
}
.col-3 {
margin-bottom: 1rem !important;
div#info_table {
margin-bottom: 1rem;
}
div#address {
font-size: 16px;
@@ -886,6 +923,22 @@ ID: `mint_system.purchase_requisition.report_purchaserequisitions.style_gelso`
</style>
</xpath>
<xpath expr="//div/span[@t-field='o.partner_ref']/.." position="attributes">
<attribute name="class">col-auto</attribute>
</xpath>
<xpath expr="//div/span[@t-field='o.ordering_date']/.." position="attributes">
<attribute name="class">col-auto</attribute>
</xpath>
<xpath expr="//div/span[@t-field='o.incoterm_id']/.." position="attributes">
<attribute name="class">col-auto</attribute>
</xpath>
<xpath expr="//div/span[@t-field='o.user_id']/.." position="attributes">
<attribute name="class">col-auto</attribute>
</xpath>
</data>
```
Source: [snippets/purchase_requisition.report_purchaserequisitions.style_gelso.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/purchase_requisition.report_purchaserequisitions.style_gelso.xml)
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<data inherit_id="purchase_requisition.report_purchaserequisitions" priority="50">
<xpath expr="//div/span[@t-field='o.ordering_date']/.." position="after">
<div class="col-auto">
<strong>Agreement Deadline:</strong>
<br/>
<span t-field="o.date_end" t-options='{"widget": "date"}'/>
</div>
</xpath>
</data>
@@ -0,0 +1,13 @@
<?xml version="1.0"?>
<data inherit_id="purchase_requisition.report_purchaserequisitions" priority="50">
<xpath expr="//div[@id='description']" position="before">
<div class="row" style="margin-top: 1rem; margin-bottom: 1rem">
<div class="col">
<span>Payment Terms: </span>
<span t-field="o.payment_term_id.name"/>
</div>
</div>
</xpath>
</data>
@@ -16,8 +16,8 @@
.o_report_layout_boxed strong {
color: #000000;
}
.col-3 {
margin-bottom: 1rem !important;
div#info_table {
margin-bottom: 1rem;
}
div#address {
font-size: 16px;
@@ -26,4 +26,20 @@
</style>
</xpath>
<xpath expr="//div/span[@t-field='o.partner_ref']/.." position="attributes">
<attribute name="class">col-auto</attribute>
</xpath>
<xpath expr="//div/span[@t-field='o.ordering_date']/.." position="attributes">
<attribute name="class">col-auto</attribute>
</xpath>
<xpath expr="//div/span[@t-field='o.incoterm_id']/.." position="attributes">
<attribute name="class">col-auto</attribute>
</xpath>
<xpath expr="//div/span[@t-field='o.user_id']/.." position="attributes">
<attribute name="class">col-auto</attribute>
</xpath>
</data>
+70 -21
View File
@@ -1371,19 +1371,21 @@ ID: `mint_system.sale.report_saleorder_document.add_signature_note`
<data inherit_id="sale.report_saleorder_document" priority="50">
<p t-field="doc.note" position="after">
<style>
<t t-if="doc.state != 'sale'">
<style>
div#signature {
padding-top: 50px;
padding-left: 75px;
padding-right: 75px;
}
</style>
<div id="signature">
<p>Hiermit bestelle wir die Produkte/Dienstleistungen gemäss diesem Angebot.<br />
<br />
<br />
</style>
<div id="signature">
<p>Hiermit bestelle wir die Produkte/Dienstleistungen gemäss diesem Angebot.<br />
<br />
<br />
Ort/Datum: _________________ Unterschrift Kunde: __________________________________ </p>
</div>
</div>
</t>
</p>
</data>
@@ -2560,6 +2562,22 @@ ID: `mint_system.sale.report_saleorder_document.set_title_font_size`
```
Source: [snippets/sale.report_saleorder_document.set_title_font_size.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.report_saleorder_document.set_title_font_size.xml)
### Show Categ Id
ID: `mint_system.sale.report_saleorder_document.show_categ_id`
```xml
<?xml version="1.0"?>
<data inherit_id="sale.report_saleorder_document" priority="50">
<xpath expr="//span[@t-field='line.name']" position="after">
<div>
<span t-field="line.product_id.categ_id"/>
</div>
</xpath>
</data>
```
Source: [snippets/sale.report_saleorder_document.show_categ_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.report_saleorder_document.show_categ_id.xml)
### Show Default Code
ID: `mint_system.sale.report_saleorder_document.show_default_code`
```xml
@@ -3685,6 +3703,20 @@ ID: `mint_system.sale.view_order_form.show_carrier_method`
```
Source: [snippets/sale.view_order_form.show_carrier_method.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_order_form.show_carrier_method.xml)
### Show Commitment Date
ID: `mint_system.sale.view_order_form.show_commitment_date`
```xml
<?xml version="1.0"?>
<data inherit_id="sale.view_order_form" priority="50">
<xpath expr="//field[@name='date_order']" position="after">
<field name="commitment_date" readonly="1"/>
</xpath>
</data>
```
Source: [snippets/sale.view_order_form.show_commitment_date.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_order_form.show_commitment_date.xml)
### Show Order Line Project Id
ID: `mint_system.sale.view_order_form.show_order_line_project_id`
```xml
@@ -3865,6 +3897,20 @@ ID: `mint_system.sale.view_order_form.x_order_number`
```
Source: [snippets/sale.view_order_form.x_order_number.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_order_form.x_order_number.xml)
### X Payment Term Blanket Order
ID: `mint_system.sale.view_order_form.x_payment_term_blanket_order`
```xml
<?xml version="1.0"?>
<data inherit_id="sale.view_order_form" priority="50">
<xpath expr="//group[@name='order_details']/field[@name='payment_term_id']" position="after">
<field name="x_payment_term_blanket_order"/>
</xpath>
</data>
```
Source: [snippets/sale.view_order_form.x_payment_term_blanket_order.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_order_form.x_payment_term_blanket_order.xml)
### X Sudio Description
ID: `mint_system.sale.view_order_form.x_sudio_description`
```xml
@@ -4239,6 +4285,23 @@ ID: `mint_system.sale.view_order_tree.add_comment`
```
Source: [snippets/sale.view_order_tree.add_comment.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_order_tree.add_comment.xml)
### Format Delivery Status
ID: `mint_system.sale.view_order_tree.format_delivery_status`
```xml
<?xml version="1.0"?>
<data inherit_id="sale.view_order_tree" priority="50">
<xpath expr="//field[@name='delivery_status']" position="attributes">
<attribute name="widget">badge</attribute>
<attribute name="decoration-success">delivery_status=='full'</attribute>
<attribute name="decoration-danger">delivery_status=='pending'</attribute>
<attribute name="decoration-warning">delivery_status=='partial'</attribute>
</xpath>
</data>
```
Source: [snippets/sale.view_order_tree.format_delivery_status.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_order_tree.format_delivery_status.xml)
### Show Partner Shipping
ID: `mint_system.sale.view_order_tree.show_partner_shipping`
```xml
@@ -4327,20 +4390,6 @@ ID: `mint_system.sale.view_quotation_tree.replace_create_date`
```
Source: [snippets/sale.view_quotation_tree.replace_create_date.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_quotation_tree.replace_create_date.xml)
### Show Delivery Status
ID: `mint_system.sale.view_quotation_tree.show_delivery_status`
```xml
<?xml version="1.0"?>
<data inherit_id="sale.view_quotation_tree" priority="50">
<xpath expr="//field[@name='partner_id']" position="after">
<field name="delivery_status" optional="show"/>
</xpath>
</data>
```
Source: [snippets/sale.view_quotation_tree.show_delivery_status.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_quotation_tree.show_delivery_status.xml)
### Show ​Payment Term Id
ID: `mint_system.sale.view_quotation_tree.show_​payment_term_id`
```xml
@@ -2,19 +2,21 @@
<data inherit_id="sale.report_saleorder_document" priority="50">
<p t-field="doc.note" position="after">
<style>
<t t-if="doc.state != 'sale'">
<style>
div#signature {
padding-top: 50px;
padding-left: 75px;
padding-right: 75px;
}
</style>
<div id="signature">
<p>Hiermit bestelle wir die Produkte/Dienstleistungen gemäss diesem Angebot.<br />
<br />
<br />
</style>
<div id="signature">
<p>Hiermit bestelle wir die Produkte/Dienstleistungen gemäss diesem Angebot.<br />
<br />
<br />
Ort/Datum: _________________ Unterschrift Kunde: __________________________________ </p>
</div>
</div>
</t>
</p>
</data>
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<data inherit_id="sale.report_saleorder_document" priority="50">
<xpath expr="//span[@t-field='line.name']" position="after">
<div>
<span t-field="line.product_id.categ_id"/>
</div>
</xpath>
</data>
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<data inherit_id="sale.view_order_form" priority="50">
<xpath expr="//field[@name='date_order']" position="after">
<field name="commitment_date" readonly="1"/>
</xpath>
</data>
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<data inherit_id="sale.view_order_form" priority="50">
<xpath expr="//group[@name='order_details']/field[@name='payment_term_id']" position="after">
<field name="x_payment_term_blanket_order"/>
</xpath>
</data>
@@ -0,0 +1,11 @@
<?xml version="1.0"?>
<data inherit_id="sale.view_order_tree" priority="50">
<xpath expr="//field[@name='delivery_status']" position="attributes">
<attribute name="widget">badge</attribute>
<attribute name="decoration-success">delivery_status=='full'</attribute>
<attribute name="decoration-danger">delivery_status=='pending'</attribute>
<attribute name="decoration-warning">delivery_status=='partial'</attribute>
</xpath>
</data>
@@ -1,8 +0,0 @@
<?xml version="1.0"?>
<data inherit_id="sale.view_quotation_tree" priority="50">
<xpath expr="//field[@name='partner_id']" position="after">
<field name="delivery_status" optional="show"/>
</xpath>
</data>
+47
View File
@@ -2469,6 +2469,22 @@ ID: `mint_system.stock.report_delivery_document.replace_infotable`
```
Source: [snippets/stock.report_delivery_document.replace_infotable.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/stock.report_delivery_document.replace_infotable.xml)
### Replace Name
ID: `mint_system.stock.report_delivery_document.replace_name`
```xml
<?xml version="1.0"?>
<data inherit_id="stock.report_delivery_document" priority="50">
<xpath expr="//span[@t-field='o.name']/.." position="replace">
<h2>
Delivery slip <span t-field="o.name"/>
</h2>
</xpath>
</data>
```
Source: [snippets/stock.report_delivery_document.replace_name.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/stock.report_delivery_document.replace_name.xml)
### Replace Order Definition
ID: `mint_system.stock.report_delivery_document.replace_order_definition`
```xml
@@ -5907,6 +5923,22 @@ ID: `mint_system.stock.report_picking.x_packaging_uom_id`
```
Source: [snippets/stock.report_picking.x_packaging_uom_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/stock.report_picking.x_packaging_uom_id.xml)
## Search Product Lot Filter
### Filter Active
ID: `mint_system.stock.search_product_lot_filter.filter_active`
```xml
<?xml version="1.0"?>
<data inherit_id="stock.search_product_lot_filter" priority="50">
<field name="product_id" position="after">
<filter name="active" string="Archiviert" domain="[('active', '=', False)]"/>
</field>
</data>
```
Source: [snippets/stock.search_product_lot_filter.filter_active.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/stock.search_product_lot_filter.filter_active.xml)
## Stock Report Delivery Aggregated Move Lines
### Add Country Of Origin And Hs Code
ID: `mint_system.stock.stock_report_delivery_aggregated_move_lines.add_country_of_origin_and_hs_code`
@@ -7053,6 +7085,21 @@ ID: `mint_system.stock.view_stock_quant_tree_editable.show_reserved_quantity`
```
Source: [snippets/stock.view_stock_quant_tree_editable.show_reserved_quantity.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/stock.view_stock_quant_tree_editable.show_reserved_quantity.xml)
### X Expiration Date
ID: `mint_system.stock.view_stock_quant_tree_editable.x_expiration_date`
```xml
<?xml version="1.0"?>
<data inherit_id="stock.view_stock_quant_tree_editable" priority="50">
<field name="removal_date" position="after">
<field name="x_expiration_date" optional="show"/>
</field>
</data>
```
Source: [snippets/stock.view_stock_quant_tree_editable.x_expiration_date.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/stock.view_stock_quant_tree_editable.x_expiration_date.xml)
## View Stock Quant Tree
### Show Reserved Quantity
ID: `mint_system.stock.view_stock_quant_tree.show_reserved_quantity`
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<data inherit_id="stock.report_delivery_document" priority="50">
<xpath expr="//span[@t-field='o.name']/.." position="replace">
<h2>
Delivery slip <span t-field="o.name"/>
</h2>
</xpath>
</data>
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<data inherit_id="stock.search_product_lot_filter" priority="50">
<field name="product_id" position="after">
<filter name="active" string="Archiviert" domain="[('active', '=', False)]"/>
</field>
</data>
@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<data inherit_id="stock.view_stock_quant_tree_editable" priority="50">
<field name="removal_date" position="after">
<field name="x_expiration_date" optional="show"/>
</field>
</data>