Skip to content

Commit

Permalink
[ADD] Company view for own_number_type field
Browse files Browse the repository at this point in the history
  • Loading branch information
sadamo committed Apr 21, 2020
1 parent 0859169 commit cec903d
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions l10n_br_account_payment_cobranca/views/res_company.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<!-- <record id="view_boleto_account_company_form" model="ir.ui.view">-->
<!-- <field name="name">l10n_br_account_payment_boleto.res.company.form-->
<!-- </field>-->
<!-- <field name="model">res.company</field>-->
<!-- <field name="inherit_id"-->
<!-- ref="l10n_br_account.l10n_br_account_company_form"/>-->
<!-- <field name="arch" type="xml">-->
<!-- <page position="after" name="fiscal">-->
<!-- <page string="Cobrança">-->
<!-- <group>-->
<!-- <field name="own_number_type"/>-->
<!-- <field name="own_number_sequence" attrs="{'invisible': [('own_number_type', '!=', '0')],-->
<!-- 'required': [('own_number_type', '==', '0')]}"/>-->
<!-- </group>-->
<!-- </page>-->
<record id="view_boleto_account_company_form" model="ir.ui.view">
<field name="name">l10n_br_account_payment_boleto.res.company.form
</field>
<field name="model">res.company</field>
<field name="inherit_id"
ref="base.view_company_form"/>
<field name="arch" type="xml">
<notebook position="inside">
<page string="Cobrança">
<group>
<field name="own_number_type"/>
<field name="own_number_sequence" attrs="{'invisible': [('own_number_type', '!=', '0')],
'required': [('own_number_type', '==', '0')]}"/>
</group>
</page>
<!-- <page string="Api Itaú" group="base.group_no_one">-->
<!-- <group>-->
<!-- <field name="environment"/>-->
Expand All @@ -27,7 +27,7 @@
<!-- <field name="api_itau_token_due_datetime"/>-->
<!-- </group>-->
<!-- </page>-->
<!-- </page>-->
<!-- </field>-->
<!-- </record>-->
</notebook>
</field>
</record>
</odoo>

0 comments on commit cec903d

Please sign in to comment.