Skip to content

Commit

Permalink
nenujni poleta
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin.Konstantinov committed Aug 30, 2016
1 parent 9ea624e commit 29268c8
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions l10n_bg/views/res_partner_view.xml
Original file line number Diff line number Diff line change
@@ -1,39 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="0">
<record id="view_partner_form_1" model="ir.ui.view">
<field name="name">partner.myform1</field>
<record id="view_partner_l10n_form" model="ir.ui.view">
<field name="name">res.partner.l10n.fields</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="base.view_partner_form"/>
<field name="arch" type="xml">

<field name="name" position="after">
<label for="bg_egn" string="EGN" attrs="{'invisible': [('is_company','=',True)]}"/>
<div id="bg_egn" class="o_row" attrs="{'invisible': [('is_company','=',True)]}">
<field name="bg_egn" placeholder="Type Bulgarian EGN" />
</div>
</field>
</field>
</record>

<record id="view_partner_form_2" model="ir.ui.view">
<field name="name">partner.myform2</field>
<field name="model">res.partner</field>
<field name="inherit_id" ref="account.view_partner_property_form"/>
<field name="arch" type="xml">
<field name="property_account_position_id" position="after">
<label for="bg_mol" string="MOL" attrs="{'invisible': [('is_company','=',False)]}"/>
<div id="bg_mol" class="o_row" attrs="{'invisible': [('is_company','=',False)]}">
<field name="bg_mol" placeholder="e.g. Ivan Ivanov"/>
</div>
</field>
<field name="property_account_position_id" position="after">
<label for="bg_uic" string="UIC" attrs="{'invisible': [('is_company','=',False)]}"/>
<div id="bg_uic" class="o_row" attrs="{'invisible': [('is_company','=',False)]}">
<field name="bg_uic" placeholder="e.g. BULSTAT or EIK"/>
</div>
</field>

</field>
</record>

</data>
</openerp>

0 comments on commit 29268c8

Please sign in to comment.