[IMP]association : membership product form view improvement
bzr revid: hsa@tinyerp.com-20120626093915-30fvknrjzwmpmfex
This commit is contained in:
parent
0a22debf5f
commit
1c9a4ce127
|
@ -52,38 +52,56 @@
|
|||
<field name="model">product.product</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Membership products">
|
||||
<group col="6">
|
||||
<field name="name"/>
|
||||
<field name="default_code"/>
|
||||
<field name="active"/>
|
||||
<field name="membership" invisible="1"/>
|
||||
<field name="membership_date_from" required="1"/>
|
||||
<field name="membership_date_to" required="1"/>
|
||||
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
|
||||
</group>
|
||||
<notebook colspan="4">
|
||||
<page string="General">
|
||||
<separator string="Accounting Info" colspan="2"/>
|
||||
<separator string="Categorization" colspan="2"/>
|
||||
<field name="list_price" string="Membership Fee"/>
|
||||
<field name="type" />
|
||||
<field name="property_account_income" domain="[('type', '!=', 'view')]"/>
|
||||
<field name="categ_id"/>
|
||||
<separator string="Sale Taxes" colspan="2"/>
|
||||
<newline/>
|
||||
<field name="taxes_id" nolabel="1" colspan="4"/>
|
||||
</page>
|
||||
<page string="Description">
|
||||
<separator string="Description"/>
|
||||
<field colspan="4" name="description" nolabel="1"/>
|
||||
<separator string="Sale Description"/>
|
||||
<field colspan="4" name="description_sale" nolabel="1"/>
|
||||
<separator string="Purchase Description"/>
|
||||
<field colspan="4" name="description_purchase" nolabel="1"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</form>
|
||||
<form string="Membership products" version="7.0">
|
||||
<sheet>
|
||||
<group>
|
||||
<group>
|
||||
<field name="name" />
|
||||
<field name="default_code" />
|
||||
<field name="type" />
|
||||
<field name="categ_id" />
|
||||
</group>
|
||||
<group>
|
||||
<field name="membership" invisible="1"/>
|
||||
<label for="membership_date_from"
|
||||
string="Membership Duration" />
|
||||
<div>
|
||||
<field name="membership_date_from"
|
||||
required="1" class="oe_online"
|
||||
nolabel="1" />
|
||||
<label string="-" />
|
||||
<field name="membership_date_to"
|
||||
required="1" class="oe_online"
|
||||
nolabel="1" />
|
||||
</div>
|
||||
<field name="list_price"
|
||||
string="Membership Fee" />
|
||||
<field
|
||||
name="property_account_income"
|
||||
domain="[('type', '!=', 'view')]" />
|
||||
</group>
|
||||
</group>
|
||||
<field name="taxes_id" nolabel="1" colspan="4" />
|
||||
<group>
|
||||
<field name="company_id"
|
||||
groups="base.group_multi_company"
|
||||
widget="selection" />
|
||||
<field name="active" />
|
||||
</group>
|
||||
<group string="Description">
|
||||
<field colspan="4" name="description"
|
||||
nolabel="1" />
|
||||
</group>
|
||||
<group string="Sale Description">
|
||||
<field colspan="4" name="description_sale"
|
||||
nolabel="1" />
|
||||
</group>
|
||||
<group string="Purchase Description">
|
||||
<field colspan="4"
|
||||
name="description_purchase" nolabel="1" />
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
Loading…
Reference in New Issue