Files
odoo-usability/purchase_stock_usability_akretion/views/stock_picking.xml
Alexis de Lattre 8e5d3b8a74 [MIG] purchase_stock_usability_akretion to v18
incoterm_id is a field of purchase module, not purchase_stock ; so move
the inherit of this field from purchase_stock_usability_akretion to
purchase_usability_akretion
2024-12-30 12:47:30 +01:00

27 lines
918 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2017-2024 Akretion France (https://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_picking_form" model="ir.ui.view">
<field name="name">purchase_stock_usability.stock.picking.form</field>
<field name="model">stock.picking</field>
<field name="inherit_id" ref="stock.view_picking_form"/>
<field name="arch" type="xml">
<field name="origin" position="after">
<field name="purchase_id" invisible="not purchase_id"/>
</field>
<xpath expr="//field[@name='move_ids_without_package']/list/field[@name='product_id']" position="after">
<field name="product_supplier_code" optional="hide" column_invisible="not parent.purchase_id"/>
</xpath>
</field>
</record>
</odoo>