[FIX] dev
This commit is contained in:
parent
b9091bee75
commit
151584af79
@ -16,7 +16,8 @@ class ResPartner(models.Model):
|
|||||||
full_adress = fields.Char(
|
full_adress = fields.Char(
|
||||||
compute='_compute_full_adress'
|
compute='_compute_full_adress'
|
||||||
) # Check for res.partner.contact_address in base/res
|
) # Check for res.partner.contact_address in base/res
|
||||||
address_actual = fields.Char(
|
street_actual = fields.Many2one(
|
||||||
|
'res.partner',
|
||||||
string='Actual Address',
|
string='Actual Address',
|
||||||
)
|
)
|
||||||
passport_authority = fields.Char(
|
passport_authority = fields.Char(
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//field[@name='category_id']" position="after">
|
<xpath expr="//field[@name='category_id']" position="after">
|
||||||
|
|
||||||
<field name="function" attrs="{'invisible': [('company_type', '=', 'company')]}"/>
|
|
||||||
<field name="representative_id" domain="[('company_type', '=', 'person')]" attrs="{'invisible': [('company_type', '!=', 'company')]}"/>
|
<field name="representative_id" domain="[('company_type', '=', 'person')]" attrs="{'invisible': [('company_type', '!=', 'company')]}"/>
|
||||||
|
|
||||||
<field name="passport_series" attrs="{'invisible': [('company_type', '=', 'company')]}"/>
|
<field name="passport_series" attrs="{'invisible': [('company_type', '=', 'company')]}"/>
|
||||||
@ -30,7 +29,7 @@
|
|||||||
<field name="passport_date" attrs="{'invisible': [('company_type', '=', 'company')]}"/>
|
<field name="passport_date" attrs="{'invisible': [('company_type', '=', 'company')]}"/>
|
||||||
<field name="passport_authority" attrs="{'invisible': [('company_type', '=', 'company')]}"/>
|
<field name="passport_authority" attrs="{'invisible': [('company_type', '=', 'company')]}"/>
|
||||||
|
|
||||||
<!-- <field name="signature" widget="image"/> -->
|
<field name="signature" widget="image"/>
|
||||||
|
|
||||||
</xpath>
|
</xpath>
|
||||||
|
|
||||||
@ -44,7 +43,11 @@
|
|||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
|
|
||||||
<field name="signature" widget="image"/>
|
</xpath>
|
||||||
|
|
||||||
|
<xpath expr="//field[@name='vat']" position="before">
|
||||||
|
|
||||||
|
<field name="street_actual"/>
|
||||||
|
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user