summaryrefslogtreecommitdiff
path: root/addons/crm_profiling
diff options
context:
space:
mode:
Diffstat (limited to 'addons/crm_profiling')
-rw-r--r--addons/crm_profiling/crm_profiling_view.xml65
1 files changed, 29 insertions, 36 deletions
diff --git a/addons/crm_profiling/crm_profiling_view.xml b/addons/crm_profiling/crm_profiling_view.xml
index 0b738a27107..7f9090ca0e9 100644
--- a/addons/crm_profiling/crm_profiling_view.xml
+++ b/addons/crm_profiling/crm_profiling_view.xml
@@ -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"/>
+ <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>
<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" />
+ <group>
+ <separator string="Included Answers"/>
+ <field name="answer_yes" nolabel="1" colspan="2"/>
</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>
+ <group>
+ <separator string="Excluded Answers"/>
+ <field name="answer_no" nolabel="1" colspan="2"/>
+ </group>
+ </group>
+ </page>
+ </page>
</field>
</record>