diff options
| author | tpa-odoo <tpa@tinyerp.com> | 2014-06-25 18:08:33 +0530 |
|---|---|---|
| committer | Richard Mathot <rim@openerp.com> | 2014-08-13 09:28:24 +0200 |
| commit | cf9230d1ff0bb99caa8a22d64bc3517c2445e25f (patch) | |
| tree | 7ac87ba51b7f035dd302aeb270b6a35e4e10b087 /addons/crm_profiling/crm_profiling_view.xml | |
| parent | e081fd0df4a4989eacc0e06ccda3f1091eae61b9 (diff) | |
[IMP] form views: remove sheets in config forms
(Closes #850)
Diffstat (limited to 'addons/crm_profiling/crm_profiling_view.xml')
| -rw-r--r-- | addons/crm_profiling/crm_profiling_view.xml | 65 |
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> |
