[IMP] crm: Improved demo data and add step to segmantion line record
bzr revid: ron@tinyerp.com-20111103130951-zk0a514mdnj5bmq7
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
|
||||
<record model="crm.segmentation" id="crm_segmentation0">
|
||||
<field name="name">OpenERP partners</field>
|
||||
<field name="exclusif">True</field>
|
||||
<field name="categ_id" ref="base.res_partner_category_2"/>
|
||||
</record>
|
||||
|
||||
|
||||
@@ -7,3 +7,10 @@
|
||||
self.process_start(cr, uid, [ref("crm_segmentation0")],context)
|
||||
#Todo: Need to check after segmentation started
|
||||
|
||||
-
|
||||
I create rule Segmentation line record for partner .
|
||||
-
|
||||
!python {model: crm.segmentation.line}: |
|
||||
id = self.create(cr, uid, {'name': "OpenERP partners",'expr_value': 25})
|
||||
self.test(cr, uid, [id],partner_id=0)
|
||||
#Todo: Need to test segmantation line record
|
||||
Reference in New Issue
Block a user