stock_no_negative/views/stock_location_views.xml
2026-01-12 16:43:00 +07:00

22 lines
789 B
XML
Executable File

<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright 2018 Akretion (http://www.akretion.com/)
@author Alexis de Lattre <alexis.delattre@akretion.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
-->
<odoo>
<record id="view_location_form" model="ir.ui.view">
<field name="name">stock.location.form.allow_negative_stock</field>
<field name="model">stock.location</field>
<field name="inherit_id" ref="stock.view_location_form" />
<field name="arch" type="xml">
<field name="usage" position="after">
<field
name="allow_negative_stock"
invisible="usage not in ['internal', 'transit']"
/>
</field>
</field>
</record>
</odoo>