Commit Graph

4125 Commits

Author SHA1 Message Date
Antony Lesuisse 66988eefb5 [IMP] ir.actions.report.xml more view cleanup
bzr revid: al@openerp.com-20140307011305-sqfbr857ifczh6f1
2014-03-07 02:13:05 +01:00
Antony Lesuisse 44a0f566b0 [FIX] ir.actions.report.xml keep report_type pdf until full report conversion is completed
bzr revid: al@openerp.com-20140307003255-wjzfhlzl3dce6u7w
2014-03-07 01:32:55 +01:00
Antony Lesuisse cfb50cf7a9 [IMP] ir.actions.report.xml improve view, move rml specific fiels in a tab
bzr revid: al@openerp.com-20140306234657-kblucn86ph9gjfu6
2014-03-07 00:46:57 +01:00
Launchpad Translations on behalf of openerp 0759553fe4 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140304061656-tmqvsiz854vbugx2
2014-03-04 06:16:56 +00:00
Antony Lesuisse ed7ee4df52 [MERGE] cron race condition leading to unneeded executions, courtesy of acsone
When mulitple cron workers get their list of jobs to process at the same time,
some jobs might be executed multiple times. We fix this by keeping the listing
filter when taking the lock.

bzr revid: al@openerp.com-20140228161524-y8nyq5uw9yq9rcc3
2014-02-28 17:15:24 +01:00
Antony Lesuisse 38d1ca1ff2 [MERGE] trunk
bzr revid: al@openerp.com-20140227161819-p9chmskfifo0rygs
2014-02-27 17:18:19 +01:00
Fabien Meghazi 6df317c546 [FIX] website's translation problems on multiple inheritance
bzr revid: fme@openerp.com-20140224103235-2s9de5k71xfa2qko
2014-02-24 11:32:35 +01:00
Launchpad Translations on behalf of openerp 5580324bbf Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140222063856-jg0p4f82hy0yw5f0
bzr revid: launchpad_translations_on_behalf_of_openerp-20140222063912-upicgao9ly9iu2wf
bzr revid: launchpad_translations_on_behalf_of_openerp-20140223070706-qx82kgcpxvuqfmod
2014-02-23 07:07:06 +00:00
Richard Mathot (OpenERP) 13194a10f7 [ADD] Test that the variable 'workflow' is correctly assigned in Python server actions (if not, the code will crash)
bzr revid: rim@openerp.com-20140221125708-6vt2ucp5sjtvl02q
2014-02-21 13:57:08 +01:00
Richard Mathot (OpenERP) 6b40002f98 [ADD] Enable access to workflow engine in server actions that run arbitrary python code
(a workflow variable gives now access to trg_* methods of the workflow engine)

