Commit Graph
24 Commits
Author SHA1 Message Date
Thibault Delavallée 7fc8577238 [IMP][TEST] membership: tests updates
- update yml tests, crashing because of changes in the accounting
+ some light cleaning
- add python unittests, because those are way cooler than yml
2015-08-12 14:42:31 +02:00
Thibault Delavallée e9411b70b0 [FIX][TEST] membership: fixed tests. It is now clear that
tests crash and that there is a mismatch between the tests and
the module. However as the tests were badly written the asserts
did not fire.

Now the tests crash as they should be doing since a long time.

[CLEAN] membership: dead code / tests cleaning

Removed dead code, unnecessary comments in membership.py. Also added the
use of server datetime format instead of custom one.

Also slightly cleaned the tests. No change, but use data created for the
tests instead of relying on existing demo data, probably modified by
the user and difficult to track.
2015-08-12 14:42:31 +02:00
Raphael Collet acb1420fb9 Revert "[IMP] addons: use the magic methods signal_XXX() instead of signal_workflow('XXX')"
This reverts commit beea451e54.
2014-07-07 11:23:06 +02:00
Raphael Collet beea451e54 [IMP] addons: use the magic methods signal_XXX() instead of signal_workflow('XXX') 2014-07-07 09:42:27 +02:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Raphael Collet 9584109b86 [IMP] cleanup of Yaml files: do not translate assert messages
bzr revid: rco@openerp.com-20130321131824-422cc4mk2bm9yrw8
2013-03-21 14:18:24 +01:00
Raphael Collet 9e05f4d291 [FIX] membership: fix import statements in yml file
bzr revid: rco@openerp.com-20130213103239-5tq1ib4xcbykgjzk
2013-02-13 11:32:39 +01:00
Raphael Collet 55625f52db [FIX] fix import statements in yml files
bzr revid: rco@openerp.com-20130213101803-4y1ponocx6oai2mz
2013-02-13 11:18:03 +01:00
Tejas Tank 191a095164 [IMP] membership: use the new signal_xxx methods instead of trg_validate.
bzr revid: tta@openerp.com-20130201052027-2c0quhoqligc6ag2
2013-02-01 10:50:27 +05:30
Rucha (Open ERP) 237173eeff [IMP]: product: Improvement in product category demo, improved xml_id refereneces (work in progress)
bzr revid: rpa@tinyerp.com-20120628093001-k113siqn5sbp3xf2
2012-06-28 15:00:01 +05:30
Rucha (Open ERP) 0aaef8a06e [IMP]: Improved partner demo xml_id referenced based on changes in server
bzr revid: rpa@tinyerp.com-20120620120305-g88c9cp55csnsvoc
2012-06-20 17:33:05 +05:30
Turkesh Patel (Open ERP) 3c030ba7ab [FIX]fixed the yml test case of membership module
bzr revid: tpa@tinyerp.com-20120321112919-aiuhor1ozgs49q4i
2012-03-21 16:59:19 +05:30
Olivier Dony 66f9bd69d5 [FIX] membership: remove some useless partners created in YAML tests, use demo ones
This is a quick patch to avoid creating more data than necessary in 
YAML tests, as it breaks in some cases (w/ EDI). Still requires more cleanup!

bzr revid: odo@openerp.com-20111103004140-c9m5er77pi62twvo
2011-11-03 01:41:40 +01:00
mtr 50ca0758a5 [IMP] auction,event,membership,pos,sale: improved yaml as _sql_constraint is enforced on some objects
bzr revid: mtr@mtr-20110816092340-c8rvy49pb022ghpj
2011-08-16 14:53:40 +05:30
Thibault Francois ac9434002d [FIX] Yaml test : day+1 etc ..
bzr revid: tfr@openerp.com-20110131123854-wh09jiyb5x2mpuiq
2011-01-31 13:38:54 +01:00
qdp-launchpad@tinyerp.com 2df4a68377 [MERGE] merged the dev3 branch
bzr revid: qdp-launchpad@tinyerp.com-20110114001101-wk77opsrvslh7pak
2011-01-14 01:11:01 +01:00
ARA (OpenERP) 45b7c6fd1b [IMP] YML improvement for mail_gateway, marketing_*,mrp_*
bzr revid: ara@tinyerp.com-20110105131428-a2pll735vnxuulo6
2011-01-05 18:44:28 +05:30
husen f433b959c2 merged with trunk
bzr revid: husen@husen-laptop-20101230095809-cl6dkve1odgdtqtv
2010-12-30 15:28:09 +05:30
Fabien Pinckaers d16ca8293d fix
bzr revid: fp@tinyerp.com-20100901161624-oy1cvs4i3sfhu90i
2010-09-01 18:16:24 +02:00
Harry (OpenERP) 379133b17f [FIX] sale,membership: yml issue
bzr revid: hmo@tinyerp.com-20100901160845-53e8jddm95gsi6o5
2010-09-01 21:38:45 +05:30
Harry (OpenERP) d519022d12 [IMP] membership: yml
bzr revid: hmo@tinyerp.com-20100722070556-1g50s0402pek4uyw
2010-07-22 12:35:56 +05:30
ATP(OpenERP) 878da4182e [IMP] Event/Membership: clean code/yml
bzr revid: hmo@tinyerp.com-20100712133056-kywn9u4c0dm3mly6
2010-07-12 19:00:56 +05:30
Mod2 (OpenERP) e729a381a5 [FIX] membership: yml issue
bzr revid: hmo@tinyerp.com-20100705115848-cwby6uxeiknbdwc6
2010-07-05 17:28:48 +05:30
atp (Open ERP) 2907ce2862 [ADD]: membership: add yaml for membership module.
bzr revid: atp@tinyerp.co.in-20100608114305-efpjhmkcg13iklem
2010-06-08 17:13:05 +05:30