2 In order to test segmentation process which create specific partner categories criteria,
6 !python {model: crm.segmentation}: |
7 self.process_start(cr, uid, [ref("crm_segmentation0")],context)
8 #Todo: Need to check after segmentation started
11 I create rule segmentation line record for partner .
13 !python {model: crm.segmentation.line}: |
14 id = self.create(cr, uid, {'name': "OpenERP partners",'expr_value': 25})
15 self.test(cr, uid, [id],partner_id=0)
16 #Todo: Need to test segmantation line record