modifications on the segmentation tool and on the segmentation views

bzr revid: qdp-724a83974e955dcf24716590b0c77d7930ebc8a0
This commit is contained in:
qdp 2007-12-03 10:23:06 +00:00
parent 2dc533b969
commit fbc6f9ebf6
2 changed files with 7 additions and 7 deletions

View File

@ -49,7 +49,7 @@ class crm_segmentation(osv.osv):
'som_interval_max': fields.integer('Max Interval', help="The computation is made on all events that occured during this interval, the past X periods."),
'som_interval_decrease': fields.float('Decrease (0>1)', help="If the partner has not purchased (or buied) during a period, decrease the state of mind by this factor. It\'s a multiplication"),
'som_interval_default': fields.float('Default (0=None)', help="Default state of mind for period preceeding the 'Max Interval' computation. This is the starting state of mind by default if the partner has no event."),
'sales_purchase_active': fields.boolean('Optionnal tab active', help='Check if you want to use this tab as part of the segmentation rule. If not checked, the criteria beneath will be ignored')
'sales_purchase_active': fields.boolean('Use The Sales Purchase Rules', help='Check if you want to use this tab as part of the segmentation rule. If not checked, the criteria beneath will be ignored')
}
_defaults = {
'partner_id': lambda *a: 0,

View File

@ -484,12 +484,6 @@
<form string="Partner Segmentation">
<notebook>
<page string="Segmentation">
<field name="state"/>
<group col="3" colspan="2">
<button name="process_start" states="not running" string="Compute Segmentation" type="object"/>
<button name="process_stop" states="running" string="Stop Process" type="object"/>
<button name="process_continue" states="running" string="Continue Process" type="object"/>
</group>
<separator string="Segmentation Description" colspan="4"/>
<field name="name" select="1"/>
<field name="exclusif"/>
@ -497,6 +491,12 @@
<field name="categ_id" select="2" colspan="2"/>
<newline/>
<field name="description" select="2" colspan="4"/>
<field name="state"/>
<group col="3" colspan="2">
<button name="process_start" states="not running" string="Compute Segmentation" type="object"/>
<button name="process_stop" states="running" string="Stop Process" type="object"/>
<button name="process_continue" states="running" string="Continue Process" type="object"/>
</group>
</page>
<page string="Sales Purchase">
<field name="sales_purchase_active"/>