diff options
| author | Harry (OpenERP) <hmo@tinyerp.com> | 2011-12-14 17:59:24 +0530 |
|---|---|---|
| committer | Harry (OpenERP) <hmo@tinyerp.com> | 2011-12-14 17:59:24 +0530 |
| commit | 092f97b32b35af6a40b9d2ae70c3159da2fb235f (patch) | |
| tree | 2974d3719af9338cd0b1814da900d7e9ca8d4779 /addons/crm/test/process/segmentation.yml | |
| parent | 593f5f571bbc49673975afc405e9345ef3457b92 (diff) | |
| parent | e36dc8c5e3ca3da1474747bae5ec87fea19b23b8 (diff) | |
[MERGE] merged with trunk-development-branch
bzr revid: hmo@tinyerp.com-20111214122924-izzibrz1yz67rt7g
Diffstat (limited to 'addons/crm/test/process/segmentation.yml')
| -rw-r--r-- | addons/crm/test/process/segmentation.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/addons/crm/test/process/segmentation.yml b/addons/crm/test/process/segmentation.yml new file mode 100644 index 00000000000..74500049290 --- /dev/null +++ b/addons/crm/test/process/segmentation.yml @@ -0,0 +1,16 @@ +- + In order to test segmentation process which create specific partner categories criteria, +- + I start the process. +- + !python {model: crm.segmentation}: | + 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
\ No newline at end of file |
