mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-27 12:32:02 +02:00
19.0 vanilla
This commit is contained in:
parent
79f83631d5
commit
73afc09215
6267 changed files with 1534193 additions and 1130106 deletions
|
|
@ -16,12 +16,12 @@
|
|||
<t t-set="new_qty" t-value="exception[1][0]"/>
|
||||
<t t-set="old_qty" t-value="exception[1][1]"/>
|
||||
<a href="#" data-oe-model="sale.order" t-att-data-oe-id="order_line.order_id.id"><t t-esc="order_line.order_id.name"/></a>:
|
||||
<t t-esc="new_qty"/> <t t-esc="order_line.product_uom.name"/> of <t t-esc="order_line.product_id.name"/>
|
||||
<t t-esc="new_qty"/> <t t-esc="order_line.product_uom_id.name"/> of <t t-esc="order_line.product_id.name"/>
|
||||
<t t-if="cancel">
|
||||
cancelled
|
||||
</t>
|
||||
<t t-if="not cancel">
|
||||
ordered instead of <t t-esc="old_qty"/> <t t-esc="order_line.product_uom.name"/>
|
||||
ordered instead of <t t-esc="old_qty"/> <t t-esc="order_line.product_uom_id.name"/>
|
||||
</t>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@
|
|||
<field name="partner_invoice_id" ref="base.res_partner_address_25"/>
|
||||
<field name="partner_shipping_id" ref="base.res_partner_address_25"/>
|
||||
<field name="user_id" ref="base.user_demo"/>
|
||||
<field name="pricelist_id" ref="product.list0"/>
|
||||
<field name="team_id" ref="sales_team.team_sales_department"/>
|
||||
<field name="campaign_id" ref="utm.utm_campaign_email_campaign_products"/>
|
||||
<field name="medium_id" ref="utm.utm_medium_email"/>
|
||||
|
|
@ -43,19 +42,15 @@
|
|||
|
||||
<record id="sale_order_line_42" model="sale.order.line">
|
||||
<field name="order_id" ref="sale_order_19"/>
|
||||
<field name="name" model="sale.order.line" eval="obj().env.ref('product.product_product_25').get_product_multiline_description_sale()"/>
|
||||
<field name="product_id" ref="product.product_product_25"/>
|
||||
<field name="product_uom_qty">5</field>
|
||||
<field name="product_uom" ref="uom.product_uom_unit"/>
|
||||
<field name="price_unit">295.00</field>
|
||||
</record>
|
||||
|
||||
<record id="sale_order_line_43" model="sale.order.line">
|
||||
<field name="order_id" ref="sale_order_19"/>
|
||||
<field name="name" model="sale.order.line" eval="obj().env.ref('product.product_product_10').get_product_multiline_description_sale()"/>
|
||||
<field name="product_id" ref="product.product_product_10"/>
|
||||
<field name="product_uom_qty">5</field>
|
||||
<field name="product_uom" ref="uom.product_uom_unit"/>
|
||||
<field name="price_unit">140.00</field>
|
||||
</record>
|
||||
|
||||
|
|
@ -64,7 +59,6 @@
|
|||
<field name="partner_invoice_id" ref="base.res_partner_address_25"/>
|
||||
<field name="partner_shipping_id" ref="base.res_partner_address_25"/>
|
||||
<field name="user_id" ref="base.user_demo"/>
|
||||
<field name="pricelist_id" ref="product.list0"/>
|
||||
<field name="team_id" ref="sales_team.team_sales_department"/>
|
||||
<field name="campaign_id" ref="utm.utm_campaign_email_campaign_products"/>
|
||||
<field name="medium_id" ref="utm.utm_medium_email"/>
|
||||
|
|
@ -75,10 +69,8 @@
|
|||
|
||||
<record id="sale_order_line_44" model="sale.order.line">
|
||||
<field name="order_id" ref="sale_order_20"/>
|
||||
<field name="name" model="sale.order.line" eval="obj().env.ref('product.product_product_25').get_product_multiline_description_sale()"/>
|
||||
<field name="product_id" ref="product.product_product_25"/>
|
||||
<field name="product_uom_qty">5</field>
|
||||
<field name="product_uom" ref="uom.product_uom_unit"/>
|
||||
<field name="price_unit">295.00</field>
|
||||
</record>
|
||||
|
||||
|
|
@ -87,7 +79,6 @@
|
|||
<field name="partner_invoice_id" ref="base.res_partner_address_25"/>
|
||||
<field name="partner_shipping_id" ref="base.res_partner_address_25"/>
|
||||
<field name="user_id" ref="base.user_demo"/>
|
||||
<field name="pricelist_id" ref="product.list0"/>
|
||||
<field name="team_id" ref="sales_team.team_sales_department"/>
|
||||
<field name="campaign_id" ref="utm.utm_campaign_email_campaign_products"/>
|
||||
<field name="medium_id" ref="utm.utm_medium_email"/>
|
||||
|
|
@ -98,19 +89,15 @@
|
|||
|
||||
<record id="sale_order_line_45" model="sale.order.line">
|
||||
<field name="order_id" ref="sale_order_21"/>
|
||||
<field name="name" model="sale.order.line" eval="obj().env.ref('product.product_product_25').get_product_multiline_description_sale()"/>
|
||||
<field name="product_id" ref="product.product_product_25"/>
|
||||
<field name="product_uom_qty">10</field>
|
||||
<field name="product_uom" ref="uom.product_uom_unit"/>
|
||||
<field name="price_unit">295.00</field>
|
||||
</record>
|
||||
|
||||
<record id="sale_order_line_46" model="sale.order.line">
|
||||
<field name="order_id" ref="sale_order_21"/>
|
||||
<field name="name" model="sale.order.line" eval="obj().env.ref('product.product_product_10').get_product_multiline_description_sale()"/>
|
||||
<field name="product_id" ref="product.product_product_10"/>
|
||||
<field name="product_uom_qty">10</field>
|
||||
<field name="product_uom" ref="uom.product_uom_unit"/>
|
||||
<field name="price_unit">140.00</field>
|
||||
</record>
|
||||
|
||||
|
|
@ -119,7 +106,6 @@
|
|||
<field name="partner_invoice_id" ref="base.res_partner_address_25"/>
|
||||
<field name="partner_shipping_id" ref="base.res_partner_address_25"/>
|
||||
<field name="user_id" ref="base.user_demo"/>
|
||||
<field name="pricelist_id" ref="product.list0"/>
|
||||
<field name="team_id" ref="sales_team.team_sales_department"/>
|
||||
<field name="campaign_id" ref="utm.utm_campaign_email_campaign_products"/>
|
||||
<field name="medium_id" ref="utm.utm_medium_email"/>
|
||||
|
|
@ -130,10 +116,8 @@
|
|||
|
||||
<record id="sale_order_line_47" model="sale.order.line">
|
||||
<field name="order_id" ref="sale_order_22"/>
|
||||
<field name="name" model="sale.order.line" eval="obj().env.ref('product.product_product_5').get_product_multiline_description_sale()"/>
|
||||
<field name="product_id" ref="product.product_product_5"/>
|
||||
<field name="product_uom_qty">10</field>
|
||||
<field name="product_uom" ref="uom.product_uom_unit"/>
|
||||
<field name="price_unit">199.00</field>
|
||||
</record>
|
||||
|
||||
|
|
@ -161,13 +145,16 @@
|
|||
|
||||
|
||||
<!-- Inventory for new Customizable Desks -->
|
||||
<record id="product.product_product_4f" model="product.product">
|
||||
<field name="is_storable" eval="True"/>
|
||||
</record>
|
||||
<record id="stock_inventory_7e" model="stock.quant">
|
||||
<field name="product_id" ref="sale.product_product_4e"/>
|
||||
<field name="product_id" ref="product.product_product_4e"/>
|
||||
<field name="inventory_quantity">65.0</field>
|
||||
<field name="location_id" model="stock.location" eval="obj().env.ref('stock.warehouse0').lot_stock_id.id"/>
|
||||
</record>
|
||||
<record id="stock_inventory_7f" model="stock.quant">
|
||||
<field name="product_id" ref="sale.product_product_4f"/>
|
||||
<field name="product_id" ref="product.product_product_4f"/>
|
||||
<field name="inventory_quantity">70.0</field>
|
||||
<field name="location_id" model="stock.location" eval="obj().env.ref('stock.warehouse0').lot_stock_id.id"/>
|
||||
</record>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue