[IMP] form views: remove sheets in config forms

(Closes #850)
This commit is contained in:
tpa-odoo
2014-08-13 09:28:24 +02:00
committed by Richard Mathot
parent e081fd0df4
commit cf9230d1ff
14 changed files with 252 additions and 289 deletions
+30 -37
View File
@@ -143,49 +143,42 @@
<!-- CRM Segmentation Form view -->
<record model="ir.ui.view" id="crm.crm_segmentation-view">
<record model="ir.ui.view" id="crm_segmentation_profiling_view">
<field name="name">crm.segmentation.form</field>
<field name="model">crm.segmentation</field>
<field name="inherit_id" ref="crm.crm_segmentation-view"/>
<field name="arch" type="xml">
<form string="Partner Segmentation">
<group col="4">
<notebook>
<page string="Segmentation">
<separator string="Segmentation Description" colspan="4"/>
<page name="sale_purchase" position="before">
<page string="Segmentation">
<group col="4">
<field name="name"/>
<field name="exclusif"/>
<newline/>
<field name="categ_id" colspan="2"/>
<newline/>
<field name="description" colspan="4"/>
<field name="state"/>
<group col="3" colspan="2">
<button name="process_start"
states="not running" string="Compute Segmentation" type="object"
icon="gtk-apply" />
<button name="process_stop" states="running"
string="Stop Process" type="object" icon="gtk-stop" />
<button name="process_continue" states="running"
string="Continue Process" type="object" icon="gtk-go-forward" />
<field name="categ_id"/>
</group>
<separator string="Segmentation Description"/>
<field name="description" nolabel="1"/>
</page>
</page>
<page name="description" position="replace">
<page string="Profiling">
<group>
<group>
<field name="profiling_active"/>
<separator string="Profiling Options" colspan="4"/>
<field name="parent_id"/>
</group>
</page>
<page string="Sales Purchase">
<field name="sales_purchase_active"/>
<separator string="Segmentation Test" colspan="4"/>
<field name="segmentation_line" widget="one2many_list" colspan="4"/>
</page>
<page string="Profiling">
<field name="profiling_active" colspan="2"/>
<separator string="Profiling Options" colspan="4"/>
<field name="parent_id" colspan="2"/><newline/>
<separator string="Included Answers :" colspan="2" />
<separator string="Excluded Answers :" colspan="2"/>
<field name="answer_yes" nolabel="1" colspan="2"/>
<field name="answer_no" nolabel="1" colspan="2"/>
</page>
</notebook>
</group>
</form>
<newline/>
<group>
<separator string="Included Answers"/>
<field name="answer_yes" nolabel="1" colspan="2"/>
</group>
<group>
<separator string="Excluded Answers"/>
<field name="answer_no" nolabel="1" colspan="2"/>
</group>
</group>
</page>
</page>
</field>
</record>