sync
This commit is contained in:
1 parent
921cb11b33
commit
d0b9ee1765
15 files changed
+360
-6
No files matched your search
@@ -5712,6 +5712,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/14.0/snippets/account.view_move_form.show_line_partner_id.xml)
|
||||
|
||||
### Show Payment State
|
||||
ID: `mint_system.account.view_move_form.show_payment_state`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="account.view_move_form" priority="50" >
|
||||
|
||||
<field name="payment_reference" position="after">
|
||||
<field name="x_payment_state" />
|
||||
</field>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/account.view_move_form.show_payment_state.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/account.view_move_form.show_payment_state.xml)
|
||||
|
||||
### Show Posted Before
|
||||
ID: `mint_system.account.view_move_form.show_posted_before`
|
||||
```xml
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="account.view_move_form" priority="50" >
|
||||
|
||||
<field name="payment_reference" position="after">
|
||||
<field name="x_payment_state" />
|
||||
</field>
|
||||
|
||||
</data>
|
||||
@@ -2274,6 +2274,48 @@ 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 State
|
||||
ID: `mint_system.ir_model.sale_order.x_payment_state`
|
||||
```xml
|
||||
<?xml version='1.0' encoding='UTF-8' ?>
|
||||
<odoo>
|
||||
|
||||
<record id="x_payment_state" model="ir.model.fields">
|
||||
<field name="field_description">Zahlungsstatus</field>
|
||||
<field name="model">sale.order</field>
|
||||
<field name="model_id" ref="sale.model_sale_order"/>
|
||||
<field name="name">x_payment_state</field>
|
||||
<field name="store" eval="True"/>
|
||||
<field name="readonly" eval="True"/>
|
||||
<field name="copied" eval="False"/>
|
||||
<field name="ttype">selection</field>
|
||||
<field name="selection_id">[
|
||||
{'value':'not_paid','name':'Nicht Bezahlt'},
|
||||
{'value':'in_payment','name':'In Zahlung'},
|
||||
{'value':'paid','name':'Bezahlt'},
|
||||
]</field>
|
||||
<field name="depends">invoice_ids,invoice_ids.payment_state</field>
|
||||
<field name="compute">for rec in self:
|
||||
if rec.invoice_ids:
|
||||
has_only_paid_invoices = all(rec.invoice_ids.mapped(lambda i: i.payment_state == 'paid'))
|
||||
has_in_payment_invoices = any(rec.invoice_ids.mapped(lambda i: i.payment_state == 'in_payment'))
|
||||
has_not_paid_invoices = any(rec.invoice_ids.mapped(lambda i: i.payment_state == 'not_paid'))
|
||||
|
||||
if has_only_paid_invoices:
|
||||
rec['x_payment_state'] = 'paid'
|
||||
elif has_in_payment_invoices:
|
||||
rec['x_payment_state'] = 'in_payment'
|
||||
elif has_not_paid_invoices:
|
||||
rec['x_payment_state'] = 'not_paid'
|
||||
else:
|
||||
rec['x_payment_state'] = 'not_paid' </field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
```
|
||||
Source: [snippets/ir_model.sale_order.x_payment_state.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/ir_model.sale_order.x_payment_state.xml)
|
||||
|
||||
### X Payment Term Blanket Order
|
||||
ID: `mint_system.ir_model.sale_order.x_payment_term_blanket_order`
|
||||
```xml
|
||||
@@ -2473,6 +2515,32 @@ ID: `mint_system.ir_model.stock_move.x_count_packaging`
|
||||
```
|
||||
Source: [snippets/ir_model.stock_move.x_count_packaging.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/ir_model.stock_move.x_count_packaging.xml)
|
||||
|
||||
### X Label Qty
|
||||
ID: `mint_system.ir_model.stock_move.x_label_qty`
|
||||
```xml
|
||||
<?xml version='1.0' encoding='UTF-8' ?>
|
||||
<odoo>
|
||||
|
||||
<record id="x_label_qty" model="ir.model.fields">
|
||||
<field name="field_description">Anzahl Etiketten</field>
|
||||
<field name="model">stock.move</field>
|
||||
<field name="model_id" ref="stock.model_stock_move"/>
|
||||
<field name="name">x_label_qty</field>
|
||||
<field name="store" eval="True"/>
|
||||
<field name="readonly" eval="False"/>
|
||||
<field name="copied" eval="False"/>
|
||||
<field name="ttype">int</field>
|
||||
<field name="depends">product_uom_qty</field>
|
||||
<field name="compute">for rec in self:
|
||||
rec['x_label_qty'] = 1
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
```
|
||||
Source: [snippets/ir_model.stock_move.x_label_qty.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/ir_model.stock_move.x_label_qty.xml)
|
||||
|
||||
### X Operation Qty
|
||||
ID: `mint_system.ir_model.stock_move.x_operation_qty`
|
||||
```xml
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
<?xml version='1.0' encoding='UTF-8' ?>
|
||||
<odoo>
|
||||
|
||||
<record id="x_payment_state" model="ir.model.fields">
|
||||
<field name="field_description">Zahlungsstatus</field>
|
||||
<field name="model">sale.order</field>
|
||||
<field name="model_id" ref="sale.model_sale_order"/>
|
||||
<field name="name">x_payment_state</field>
|
||||
<field name="store" eval="True"/>
|
||||
<field name="readonly" eval="True"/>
|
||||
<field name="copied" eval="False"/>
|
||||
<field name="ttype">selection</field>
|
||||
<field name="selection_id">[
|
||||
{'value':'not_paid','name':'Nicht Bezahlt'},
|
||||
{'value':'in_payment','name':'In Zahlung'},
|
||||
{'value':'paid','name':'Bezahlt'},
|
||||
]</field>
|
||||
<field name="depends">invoice_ids,invoice_ids.payment_state</field>
|
||||
<field name="compute">for rec in self:
|
||||
if rec.invoice_ids:
|
||||
has_only_paid_invoices = all(rec.invoice_ids.mapped(lambda i: i.payment_state == 'paid'))
|
||||
has_in_payment_invoices = any(rec.invoice_ids.mapped(lambda i: i.payment_state == 'in_payment'))
|
||||
has_not_paid_invoices = any(rec.invoice_ids.mapped(lambda i: i.payment_state == 'not_paid'))
|
||||
|
||||
if has_only_paid_invoices:
|
||||
rec['x_payment_state'] = 'paid'
|
||||
elif has_in_payment_invoices:
|
||||
rec['x_payment_state'] = 'in_payment'
|
||||
elif has_not_paid_invoices:
|
||||
rec['x_payment_state'] = 'not_paid'
|
||||
else:
|
||||
rec['x_payment_state'] = 'not_paid' </field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version='1.0' encoding='UTF-8' ?>
|
||||
<odoo>
|
||||
|
||||
<record id="x_label_qty" model="ir.model.fields">
|
||||
<field name="field_description">Anzahl Etiketten</field>
|
||||
<field name="model">stock.move</field>
|
||||
<field name="model_id" ref="stock.model_stock_move"/>
|
||||
<field name="name">x_label_qty</field>
|
||||
<field name="store" eval="True"/>
|
||||
<field name="readonly" eval="False"/>
|
||||
<field name="copied" eval="False"/>
|
||||
<field name="ttype">int</field>
|
||||
<field name="depends">product_uom_qty</field>
|
||||
<field name="compute">for rec in self:
|
||||
rec['x_label_qty'] = 1
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
+70
-3
@@ -3148,6 +3148,20 @@ ID: `mint_system.sale.sale_order_line_view_form_readonly.show_project_id`
|
||||
```
|
||||
Source: [snippets/sale.sale_order_line_view_form_readonly.show_project_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.sale_order_line_view_form_readonly.show_project_id.xml)
|
||||
|
||||
### Show Subscription Id
|
||||
ID: `mint_system.sale.sale_order_line_view_form_readonly.show_subscription_id`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="sale.sale_order_line_view_form_readonly" priority="50" >
|
||||
|
||||
<field name="order_id" position="after">
|
||||
<field name="subscription_id"/>
|
||||
</field>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/sale.sale_order_line_view_form_readonly.show_subscription_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.sale_order_line_view_form_readonly.show_subscription_id.xml)
|
||||
|
||||
## Sale Order Portal Content
|
||||
### Convert Html Note
|
||||
ID: `mint_system.sale.sale_order_portal_content.convert_html_note`
|
||||
@@ -3731,6 +3745,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/14.0/snippets/sale.view_order_form.show_order_line_project_id.xml)
|
||||
|
||||
### Show Order Line Subscription Id
|
||||
ID: `mint_system.sale.view_order_form.show_order_line_subscription_id`
|
||||
```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="subscription_id" optional="hide" />
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/sale.view_order_form.show_order_line_subscription_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_order_form.show_order_line_subscription_id.xml)
|
||||
|
||||
### Show Product Template Id
|
||||
ID: `mint_system.sale.view_order_form.show_product_template_id`
|
||||
```xml
|
||||
@@ -3889,7 +3917,7 @@ ID: `mint_system.sale.view_order_form.x_order_number`
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="sale.view_order_form" priority="50">
|
||||
|
||||
<xpath expr="//page[@name='other_information']//field[@name='client_order_ref']" position="after">
|
||||
<xpath expr="//group[@name='order_details']//field[@name='payment_term_id']" position="after">
|
||||
<field name="x_order_number"/>
|
||||
</xpath>
|
||||
|
||||
@@ -3897,6 +3925,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 State
|
||||
ID: `mint_system.sale.view_order_form.x_payment_state`
|
||||
```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_state"/>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/sale.view_order_form.x_payment_state.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_order_form.x_payment_state.xml)
|
||||
|
||||
### X Payment Term Blanket Order
|
||||
ID: `mint_system.sale.view_order_form.x_payment_term_blanket_order`
|
||||
```xml
|
||||
@@ -4393,11 +4435,10 @@ Source: [snippets/sale.view_quotation_tree.replace_create_date.xml](https://gith
|
||||
### 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='state']" position="before">
|
||||
<field name="delivery_status" optional="show"/>
|
||||
<field name="delivery_status" decoration-danger="delivery_status == 'pending'" decoration-warning="delivery_status == 'partial'" decoration-success="delivery_status == 'full'" widget="badge" optional="show"/>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
@@ -4418,6 +4459,32 @@ ID: `mint_system.sale.view_quotation_tree.show_payment_term_id`
|
||||
```
|
||||
Source: [snippets/sale.view_quotation_tree.show_payment_term_id.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_quotation_tree.show_payment_term_id.xml)
|
||||
|
||||
### X Order Number
|
||||
ID: `mint_system.sale.view_quotation_tree.x_order_number`
|
||||
```xml
|
||||
<data inherit_id="sale.view_quotation_tree" priority="50">
|
||||
|
||||
<xpath expr="//field[@name='name']" position="after">
|
||||
<field name="x_order_number"/>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/sale.view_quotation_tree.x_order_number.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_quotation_tree.x_order_number.xml)
|
||||
|
||||
### X Payment State
|
||||
ID: `mint_system.sale.view_quotation_tree.x_payment_state`
|
||||
```xml
|
||||
<data inherit_id="sale.view_quotation_tree" priority="50">
|
||||
|
||||
<xpath expr="//field[@name='invoice_status']" position="after">
|
||||
<field name="x_payment_state" optional="hide"/>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
```
|
||||
Source: [snippets/sale.view_quotation_tree.x_payment_state.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale.view_quotation_tree.x_payment_state.xml)
|
||||
|
||||
## View Sales Order Filter
|
||||
### Add Invoice Status
|
||||
ID: `mint_system.sale.view_sales_order_filter.add_invoice_status`
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="sale.view_order_form" priority="50">
|
||||
|
||||
<xpath expr="//page[@name='other_information']//field[@name='client_order_ref']" position="after">
|
||||
<xpath expr="//group[@name='order_details']//field[@name='payment_term_id']" position="after">
|
||||
<field name="x_order_number"/>
|
||||
</xpath>
|
||||
|
||||
|
||||
@@ -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_state"/>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
@@ -1,8 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="sale.view_quotation_tree" priority="50">
|
||||
|
||||
<xpath expr="//field[@name='state']" position="before">
|
||||
<field name="delivery_status" optional="show"/>
|
||||
<field name="delivery_status" decoration-danger="delivery_status == 'pending'" decoration-warning="delivery_status == 'partial'" decoration-success="delivery_status == 'full'" widget="badge" optional="show"/>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
@@ -0,0 +1,7 @@
|
||||
<data inherit_id="sale.view_quotation_tree" priority="50">
|
||||
|
||||
<xpath expr="//field[@name='name']" position="after">
|
||||
<field name="x_order_number"/>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
@@ -0,0 +1,7 @@
|
||||
<data inherit_id="sale.view_quotation_tree" priority="50">
|
||||
|
||||
<xpath expr="//field[@name='invoice_status']" position="after">
|
||||
<field name="x_payment_state" optional="hide"/>
|
||||
</xpath>
|
||||
|
||||
</data>
|
||||
@@ -1,4 +1,20 @@
|
||||
# Sale Product Set
|
||||
## View Order Stock Form
|
||||
### Show Button Always
|
||||
ID: `mint_system.sale_product_set.view_order_stock_form.show_button_always`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="sale_product_set.view_order_stock_form" priority="50">
|
||||
|
||||
<button name="639" position="attributes">
|
||||
<attribute name="attrs"></attribute>
|
||||
</button>
|
||||
|
||||
</data>
|
||||
|
||||
```
|
||||
Source: [snippets/sale_product_set.view_order_stock_form.show_button_always.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/sale_product_set.view_order_stock_form.show_button_always.xml)
|
||||
|
||||
## View Product Set Form
|
||||
### X Categ Id
|
||||
ID: `mint_system.sale_product_set.view_product_set_form.x_categ_id`
|
||||
|
||||
@@ -5923,6 +5923,51 @@ 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)
|
||||
|
||||
## Report Reception Report Label
|
||||
### Aersolution
|
||||
ID: `mint_system.stock.report_reception_report_label.aersolution`
|
||||
```xml
|
||||
<t t-name="stock.report_reception_report_label.aersolution">
|
||||
<t t-call="web.basic_layout">
|
||||
<div class="page">
|
||||
|
||||
<t t-foreach="docs" t-as="picking">
|
||||
<!--<t t-foreach="picking.move_ids.filtered(lambda m: m.quantity_done > 0.0)" t-as="move">-->
|
||||
<t t-foreach="picking.move_line_ids.filtered(lambda m: m.qty_done > 0.0)" t-as="move_line">
|
||||
<t t-foreach="range(0, move_line.move_id.x_label_qty)" t-as="label_qty">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<img t-if="picking.company_id.logo" t-att-src="image_data_uri(picking.company_id.logo)" style="max-width: 180px;" alt="Logo"/>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<strong><t t-esc="picking.company_id.partner_id.name"/><br/>
|
||||
<t t-esc="picking.company_id.partner_id.country_id.code"/>-<t t-esc="picking.company_id.partner_id.zip"/> <t t-esc="picking.company_id.partner_id.city"/></strong>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
||||
<p t-field="move_line.product_id"/>
|
||||
|
||||
<p><span style="margin-right: 8px;">LS/SN:</span><t t-esc="move_line.lot_id.name if move_line.lot_id else picking.name"/></p>
|
||||
|
||||
<p t-if="move_line.lot_id.expiration_date"><span style="margin-right: 8px;">EXP:</span><span t-field="move_line.lot_id.expiration_date" t-options="{'widget': 'date'}"/></p>
|
||||
|
||||
<t t-set="putaway_rule_id" t-value="move_line.product_id.putaway_rule_ids[:1]"/>
|
||||
<p><span style="margin-right: 8px;">LOC:</span><span t-esc="putaway_rule_id.location_out_id.display_name if putaway_rule_id else 'WH/Stock'"/></p>
|
||||
|
||||
<p style="page-break-before:always;"/>
|
||||
</t>
|
||||
</t>
|
||||
</t>
|
||||
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
```
|
||||
Source: [snippets/stock.report_reception_report_label.aersolution.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/stock.report_reception_report_label.aersolution.xml)
|
||||
|
||||
## Search Product Lot Filter
|
||||
### Filter Active
|
||||
ID: `mint_system.stock.search_product_lot_filter.filter_active`
|
||||
@@ -6961,6 +7006,21 @@ ID: `mint_system.stock.view_picking_form.x_count_boxes`
|
||||
```
|
||||
Source: [snippets/stock.view_picking_form.x_count_boxes.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/stock.view_picking_form.x_count_boxes.xml)
|
||||
|
||||
### X Label Qty
|
||||
ID: `mint_system.stock.view_picking_form.x_label_qty`
|
||||
```xml
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="stock.view_picking_form" priority="50">
|
||||
|
||||
<field name="product_uom" position="after">
|
||||
<field name="x_label_qty" optional="show"/>
|
||||
</field>
|
||||
|
||||
</data>
|
||||
|
||||
```
|
||||
Source: [snippets/stock.view_picking_form.x_label_qty.xml](https://github.com/Mint-System/Odoo-Build/tree/14.0/snippets/stock.view_picking_form.x_label_qty.xml)
|
||||
|
||||
## View Picking Internal Search
|
||||
### Filter Groupby Expected Date
|
||||
ID: `mint_system.stock.view_picking_internal_search.filter_groupby_expected_date`
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
<t t-name="stock.report_reception_report_label.aersolution">
|
||||
<t t-call="web.basic_layout">
|
||||
<div class="page">
|
||||
|
||||
<t t-foreach="docs" t-as="picking">
|
||||
<!--<t t-foreach="picking.move_ids.filtered(lambda m: m.quantity_done > 0.0)" t-as="move">-->
|
||||
<t t-foreach="picking.move_line_ids.filtered(lambda m: m.qty_done > 0.0)" t-as="move_line">
|
||||
<t t-foreach="range(0, move_line.move_id.x_label_qty)" t-as="label_qty">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<img t-if="picking.company_id.logo" t-att-src="image_data_uri(picking.company_id.logo)" style="max-width: 180px;" alt="Logo"/>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<strong><t t-esc="picking.company_id.partner_id.name"/><br/>
|
||||
<t t-esc="picking.company_id.partner_id.country_id.code"/>-<t t-esc="picking.company_id.partner_id.zip"/> <t t-esc="picking.company_id.partner_id.city"/></strong>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
||||
<p t-field="move_line.product_id"/>
|
||||
|
||||
<p><span style="margin-right: 8px;">LS/SN:</span><t t-esc="move_line.lot_id.name if move_line.lot_id else picking.name"/></p>
|
||||
|
||||
<p t-if="move_line.lot_id.expiration_date"><span style="margin-right: 8px;">EXP:</span><span t-field="move_line.lot_id.expiration_date" t-options="{'widget': 'date'}"/></p>
|
||||
|
||||
<t t-set="putaway_rule_id" t-value="move_line.product_id.putaway_rule_ids[:1]"/>
|
||||
<p><span style="margin-right: 8px;">LOC:</span><span t-esc="putaway_rule_id.location_out_id.display_name if putaway_rule_id else 'WH/Stock'"/></p>
|
||||
|
||||
<p style="page-break-before:always;"/>
|
||||
</t>
|
||||
</t>
|
||||
</t>
|
||||
|
||||
</div>
|
||||
</t>
|
||||
</t>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<data inherit_id="stock.view_picking_form" priority="50">
|
||||
|
||||
<field name="product_uom" position="after">
|
||||
<field name="x_label_qty" optional="show"/>
|
||||
</field>
|
||||
|
||||
</data>
|
||||
Reference in new issue
Block a user