[IMP] form views

bzr revid: fp@tinyerp.com-20120607175655-5wbsn1wktm1qcccp
This commit is contained in:
Fabien Pinckaers 2012-06-07 19:56:55 +02:00
parent 7a72294603
commit 183ecc85e6
2 changed files with 30 additions and 37 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0"?>
<openerp>
<data>
<menuitem name="Import &amp; Synchronize" id="base.menu_import_crm" parent="base.menu_base_partner" sequence="6"/>
</data>
</openerp>
<menuitem name="Import &amp; Synchronize" id="base.menu_import_crm" parent="base.menu_base_partner" sequence="6"/>
</data>
</openerp>

View File

@ -8,33 +8,28 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Partner VAT intra">
<group width="450">
<separator string="Intracom VAT Declaration" colspan="4"/>
<notebook colspan="4">
<page string="General Information">
<newline/>
<field name="period_code"/>
<newline/>
<field name="tax_code_id" string="Company" widget="selection" groups="base.group_multi_company"/>
<newline/>
<field name="mand_id"/>
<newline/>
<separator string="Periods" colspan="4"/>
<field name="period_ids" nolabel="1" colspan="4" height="200"/>
<group colspan="4">
<separator string="Comments" colspan="4"/>
<field colspan="4" name="comments" nolabel="1"/>
</group>
</page>
<page string="European Countries">
<field name="country_ids" colspan="4" nolabel="1"/>
</page>
</notebook>
<separator colspan="4"/><label/>
<button special="cancel" string="_Close" icon="gtk-cancel"/>
<button name="preview" string="_Preview" type="object" icon="gtk-print"/>
<header>
<button name="create_xml" string="Create _XML" type="object" icon="gtk-execute"/>
</group>
<button name="preview" string="_Preview" type="object" icon="gtk-print"/>
<button special="cancel" string="_Close" icon="gtk-cancel"/>
</header>
<separator string="Intracom VAT Declaration"/>
<notebook colspan="4">
<page string="General Information">
<group>
<field name="period_code"/>
<field name="tax_code_id" string="Company" widget="selection" groups="base.group_multi_company"/>
<field name="mand_id"/>
</group>
<separator string="Periods"/>
<field name="period_ids"/>
<separator string="Comments"/>
<field name="comments"/>
</page>
<page string="European Countries">
<field name="country_ids" colspan="4" nolabel="1"/>
</page>
</notebook>
</form>
</field>
</record>
@ -45,15 +40,13 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Save XML">
<group width="450">
<separator colspan="2" string="Note: "/><newline/>
<label string="Save the File with '.xml' extension." colspan="2" align="0.0"/><newline/>
<field name="name" colspan="4"/>
<newline/>
<field name="file_save" colspan="4" filename="name"/>
<newline/>
<header>
<button special="cancel" string="Close" icon="gtk-cancel" colspan="4"/>
</group>
</header>
<separator string="Note: "/>
<label string="Save the File with '.xml' extension."/>
<field name="name"/>
<field name="file_save" filename="name"/>
</form>
</field>
</record>