1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/l10n_pe_edi/wizards/account_invoice_refund_views.xml
2024-12-10 09:04:09 +07:00

18 lines
821 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="view_account_move_reversal" model="ir.ui.view">
<field name="name">account.move.reversal.form</field>
<field name="model">account.move.reversal</field>
<field name="inherit_id" ref="account.view_account_move_reversal"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='journal_id']" position="after">
<field name="country_code" invisible="1"/>
<field name="l10n_pe_edi_refund_reason" widget="selection" invisible="country_code != 'PE'"/>
</xpath>
<xpath expr="//field[@name='journal_id']" position="attributes">
<attribute name="domain">[('type', '=', 'sale')]</attribute>
</xpath>
</field>
</record>
</odoo>