mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[UPD] Update stock_reserve.pot [UPD] README.rst [UPD] Update stock_reserve.pot Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-warehouse-13.0/stock-logistics-warehouse-13.0-stock_reserve Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-13-0/stock-logistics-warehouse-13-0-stock_reserve/
48 lines
1.9 KiB
XML
48 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<odoo>
|
|
<record model="ir.ui.view" id="product_template_form_view_reservation_button">
|
|
<field name="name">product.template.reservation.button</field>
|
|
<field name="model">product.template</field>
|
|
<field name="inherit_id" ref="product.product_template_only_form_view" />
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//div[@name='button_box']" position="inside">
|
|
<button
|
|
class="oe_inline oe_stat_button"
|
|
name="action_view_reservations"
|
|
type="object"
|
|
attrs="{'invisible':[('type', '!=', 'product')]}"
|
|
icon="fa-lock"
|
|
>
|
|
<field
|
|
string="Stock Reservations"
|
|
name="reservation_count"
|
|
widget="statinfo"
|
|
/>
|
|
</button>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
<record model="ir.ui.view" id="product_product_form_view_reservation_button">
|
|
<field name="name">product.product.reservation.button</field>
|
|
<field name="model">product.product</field>
|
|
<field name="inherit_id" ref="product.product_normal_form_view" />
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//div[@name='button_box']" position="inside">
|
|
<button
|
|
class="oe_inline oe_stat_button"
|
|
name="action_view_reservations"
|
|
type="object"
|
|
attrs="{'invisible':[('type', '!=', 'product')]}"
|
|
icon="fa-lock"
|
|
>
|
|
<field
|
|
string="Stock Reservations"
|
|
name="reservation_count"
|
|
widget="statinfo"
|
|
/>
|
|
</button>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|