1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/l10n_ke_edi_oscu/views/res_company_views.xml
2024-12-10 09:04:09 +07:00

23 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="res_company_form_inherit_l10n_ke_edi_oscu" model="ir.ui.view">
<field name="name">res.company.form.inherit.l10n.ke.edi.oscu</field>
<field name="model">res.company</field>
<field name="inherit_id" ref="base.view_company_form"/>
<field name="arch" type="xml">
<field name="vat" position="after">
<field name="l10n_ke_branch_code" invisible="country_code != 'KE'"/>
</field>
<field name="child_ids" position="before">
<div class="text-muted" colspan="2" invisible="country_code != 'KE' or l10n_ke_branch_code != '00'">
Information about branches on this company can be fetched from the KRA and used to create branches in Odoo.
The OSCU will need to be initialized independently for each of these branches.
<button class="p-0 border-0 oe_inline oe_link" icon="fa-arrow-right" name="action_l10n_ke_create_branches" string="Populate from KRA" type="object"/>
</div>
</field>
</field>
</record>
</data>
</odoo>