Files
Odoo-18.0-20251222/stock_picking_invoicing/views/stock_move_views.xml
tocmo0nlord adbe430761
Some checks failed
pre-commit / pre-commit (push) Has been cancelled
tests / Detect unreleased dependencies (push) Has been cancelled
tests / test with OCB (push) Has been cancelled
tests / test with Odoo (push) Has been cancelled
Initial commit: Odoo 18.0-20251222 extra-addons
2026-03-13 20:43:25 +00:00

61 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="view_move_picking_form" model="ir.ui.view">
<field name="name">stock.move.form.invoice_state</field>
<field name="model">stock.move</field>
<field name="inherit_id" ref="stock.view_move_form" />
<field name="arch" type="xml">
<field name="date_deadline" position="after">
<field name="invoice_state" groups="account.group_account_invoice" />
<field name="invoice_state" invisible="1" />
</field>
<group name="linked_group" position="after">
<group
name="invoice_lines"
string="Invoicing"
colspan="4"
groups="base.group_no_one"
invisible="invoice_state in [False, 'none']"
>
<field name="invoice_line_ids" readonly="1" nolabel="1" />
</group>
</group>
</field>
</record>
<record id="view_move_form_inherit" model="ir.ui.view">
<field name="name">stock.move.form.inherit</field>
<field name="model">stock.move</field>
<field name="inherit_id" ref="stock_picking_invoice_link.view_move_form" />
<field name="arch" type="xml">
<field name="date" position="after">
<field name="invoice_state" groups="account.group_account_invoice" />
<field name="invoice_state" invisible="1" />
</field>
<field name="invoice_line_ids" position="attributes">
<attribute name="invisible">invoice_state in [False, 'none']</attribute>
</field>
</field>
</record>
<record id="view_move_tree" model="ir.ui.view">
<field name="name">stock.move.list (in stock_picking_invoicing)</field>
<field name="model">stock.move</field>
<field name="inherit_id" ref="stock.view_move_tree" />
<field name="arch" type="xml">
<field name="state" position="before">
<field name="invoice_state" groups="account.group_account_invoice" />
</field>
</field>
</record>
<!--List view used into stock.picking form view-->
<record id="view_picking_move_tree" model="ir.ui.view">
<field name="name">stock.move.list (in stock_picking_invoicing)</field>
<field name="model">stock.move</field>
<field name="inherit_id" ref="stock.view_picking_move_tree" />
<field name="arch" type="xml">
<field name="state" position="before">
<field name="invoice_state" groups="account.group_account_invoice" />
</field>
</field>
</record>
</odoo>