[IMP] make invisible function_genitive because of no use
This commit is contained in:
parent
05880b6279
commit
53ad6f8002
@ -10,7 +10,7 @@ class ResPartner(models.Model):
|
||||
)
|
||||
name_genitive = fields.Char(string="Name Genitive",)
|
||||
name_initials = fields.Char(string="Name Initials",)
|
||||
function_genitive = fields.Char(string="Function Genitive",)
|
||||
function_genitive = fields.Char(string="Function Genitive",) # TODO: have no use of this
|
||||
client_contract_ids = fields.One2many(
|
||||
"res.partner.contract", "partner_id", string="Contracts",
|
||||
)
|
||||
|
@ -49,7 +49,7 @@
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//field[@name='function']" position="after">
|
||||
<field name="function_genitive" attrs="{'invisible': [('is_company','=', True)]}"/>
|
||||
<field name="function_genitive" attrs="{'invisible': [('is_company','=', True)]}" invisible="1"/>
|
||||
</xpath>
|
||||
|
||||
<xpath expr="//field[@name='email']" position="before">
|
||||
|
Loading…
x
Reference in New Issue
Block a user