Skip to content

Commit

Permalink
Habilitar "Informação Pessoal" para Contato "Empresa" popsolutions#20
Browse files Browse the repository at this point in the history
Removendo "personal_information". Esta tag foi acrescentada no commit anterior porém não deu certo (Duplicou o "Personal Information")
  • Loading branch information
MateusONunes committed Nov 11, 2021
1 parent 4582a06 commit a3a94e1
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions bailaki/views/res_partner.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,6 @@
</field>
</record>

<record id="personal_information" model="ir.ui.view">
<!-- this inheritance only exists to remove the source code "attrs="{'invisible': [('is_company','=',True)]}"" -->
<!-- so that the "Personal Information" page always appears (regardless of the value of the "is_company" field)-->
<field name="name">Personal information page for contacts form</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="priority">2</field>
<field name="arch" type="xml">
<xpath expr="//page[@name='internal_notes']" position="after">
<page name="personal_information_page"
string="Personal Information-"
>
<group name="personal_information_group"/>
</page>
</xpath>
</field>
</record>

<record id="extra_image" model="ir.ui.view">
<field name="name">res.partner.image.page.form (in bailaki)</field>
<field name="model">res.partner</field>
Expand Down

0 comments on commit a3a94e1

Please sign in to comment.