19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:30:07 +01:00
parent ba20ce7443
commit 768b70e05e
2357 changed files with 1057103 additions and 712486 deletions

View file

@ -1,34 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record model="ir.ui.view" id="view_stock_quant_tree_inherit">
<field name="name">stock.quant.tree.inherit</field>
<field name="name">stock.quant.list.inherit</field>
<field name="model">stock.quant</field>
<field name="inherit_id" ref="stock.view_stock_quant_tree"></field>
<field name="arch" type="xml">
<xpath expr="//field[@name='product_uom_id']" position="after">
<field name="currency_id" invisible="1"/>
<field name="currency_id" column_invisible="True"/>
<field name="value" optional="hidden"/>
</xpath>
</field>
</record>
<record model="ir.ui.view" id="view_stock_quant_tree_editable_inherit">
<field name="name">stock.quant.tree.editable.inherit</field>
<field name="name">stock.quant.list.editable.inherit</field>
<field name="model">stock.quant</field>
<field name="inherit_id" ref="stock.view_stock_quant_tree_editable"></field>
<field name="arch" type="xml">
<xpath expr="//field[@name='product_uom_id']" position="after">
<field name="currency_id" invisible="1"/>
<field name="cost_method" invisible="1"/>
<field name="currency_id" column_invisible="True"/>
<field name="cost_method" column_invisible="True"/>
<field name="value" optional="hidden" sum="Total Value"/>
</xpath>
<xpath expr="//button[@name='action_view_orderpoints']" position="after">
<button name="%(stock_valuation_layer_report_action)d" title="Stock Valuation"
string="Valuation" type="action" class="btn-link" icon="fa-bar-chart"
context="{'search_default_product_id': product_id}"
attrs="{'invisible': [('cost_method', '!=', 'fifo')]}"/>
</xpath>
</field>
</record>
<record id="view_stock_quant_tree_inventory_editable_inherit_stock_account" model="ir.ui.view">
<field name="name">stock.quant.inventory.list.editable.inherit.stock.account</field>
<field name="model">stock.quant</field>
<field name="inherit_id" ref="stock.view_stock_quant_tree_inventory_editable"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='product_uom_id']" position="after">
<field name="accounting_date" optional="hide"/>
</xpath>
</field>
</record>
</odoo>