bzr revid: rim@openerp.com-20140221115347-rpar6uyiwx1z9deu
2014-02-21 12:53:47 +01:00
Christophe Simonis 170f3ef1f9 [FIX] openerp/addons/base/ir/ir_actions.py: correct SyntaxError introduced in last commit
bzr revid: chs@openerp.com-20140220170949-kc4ru12sc5on300c
2014-02-20 18:09:49 +01:00
Christophe Simonis 65db3c635e [MERGE] forward port of branch saas-2 up to revid 5014 mat@openerp.com-20140220145701-6y7s1roj88q7ys13
bzr revid: chs@openerp.com-20140220160548-0rhulha4cml6t08v
2014-02-20 17:05:48 +01:00
Denis Ledoux 67866db5b6 [MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 5015 dle@openerp.com-20140221104908-7ytdg6xkxaza05o4
bzr revid: dle@openerp.com-20140220132700-hhc1nsu25j1ye257
bzr revid: mat@openerp.com-20140220150028-p6l0vnwa5q18uxiu
bzr revid: dle@openerp.com-20140221105500-t7jg037uusdloigl
2014-02-21 11:55:00 +01:00
Denis Ledoux 5fd307b921 [FIX] ir_model: Uninstall with orphan external ids of ir.model.fields
On uninstalling, if external ids are associated to an unexisting field, we do not try to delete the field (as it doesnt exist) and we remove the orphan external ids

bzr revid: dle@openerp.com-20140221104908-7ytdg6xkxaza05o4
2014-02-21 11:49:08 +01:00
Olivier Dony d4e62ca713 [IMP] ir.actions.act_window: make `multi` field visible in form view + improve label/desc
bzr revid: odo@openerp.com-20140220100036-uu0hg9lqhpc257pr
2014-02-20 11:00:36 +01:00
Martin Trigaux c83247c38b [MERGE] Forward-port of latest saas-2 bugfixes, up to rev.5012 revid:mat@openerp.com-20140219134943-60ssztc01cxdtk09
bzr revid: mat@openerp.com-20140219140617-na0q47yaloblb67i
2014-02-19 15:06:17 +01:00
Martin Trigaux e635ebe6c1 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5238 revid:launchpad_translations_on_behalf_of_openerp-20140219053940-dvi4g7ajttoj6h9k
bzr revid: mat@openerp.com-20140219134943-60ssztc01cxdtk09
2014-02-19 14:49:43 +01:00
Launchpad Translations on behalf of openerp 871b2dc73d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140219053940-dvi4g7ajttoj6h9k
2014-02-19 05:39:40 +00:00
Martin Trigaux e1dff48492 [MERGE] [FIX] orm: read_group doesn't take referenced fields or aggregated fields in account when sorting (opw 598942)
Sorting was done using a search on ids that where found in a custom SQL field,
only 1 record among aggregated records with same groupby value was used
when using search for ordering, resulting data ordered on
max(aggregated_data).field_value instead of sum(aggregated_data.field_value).

bzr revid: mat@openerp.com-20140218100929-qeg0rz1fmta2ni9y
2014-02-18 11:09:29 +01:00
Xavier Morel 71259f09f4 [ADD] hooks to enable/disable tests running during install
also add flag for post_install run, but not used yet

bzr revid: xmo@openerp.com-20140218095452-pptez5rlpdez1ttl
2014-02-18 10:54:52 +01:00
Anael Closson 775ae7d728 [REF] removing useless comment
bzr revid: acl@openerp.com-20140218083045-aimu376msu052k5d
2014-02-18 09:30:45 +01:00
Anael Closson 90dcc00443 [FIX] OPW 598942 : orm read_group doesn't take referenced fields or aggregated fields in account when sorting
Sorting was done using a search on ids that where found in a custom SQL field,
only 1 record among aggregated records with same groupby value was used
when using search for ordering, resulting data ordered on
max(aggregated_data).field_value instead of sum(aggregated_data.field_value).

lp bug: https://launchpad.net/bugs/1060086 fixed

bzr revid: acl@openerp.com-20140217172926-ka2fw8t2l3cqi7h3
2014-02-17 18:29:26 +01:00
openerp-sle 1e0d15e5ec [FIX] Added the 'oldname' attribute on the renamed 'paper_format' field
bzr revid: openerp-sle@openerp-sle.home-20140217153459-3hcxvzmd1j5vvwgq
2014-02-17 16:34:59 +01:00
Martin Trigaux 5e9e447eb0 [FIX] fonts: move domain on field instead of view and use capitalised version of mode (would not found any otherwise)
bzr revid: mat@openerp.com-20140217134823-p0i7nj6ljqslgwr1
2014-02-17 14:48:23 +01:00
openerp-sle f703a4bb35 [MERGE] trunk
bzr revid: openerp-sle@openerp-sle.home-20140217094935-1vow2td4pxb6wq3x
2014-02-17 10:49:35 +01:00
Launchpad Translations on behalf of openerp 5d2f1c68ac Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140216064134-tam102h50au851o1
bzr revid: launchpad_translations_on_behalf_of_openerp-20140215073800-2219ymc7ijxq57aa
bzr revid: launchpad_translations_on_behalf_of_openerp-20140216064223-17h9wz07b2siswzs
bzr revid: launchpad_translations_on_behalf_of_openerp-20140217060328-7qh928zk8ro30qzb
2014-02-17 06:03:28 +00:00
Antony Lesuisse 91b1c8472f [FIX] ir.http testing generate a router including the current module
this fix is a dirty hack, the proper fix could be a new 'installing' state in
modules, or an improved registry object.

bzr revid: al@openerp.com-20140217005137-mhrzc4znr8rqe9yu
2014-02-17 01:51:37 +01:00
Antony Lesuisse 62f20f3302 [FIX] tests move test_ui to web as it requires web.login template
bzr revid: al@openerp.com-20140216214456-gplefhb821s61677
2014-02-16 22:44:56 +01:00
Antony Lesuisse c8324bafcc [IMP] phantomjs testing
- avoid dbmanager by presetting db in the test session
- correctly handle login option
- serialize test cursor access

bzr revid: al@openerp.com-20140216212222-4o6x9uljyua3g1og
2014-02-16 22:22:22 +01:00
openerp-sle 4a65881e24 [MERGE] trunk
bzr revid: openerp-sle@openerp-sle.home-20140213121357-upr6tlajbebkcre3
bzr revid: openerp-sle@openerp-sle.home-20140216103456-epv8x3f8j8jcbla7
2014-02-16 11:34:56 +01:00
Launchpad Translations on behalf of openerp ff70d29675 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140214064917-zj30bpyc0mlpvqer
2014-02-14 06:49:17 +00:00
Xavier Morel 325ad57a00 [FIX] branding distribution to generate correct xpath even after injection of inherited view contents
bzr revid: xmo@openerp.com-20140213164546-xor2k3tat8d216wq
2014-02-13 17:45:46 +01:00
Christophe Simonis b8950c14c8 [FIX] ir.values: be tolerant to actions pointing to non existing actions (aka old wizards)
bzr revid: chs@openerp.com-20140213110937-hc3u6fwfclhf5mmn
2014-02-13 12:09:37 +01:00
Launchpad Translations on behalf of openerp e2d3fa0a40 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140213064711-5yclxgkdvqsqbldv
2014-02-13 06:47:11 +00:00
Olivier Dony 47312a5f37 [MERGE] Forward-port of latest saas-2 bugfixes, up to rev. 5011 rev-id: odo@openerp.com-20140212175952-ehkgu7uyvbymj9od
bzr revid: odo@openerp.com-20140212180216-vhynt924xgsixzfq
2014-02-12 19:02:16 +01:00
Olivier Dony 8b6d88def4 [FIX] res.users: typo in default search view
bzr revid: odo@openerp.com-20140212175952-ehkgu7uyvbymj9od
2014-02-12 18:59:52 +01:00
openerp-sle 5e535ee4f3 [IMP] Renamed paper_format to rml_paperformat and moved report's related configuration into a tab in the company form
bzr revid: openerp-sle@openerp-sle.home-20140212115350-2p9ky7ei2t9q99xs
2014-02-12 12:53:50 +01:00
Olivier Dony 6a8ce77426 [FIX] res.partner: prevent `show_email` context option from polluting display_name
bzr revid: odo@openerp.com-20140212080331-diit15a9sz7do4cu
2014-02-12 09:03:31 +01:00
Launchpad Translations on behalf of openerp c438e6e8a9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140211064034-ghuxxk02n715othj
bzr revid: launchpad_translations_on_behalf_of_openerp-20140212062254-0hbn6k9636zlrg4k
2014-02-12 06:22:54 +00:00
Denis Ledoux 1b2c0f74dc [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5229 revid:launchpad_translations_on_behalf_of_openerp-20140211064034-ghuxxk02n715othj
bzr revid: dle@openerp.com-20140211163902-ya86jr7lwlj1mkk9
2014-02-11 17:39:02 +01:00
Raphael Collet 3aa24b345e [MERGE] from saas-3
bzr revid: rco@openerp.com-20140211162843-bfowcg6a3qb91h3c
2014-02-11 17:28:43 +01:00
Raphael Collet 9f7c687dec [FIX] ir_ui_view: in context dict, put model name instead of model itself
bzr revid: rco@openerp.com-20140211162736-hgkwjk336ldkjej6
2014-02-11 17:27:36 +01:00
Martin Trigaux 24b0b132d4 [FIX] module: fix imports broken at revision 5055
get_module_resource method is required by function fields of ir.module.module

bzr revid: mat@openerp.com-20140211105525-tuhs10hb8y3o1rnp
2014-02-11 11:55:25 +01:00
Olivier Dony 722163893e [FIX] ir.actions: active_model may not always match current model, in which case `object` should be `None`
bzr revid: odo@openerp.com-20140211082546-tgenye70etn21ih5
2014-02-11 09:25:46 +01:00
Olivier Dony dc0b8b5c66 [IMP] ir.actions.server: add `datetime` and `dateutil` in default eval context + make context extensible
bzr revid: odo@openerp.com-20140210140933-7g70205v4mxk9qhz
2014-02-10 15:09:33 +01:00
Fabien Meghazi f36b92bb81 [MERGE] saas-3
bzr revid: fme@openerp.com-20140210105311-wattch3c49ikwwmn
2014-02-10 11:53:11 +01:00
Launchpad Translations on behalf of openerp 8d85c23e4a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140209065003-9soyulgvssk8n5ci
bzr revid: launchpad_translations_on_behalf_of_openerp-20140208071621-b018rnkhyxmmm5jk
bzr revid: launchpad_translations_on_behalf_of_openerp-20140209065224-kih7tx56elds0zok
bzr revid: launchpad_translations_on_behalf_of_openerp-20140210055324-raxopm5ej680oc73
2014-02-10 05:53:24 +00:00
Antony Lesuisse 1f78dfb76d [IMP] phantomjs testing add an easy phantom_js helper
self.phantom_js(<page_to_load>, <code_to_run>, <global_object_to_wait>, **options)

example:

self.phantom_js("/", "openerp.module.mytest()", "openerp.module.mytest");

console.log('ok') or console.log('error') should be used to signal success or
failure. Other console.log's will be passed to the test logger.

bzr revid: al@openerp.com-20140210004517-jc2cobc31qshxchm
2014-02-10 01:45:17 +01:00
Antony Lesuisse fb88cb841f [IMP] test_ui shorter code
bzr revid: al@openerp.com-20140209234714-bq5w2zo9v402x87v
2014-02-10 00:47:14 +01:00
Antony Lesuisse 8790ae76fc [IMP] rename into test_ui like addons
bzr revid: al@openerp.com-20140209231948-5tqj0nndsod0gyb1
2014-02-10 00:19:48 +01:00