1234567891011121314151617 |
- <?xml version="1.0" encoding="utf-8"?>
- <openerp>
- <data>
- <record id="view_account_journal_form" model="ir.ui.view">
- <field name="name">account.journal.form</field>
- <field name="model">account.journal</field>
- <field name="inherit_id" ref="account.view_account_journal_form"/>
- <field name="arch" type="xml">
- <field name="company_id" position="after">
- <field name="number" attrs=" {'required':[('type','=','sale')],'invisible': [('type','!=','sale')]}"/>
- <field name="start_of_validity" attrs=" {'required':[('type','=','sale')],'invisible': [('type','!=','sale')]}"/>
- <field name="end_of_validity" attrs=" {'required':[('type','=','sale')],'invisible': [('type','!=','sale')]}"/>
- </field>
- </field>
- </record>
- </data>
- </openerp>
|