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
Fabien Meghazi
48d1e2d879
[ADD] Request with lazy rendering support
...
bzr revid: fme@openerp.com-20140218161505-bmfcc2jq16vvflzn
2014-02-18 17:15:05 +01:00
Xavier Morel
cb03b384b0
[IMP] phantomjs runner
...
* use Skip exception to skip tests in case phantomjs binary not found
* remove spurious logging, move some to debug when debatable
* use testing assertions for correct reporting
* allow failure message
* use mutable buffer to accumulate stdout data
bzr revid: xmo@openerp.com-20140218133445-e5l155j10i934o88
2014-02-18 14:34:45 +01:00
Xavier Morel
d926581bb9
[IMP] slightly improve error message at the end of a module's failed tests
...
bzr revid: xmo@openerp.com-20140218101847-mwsd2zolpze1xdhf
2014-02-18 11:18:47 +01: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
33076a34aa
[FIX] run_unit_tests lying about its return value: it only ever returns a bool, never None
...
bzr revid: xmo@openerp.com-20140218095632-r4aq7gnzj4hq9u64
2014-02-18 10:56:32 +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
Christophe Simonis
d60cf404ca
[FIX] orm._auto_init: fallback to copy method when altering in-place varchar columns failed.
...
When a varchar column has a dependence on a view, we cannot change the size in-place,
we need to manually re-create the column with the correct type.
bzr revid: chs@openerp.com-20140217182045-qor70r3gb0fch2ki
2014-02-17 19:20: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
Olivier Dony
a5b51c2be7
[IMP] orm._auto_init: avoid copying VARCHAR column when increasing size, alter in-place instead + better temporary names
...
Historically, we used a copy+rename technique during
table upgrades to alter varchar columns sizes.
This was only necessary to permit downsizing
columns, which we do not want to do anymore (it is
too dangerous, so has to be done explicitly when
required).
Switching to a pure ALTER COLUMN TYPE is simpler
and also much faster for large tables.
Also fixed the inappropriate name used for
temporary columns during column type casting
(which *does* require the copy+rename technique).
bzr revid: odo@openerp.com-20140217164239-0iou3dsiea3foabb
2014-02-17 17:42:39 +01:00
Xavier Morel
9a22d42b8b
[IMP] unwrap tests suites during module loading, prepare for storing/filtering attributes
...
bzr revid: xmo@openerp.com-20140217155830-dcacx7qvyf7i0i4m
2014-02-17 16:58:30 +01:00
openerp-sle
0b7351da20
[MERGE] trunk
...
bzr revid: openerp-sle@openerp-sle.home-20140217153601-75znvem3gez24ycs
2014-02-17 16:36:01 +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
Xavier Morel
665e2629e2
[FIX] only run test modules called test_*, similar to normal autodiscovery
...
bzr revid: xmo@openerp.com-20140217151521-vyg130iznzojv3e4
2014-02-17 16:15:21 +01:00
Anael Closson
f4f6bc3d9a
[REF] removing debug code
...
bzr revid: acl@openerp.com-20140217140705-b2erer6w4mxba3l7
2014-02-17 15:07:05 +01:00
Anael Closson
ac88131405
[IMP] Speed and quality improvement
...
- removing the need of the use of search when groupby is set on a relation
field.
- creation and use of dedicated helper method to compute the orderby clause
for easier reading
bzr revid: acl@openerp.com-20140217140144-2rm3o00g76tyhqxn
2014-02-17 15:01:44 +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
75c350976c
[FIX] tests HttpCase phantomjs conditional injection inject=[(need,file)]
...
bzr revid: al@openerp.com-20140217000150-wt3pwqrqcd7n2mfd
2014-02-17 01:01:50 +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
Antony Lesuisse
42db02f73c
[FIX] tests HTTPCase if phantomjs is not installed
...
bzr revid: al@openerp.com-20140216162026-ymbzoi70txbr64yl
2014-02-16 17:20:26 +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
Xavier Morel
13fc1e885c
[FIX] missed case where sys.modules values can be None
...
bzr revid: xmo@openerp.com-20140214153055-xguhxigsnrzy3ejq
2014-02-14 16:30:55 +01:00
Xavier Morel
a86d7a548d
[IMP] use TestSuite.addTests instead of manually iterating on loadTestsFromModule results
...
bzr revid: xmo@openerp.com-20140214145257-2alo4dvn8rmq3xfj
2014-02-14 15:52:57 +01:00
Xavier Morel
d21114454e
[IMP] remove pointless extra newline in log message of column removal
...
bzr revid: xmo@openerp.com-20140214145219-07pk822tpo0nohpn
2014-02-14 15:52:19 +01:00
Martin Trigaux
c0308d7522
[MERGE] [FIX] databases list: allow to have entries with unicode char in the database list (opw 589765)
...
This does not allow to use a database with unicode to run openerp but does not fail (was getting an empty list of existing databases)
bzr revid: mat@openerp.com-20140214144444-0tjcz14rhlw94i50
2014-02-14 15:44:44 +01:00
Xavier Morel
4d32dabdd6
[IMP] replace explicit iteration by listcomp
...
bzr revid: xmo@openerp.com-20140214143932-8nb30mkdxzt96fd5
2014-02-14 15:39:32 +01:00
Xavier Morel
2921fa339d
[REM] unused variable
...
bzr revid: xmo@openerp.com-20140214143724-fcxy9tn8gmodi223
2014-02-14 15:37:24 +01:00
Xavier Morel
8e63677c90
[IMP] fix flow analysis warning, simplify loader code
...
bzr revid: xmo@openerp.com-20140214143549-sezf14rvt0cnm2cr
2014-02-14 15:35:49 +01:00
Xavier Morel
f4d155fce8
[REM] redundant logger initialization
...
bzr revid: xmo@openerp.com-20140214143444-z5ez21g0t61jh81u
2014-02-14 15:34:44 +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
Martin Trigaux
7b41032e2a
[IMP] move test on property fields to his own test class
...
bzr revid: mat@openerp.com-20140213133254-ahzac9o009su3d2x
2014-02-13 14:32:54 +01:00
Martin Trigaux
e201ea3190
[ADD] tests checking the properties fields are not overwritten by changes in parent companies
...
bzr revid: mat@openerp.com-20140213131009-25knm17hie7uzeko
2014-02-13 14:10:09 +01:00
Martin Trigaux
21842a4fc4
[MERGE] sync with 7.0 (getting needed orm revision)
...
bzr revid: mat@openerp.com-20140213130150-9ltjazqiru5apv5k
2014-02-13 14:01:50 +01:00
Martin Trigaux
ff389d8478
[FIX] remove useless cr.commit in fields creation
...
This is require to be able to create revertable tests adding new fields
bzr revid: mat@openerp.com-20140213120349-a0p3bist5l5uyg6b
2014-02-13 13:03:49 +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
Martin Trigaux
3668f09108
[IMP] avoid changing the API by passing the company_id in context
...
bzr revid: mat@openerp.com-20140213100836-wte9zec4easb0cmw
2014-02-13 11:08:36 +01:00
Martin Trigaux
6f8811e7f6
[MERGE] sync with 7.0
...
bzr revid: mat@openerp.com-20140213095713-b1ys0nu8u7o8ybyr
2014-02-13 10:57:13 +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
openerp-sle
3ef93918a8
[FIX] Increased allowed virtual memory per worker
...
bzr revid: openerp-sle@openerp-sle.home-20140212225240-nhu8dj68z84rm9u5
2014-02-12 23:52:40 +01: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
Martin Trigaux
94b3b0d6f6
[FIX] image tools: do not crop an image when resizing it, use reduce the size instead and add transparency background (opw 593992)
...
bzr revid: mat@openerp.com-20140212155104-zc6hhkzqw6711e9m
2014-02-12 16:51:04 +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
Christophe Simonis
88e8c52702
[FIX] trunk is 8.0 alpha, not saas-3
...
lp bug: https://launchpad.net/bugs/1278411 fixed
bzr revid: chs@openerp.com-20140211105315-ogfh9d2qzhu3sa5o
2014-02-11 11:53:15 +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
Martin Trigaux
e328c0a40e
[FIX] html_sanitize: partial backport of trunk revision 5047.
...
Unescape elements that have been wrongly escaped.
Some elements (eg: 'href' tag in links) are sanitised in templates which prevents the execution of mako templates.
lp bug: https://launchpad.net/bugs/1273251 fixed
bzr revid: mat@openerp.com-20140210144023-9sp8cqn07ta5o64y
2014-02-10 15:40:23 +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
Christophe Matthieu
90ed82bb14
[IMP] test phantomtest: inject files with testing if a variable is already setted
...
bzr revid: chm@openerp.com-20140210131910-z8eggofegua88516
2014-02-10 14:19:10 +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
Antony Lesuisse
1f67b2165c
[IMP] phantomtest helper
...
bzr revid: al@openerp.com-20140209223917-vruzjvl0mtsqoo87
2014-02-09 23:39:17 +01:00
Antony Lesuisse
e6ac29ee43
[IMP] move test cases to tests.py remove deprecated wsgi import
...
bzr revid: al@openerp.com-20140209151822-cgk0wibqe1kfd42w
2014-02-09 16:18:22 +01:00
Antony Lesuisse
ac68581e2e
[FIX] re-enable test func and qweb
...
bzr revid: al@openerp.com-20140209143326-mitb5g9sdsll9arj
2014-02-09 15:33:26 +01:00
Antony Lesuisse
16fd821ed6
[FIX] restore testing after patching runbot
...
bzr revid: al@openerp.com-20140209141912-rh3yedrmjudv8jif
2014-02-09 15:19:12 +01:00
Antony Lesuisse
bd16076431
fix try to fix runbot oe command
...
bzr revid: al@openerp.com-20140209022520-p55nlctjru58ans5
2014-02-09 03:25:20 +01:00
Antony Lesuisse
002ac937c1
add python --test-file support
...
bzr revid: al@openerp.com-20140209014636-2fbl15q8wrubmiup
2014-02-09 02:46:36 +01:00
Antony Lesuisse
278ed718e9
new test execution engine
...
remove deprecated zipfile support
add preload_registry option when server is running
allow registries to be used in contruction in test mode
add a rollback test case for http tests
add a phantomjs helper
bzr revid: al@openerp.com-20140209004005-p5pwym4sqc23vw5b
2014-02-09 01:40:05 +01:00
Antony Lesuisse
82372e6a02
move tests
...
move test modules
remove xml test
add phantomjs test
readd remove uninstall test (currently disabled because of cr.commit)
bzr revid: al@openerp.com-20140209003745-ehrx8ikwkmusa644
2014-02-09 01:37:45 +01:00
Olivier Dony
391872c4d6
[FIX] orm.copy_data: avoid reading useless and possibly expensive data when copying records
...
Rather than reading the data and discarding it,
it is much faster to not read it in the first place.
bzr revid: odo@openerp.com-20140206170401-brd6368pe1fmbkkc
2014-02-06 18:04:01 +01:00
Olivier Dony
7c53d8c2d1
[FIX] base: avoid keeping password wizards in the database longer than necessary
...
This patch deletes the wizard lines rather than
the wizard record itself, to avoid errors in case
the client reloads the wizard data before actually
closing it.
lp bug: https://launchpad.net/bugs/1271165 fixed
bzr revid: odo@openerp.com-20140206164559-j0j9o30im0u2hl2g
2014-02-06 17:45:59 +01:00
Fabien Meghazi
297781df08
[IMP] Move some qweb rendering context vars from website#ir.qweb to server#ir.ui.view
...
bzr revid: fme@openerp.com-20140206161204-vp6kydvdxhg5qykx
2014-02-06 17:12:04 +01:00
Christophe Simonis
9289a2608d
[MERGE] forward port of branch saas-3 up to revid 5060 chs@openerp.com-20140206131116-we6rlic5fu09xh8q
...
bzr revid: chs@openerp.com-20140206131219-9rpwsfe9vc7uf0cr
2014-02-06 14:12:19 +01:00
Christophe Simonis
5a022d6ab3
[MERGE] backport trunk revision 5053 fva@openerp.com-20140206110134-jk5zbd8cc6x1ebh5
...
bzr revid: chs@openerp.com-20140206131116-we6rlic5fu09xh8q
2014-02-06 14:11:16 +01:00
Christophe Simonis
73d675a73d
[FIX] ir.ui.view: avoid infinite loop when applying multiple inheritance inside a single view (use of <data> tag)
...
bzr revid: chs@openerp.com-20140206130349-19v4ah0lwy87t50o
2014-02-06 14:03:49 +01:00
Antony Lesuisse
4a5b4a8c3f
[IMP] sale_eval break continue raise control flow opcodes
...
bzr revid: al@openerp.com-20140206124019-07in9p9capmznlo2
2014-02-06 13:40:19 +01:00
Christophe Simonis
94162667dd
[IMP] http: extract save/get session actions as methods on session object
...
bzr revid: chs@openerp.com-20140206115209-naleunin0mleghda
2014-02-06 12:52:09 +01:00
Christophe Simonis
500fea28b7
[MERGE] forward port of branch saas-2 up to revid 5007 chs@openerp.com-20140206110220-myn57cryam1y4k9v
...
bzr revid: chs@openerp.com-20140206110423-qe4h5ip2dg6dm7ph
2014-02-06 12:04:23 +01:00
Christophe Simonis
a69f789b41
[MERGE] forward port of branch 7.0 up to revid 5224 chs@openerp.com-20140206105141-7e8bv8ordqqsswh7
...
bzr revid: dle@openerp.com-20140205105045-j95kduyjiq83e57z
bzr revid: dle@openerp.com-20140114173613-ruxye1m7fxtcjfim
bzr revid: dle@openerp.com-20140116161158-u95vcs3os4tk2zob
bzr revid: dle@openerp.com-20140121172737-gzawfi3ssg7xifef
bzr revid: chs@openerp.com-20140129094554-c3abc8x3qz9mpszr
bzr revid: chs@openerp.com-20140129140159-9vwkpr078shoonum
bzr revid: chs@openerp.com-20140206110220-myn57cryam1y4k9v
2014-02-06 12:02:20 +01:00
Frédéric van der Essen
13a4c3fec9
[IMP] cors rpc: enable preflight request caching, vastly improves rpc performance
...
bzr revid: fva@openerp.com-20140206110134-jk5zbd8cc6x1ebh5
2014-02-06 12:01:34 +01:00
Christophe Simonis
c234d8547d
[FIX] _(): avoid useless warning where translating string without a cursor
...
bzr revid: chs@openerp.com-20140206105141-7e8bv8ordqqsswh7
2014-02-06 11:51:41 +01:00
Martin Trigaux
7950914c69
[IMP] ir_fields: no need to sanitize the _str_to_html as it is already done in the _symbol_set of html fields. This avoids doing twice the sanitization.
...
bzr revid: mat@openerp.com-20140206094628-umx2rfb9rcim7v82
2014-02-06 10:46:28 +01:00
Martin Trigaux
909ff6e368
[MERGE] [FIX] ir_fields: allow convertion from string to html using sanitize function
...
This is required to be able to import csv file containing html fields
lp bug: https://launchpad.net/bugs/1093800 fixed
bzr revid: mat@openerp.com-20140206084708-j63kpkr9apd3j01j
2014-02-06 09:47:08 +01:00
Launchpad Translations on behalf of openerp
ffabcd257c
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140206062321-j6cpns6xz3f81net
bzr revid: launchpad_translations_on_behalf_of_openerp-20140206062510-x502ahdwzezvea54
2014-02-06 06:25:10 +00:00
Anael Closson
30d22d327e
[FIX] typo, wrong ordering of lines
...
bzr revid: acl@openerp.com-20140205125208-8ds2hxfqnuqsngbd
2014-02-05 13:52:08 +01:00
Laurent Mignon (Acsone)
ef974c7fe5
Fix log message
...
bzr revid: laurent.mignon@acsone.eu-20140205091452-6mamu14lpevyjy28
2014-02-05 10:14:52 +01:00
Thibault Delavallée
6e42b51bf5
[FIX] ir_actions: typo in comments
...
bzr revid: tde@openerp.com-20140205090817-bp48bop089bzpm2r
2014-02-05 10:08:17 +01:00
Thibault Delavallée
bb7e6966f5
[IMP] ir_actions: server action: evaluation context preparation is done in
...
its own method, to ease the inheritance and to allow other modules to
add new items in the evaluation context.
bzr revid: tde@openerp.com-20140205084537-9eff44cuyg3u20xy
2014-02-05 09:45:37 +01:00
Launchpad Translations on behalf of openerp
974bcdf97e
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140204055041-y3n9csfmrqvglcqs
2014-02-04 05:50:41 +00:00
jke-openerp
0d22b87f3a
[FIX] Fix bug of positionning on res_partner form
...
bzr revid: jke@openerp.com-20140203163052-01m78wwe38974cf5
2014-02-03 17:30:52 +01:00
Martin Trigaux
5f10bec1a0
[IMP] better assert message and cleaning
...
bzr revid: mat@openerp.com-20140203134051-lgwo4v0rdntgxyor
2014-02-03 14:40:51 +01:00
Martin Trigaux
6ea8851fd0
[ADD] test read_group on a column of _inherits model and group on right field
...
bzr revid: mat@openerp.com-20140203133331-mujvv812zd971ci2
2014-02-03 14:33:31 +01:00
Anael Closson
f6207124f9
[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/106086 fixed
bzr revid: acl@openerp.com-20140203125854-ypi0bu0lbhatg9b1
2014-02-03 13:58:54 +01:00
Martin Trigaux
cafa5e7854
[FIX] orm: read_group aggregates values on all columns instead of only the one of the parent model
...
bzr revid: mat@openerp.com-20140203123311-38rwp7tfyc08flid
2014-02-03 13:33:11 +01:00
Mohammed Shekha (OpenERP)
15813479f5
[FIX]Fixed the issue of html field import fails, because of no converter found for str to html.
...
bzr revid: msh@openerp.com-20140203120525-ui117od6lpksm1bq
2014-02-03 17:35:25 +05:30
Xavier Morel
0aa0bbd539
[FIX] add warning when dbfilter logs out current session
...
bzr revid: xmo@openerp.com-20140203115633-es2o542ywg85d46i
2014-02-03 12:56:33 +01:00
Launchpad Translations on behalf of openerp
2a297c3b2f
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140201065247-b0hmat9ikp0cj2sx
bzr revid: launchpad_translations_on_behalf_of_openerp-20140202055930-0e8qd9refwne4999
bzr revid: launchpad_translations_on_behalf_of_openerp-20140203055525-2z3nfmfb0t7lpqpf
2014-02-03 05:55:25 +00:00
Laurent Mignon (Acsone)
476a0b620d
[FIX] ir_cron: use the same search criteria as when listing job to excecyte when acquiring the lock on the job before its execution to prevent running already executed job
...
bzr revid: laurent.mignon@acsone.eu-20140131163210-2sw8f2e5n4my5o5l
2014-01-31 17:32:10 +01:00
Christophe Simonis
46cbf22efb
[FIX] allow to use "dbname" as keyword in routes
...
bzr revid: chs@openerp.com-20140131163139-89lfordriamw9i1w
2014-01-31 17:31:39 +01:00
Olivier Dony
e846c499e8
[REL] version: 7.~saas-3
...
bzr revid: odo@openerp.com-20140131122313-zaet2jih5dg76qu6
2014-01-31 13:23:13 +01:00
Fabien Meghazi
fa61a1e5a7
[REV] Bring back QWebException, rename QWebException#inner to 'cause'
...
bzr revid: fme@openerp.com-20140131113515-ahcix3h6uzzdz8ix
2014-01-31 12:35:15 +01:00
Fabien Meghazi
3fac414239
[FIX] CORS routing should use new routing api
...
bzr revid: fme@openerp.com-20140131104840-e0557qke365ym2x4
2014-01-31 11:48:40 +01:00
Antony Lesuisse
f119c818c7
[REV] never change exceptions types
...
bzr revid: al@openerp.com-20140131010802-5zh9m5jc1ajnp5wj
2014-01-31 02:08:02 +01:00
Antony Lesuisse
d6c1346e12
[MERGE] trunk-website-al
...
bzr revid: al@openerp.com-20140131005207-mn7t6tar8cywe9hz
2014-01-31 01:52:07 +01:00
Fabien Pinckaers
849125efd2
[FIX] removing test that commits and small fix
...
bzr revid: fp@tinyerp.com-20140131002701-4eaggu8tszph4vl5
2014-01-31 01:27:01 +01:00
Fabien Meghazi
6be5db45b0
[IMP] QWeb exceptions shall not shadow original exceptions
...
bzr revid: fme@openerp.com-20140130211708-5i9lpi4ddn7a2xbe
2014-01-30 22:17:08 +01:00
Fabien Meghazi
9cc89156cc
[REM] outdated disable_db
...
bzr revid: fme@openerp.com-20140130210612-su04ki3zlv043bvz
2014-01-30 22:06:12 +01:00
Fabien Meghazi
4b70011c12
[FIX] ir_ui_view#read_template() bring back old behavious, raises ValueError if xmlid not found
...
bzr revid: fme@openerp.com-20140130210154-llo2tjl323k0yxyr
2014-01-30 22:01:54 +01:00
Olivier Dony
171408280c
[FIX] res.partner: properly (re)compute display_name and commercial_partner_id on inactive partners
...
bzr revid: odo@openerp.com-20140130192848-orv1glg2j26wdpml
2014-01-30 20:28:48 +01:00
Christophe Simonis
7a0262a4d5
[FIX] allow "none" route to be accessible when logged in
...
bzr revid: chs@openerp.com-20140130162626-z83x9e6ekdfqku0a
2014-01-30 17:26:26 +01:00
Christophe Simonis
83bd83dc63
[REVERT] revert commit 5210 chs@openerp.com-20140130150628-qqbno0nu8mp27b9u: bring back magic
...
bzr revid: chs@openerp.com-20140130162041-63wbcsq1udxw529f
2014-01-30 17:20:41 +01:00
Olivier Dony
7e6be99a63
[IMP] res.partner: more selective child_of _search() hack
...
Makes the conditions for disabling the `active` test
on res.partner.search() more selective, to avoid
triggering it when we are not actually searching for
the children of specific parents.
(Broke base tests now that data includes an deactivated
partner)
bzr revid: odo@openerp.com-20140130162419-09tit4cyef570aze
2014-01-30 17:24:19 +01:00
Gery Debongnie
e98a1a8f64
[MERGE] merge trunk into local branch
...
bzr revid: ged@openerp.com-20140130155158-zwddmty5a79mcn90
2014-01-30 16:51:58 +01:00
Gery Debongnie
02313ae739
[IMP] improves the formatting of the dates returned by read_group in orm.py (for ex, January -> January 2014 or W4 -> W4 2014)
...
bzr revid: ged@openerp.com-20140130155117-ldsq4tjat96ustd8
2014-01-30 16:51:17 +01:00
Olivier Dony
c3c0705203
[FIX] ir.ui.view: fix tests after refactoring of ir.ui.view/qweb view processing
...
bzr revid: odo@openerp.com-20140130154354-6xg4mx31to4dg0ql
2014-01-30 16:43:54 +01:00
Olivier Dony
5908a45e47
[FIX] ir.ui.view: better error message upon missing model for non-qweb views, misc cleanup
...
bzr revid: odo@openerp.com-20140130154349-rnwjz0bgxp6vdxwu
2014-01-30 16:43:49 +01:00
Olivier Dony
79dc0235cd
[IMP] orm: log underlying exception at DEBUG level when a constraint check raises
...
bzr revid: odo@openerp.com-20140130154100-rdr1n5u1aiz9cbk3
2014-01-30 16:41:00 +01:00
Olivier Dony
0428c00e2f
[FIX] browse_record.__str__: avoid crashing when ID is None
...
bzr revid: odo@openerp.com-20140130153955-naxbrcz5pv17z4rq
2014-01-30 16:39:55 +01:00
Olivier Dony
30513f498c
[FIX] modules.loading: clear caches after test rollback, to avoid stale caches
...
bzr revid: odo@openerp.com-20140130153835-i5wb7nr0cwl3kjee
2014-01-30 16:38:35 +01:00
Fabien Meghazi
ff0e5318f6
[ADD] Support cors for pos demo
...
bzr revid: fme@openerp.com-20140130151425-tkcv5cvx04og0neu
2014-01-30 16:14:25 +01:00
Christophe Simonis
4ab91a958d
[FIX] http: allow auth="none" routes to works without being logged in when in monodb.
...
bzr revid: chs@openerp.com-20140130150628-qqbno0nu8mp27b9u
2014-01-30 16:06:28 +01:00
Gery Debongnie
e9e2c5d587
[MERGE] merge trunk into local branch
...
bzr revid: ged@openerp.com-20140130135015-y0uxsdjb6631iqoo
2014-01-30 14:50:15 +01:00
Christophe Simonis
51cabd2c69
[FIX] correct retro-compatibility with 7.0 route()
...
bzr revid: chs@openerp.com-20140130125827-j1xzt4qowg1ew3zf
2014-01-30 13:58:27 +01:00
Fabien Meghazi
5322b98647
[FIX] request.func not available on favicon.ico requests
...
bzr revid: fme@openerp.com-20140130133343-gbo353c41dphy1hj
2014-01-30 14:33:43 +01:00
Fabien Meghazi
53098c666c
[MERGE] trunk's CORS support (merge with changes)
...
bzr revid: chs@openerp.com-20140130120448-tj9pu30o7dj74zid
bzr revid: fme@openerp.com-20140130125425-j1yn6p4lr7lincr3
2014-01-30 13:54:25 +01:00
Fabien Meghazi
b63b03abd0
[IMP] better handling of methods for CORS
...
bzr revid: fme@openerp.com-20140130122654-2p481p5hwn033mi7
2014-01-30 13:26:54 +01:00
Fabien Meghazi
9cce88ab6a
[ADD] Cross-Origin Resource Sharing support as http.route() argument
...
bzr revid: fme@openerp.com-20140130121745-zjuuves1yhydydpx
2014-01-30 13:17:45 +01:00
Olivier Dony
5bb31b70d8
[FIX] ir.ui.view: one2many to ir.model.data needs domain otherwise it matches entries from other models
...
bzr revid: odo@openerp.com-20140130120109-0z6kpzv5t155haog
2014-01-30 13:01:09 +01:00
Antony Lesuisse
20fc20a3f2
[IMP] http allow auth=none without db outside of web
...
bzr revid: al@openerp.com-20140130114535-0keldqr1eln8swm8
2014-01-30 12:45:35 +01:00
Olivier Dony
c231d9760a
[FIX] ir.ui.view: restore extended validation of view arch, let exceptions bubble up to constraint checker, cleanup+translate error messages
...
Raising an exception in a _constraint will now be
properly considered as a failed constraint, and the
user will see a warning popup with the exception
message. Therefore it makes sense to translate the
error as well, at least the not-too-technical part
bzr revid: odo@openerp.com-20140130100716-qcbwy7ecnxj17718
2014-01-30 11:07:16 +01:00
Olivier Dony
57ec7d6c03
[IMP] orm: when a _constraint check raises, catch it and combine its message with the constraint message for the user-friendly popup
...
Plus minor cleanup
bzr revid: odo@openerp.com-20140130094337-7g8ez92viwmbzbft
2014-01-30 10:43:37 +01:00
Olivier Dony
7a01d4a93f
[IMP] public_user: make parent partner inactive too
...
bzr revid: odo@openerp.com-20140130093109-x2legxl31mi5c8m6
2014-01-30 10:31:09 +01:00
Olivier Dony
4b746826b2
[IMP] res.partner: unused imports
...
bzr revid: odo@openerp.com-20140130093012-ytrx2i2xoc23npfg
2014-01-30 10:30:12 +01:00
Fabien Meghazi
1daa7db8b0
[REM] Removed disabled_db=True from ir_http's auth="none"
...
[MOV] ensure_db() helper from http module to web module
Since we removed auth="admin" in favor of auth="none" with explicit superuser id usage,
the disable_db clause in auth_none() has only sense for the /web and /web/login routes.
The web module is an exception because it's routes are registered for the nodb dispatching.
This is why the ensure_db() helper is moved to web client and will take care of the
web's auth="none" routes that needs a db to work with
bzr revid: fme@openerp.com-20140130092152-h6elwf2yerhd9xey
2014-01-30 10:21:52 +01:00
Fabien Meghazi
279c5e67ec
[FIX] Check if session.db is legit before dispatching
...
bzr revid: fme@openerp.com-20140130085224-ac0w90ap9u4nmzen
2014-01-30 09:52:24 +01:00
Antony Lesuisse
ec45bc96f9
[IMP] safe_eval add int float range, rename public user
...
bzr revid: al@openerp.com-20140130034238-qlgbu41d7mg9ns6i
2014-01-30 04:42:38 +01:00
Olivier Dony
3d1b879049
[IMP] qweb.render: t-esc/t-raw rendered as `False` or `None` replaced by empty strings
...
bzr revid: odo@openerp.com-20140129180600-0c155g520gpvnqqf
2014-01-29 19:06:00 +01:00
Christophe Simonis
958ecb84b0
[FIX] ir.model.data: correct cache clearing
...
bzr revid: chs@openerp.com-20140129172949-tmwd17c2ofsqj94t
2014-01-29 18:29:49 +01:00
Fabien Meghazi
04a52645c0
[REM] auth="admin" removed
...
bzr revid: fme@openerp.com-20140129171933-e61qp9p5xfdwyw89
2014-01-29 18:19:33 +01:00
Christophe Matthieu
d546e0db2f
[fIX] ir_qweb: fix groups inside t-call (use request.cr and request.uid and don't use None, None)
...
bzr revid: chm@openerp.com-20140129171138-zwuj2vyzu7l853np
2014-01-29 18:11:38 +01:00
Christophe Simonis
378c908d4c
[MERGE] forward port of branch saas-2 up to revid 5006 chs@openerp.com-20140129140159-9vwkpr078shoonum
...
bzr revid: chs@openerp.com-20140129094847-4rsg0kjio0ed0rjk
bzr revid: chs@openerp.com-20140129141002-4p8fttm8ii0ogsse
2014-01-29 15:10:02 +01:00
Martin Trigaux
8a0f1b2495
[MERGE] [FIX] res_partner: name_search search in one pass
...
The original query did two passes (SQL query and orm search). This was a problem due to the limit parameter where the second query could reduce the number of results to a smaller number than the asked limit.
This code reproduces the orm _search behaviour to execute only one SQL query mixing both the ACL clauses and the complexe name_search without degrading the performances (removing the limit in the first query would have).
bzr revid: mat@openerp.com-20140129132240-eamnzs37k0i65gpe
2014-01-29 14:22:40 +01:00
Martin Trigaux
cb4ce12d3a
[IMP] make sure the records will be in right order (and trigger chirurgiens-dentistes.fr for the second name_search)
...
bzr revid: mat@openerp.com-20140129124806-dq56o7r1yt38nb08
2014-01-29 13:48:06 +01:00
Fabien Meghazi
0322f77279
[FIX] jsonrequests exposes same context object as it's session
...
bzr revid: fme@openerp.com-20140129124641-om4s0ts1zvf73zk0
2014-01-29 13:46:41 +01:00
Martin Trigaux
e6ee1947f8
[FIX] better test, add missing parentheses in query, return empty list in case of no idea (instead of triggering super)
...
bzr revid: mat@openerp.com-20140129123404-8hs786n64briqyta
2014-01-29 13:34:04 +01:00
Martin Trigaux
f71a381b81
[ref] move up!
...
bzr revid: mat@openerp.com-20140129114102-tk4fotnb28mtaz9x
2014-01-29 12:41:02 +01:00
Martin Trigaux
5d38e40e6b
[FIX] revert previous rev for better where and add test
...
bzr revid: mat@openerp.com-20140129113938-517gqfi1kzcf64fz
2014-01-29 12:39:38 +01:00
Martin Trigaux
7dedf4ec45
[IMP] remove useless variable, where_clause at least '' as created from a str.join()
...
bzr revid: mat@openerp.com-20140129111959-7y9su01ooneu0mco
2014-01-29 12:19:59 +01:00
Martin Trigaux
05ec12692f
[FIX] res_partner: name_search search in one pass
...
The original query did two passes (SQL query and orm search). This was a problem due to the limit parameter where the second query could reduce the number of results to a smaller number than the asked limit.
This code reproduces the orm _search behaviour to execute only one SQL query mixing both the ACL clauses and the complexe name_search without degrading the performances (removing the limit in the first query would have).
lp bug: https://launchpad.net/bugs/1203727 fixed
bzr revid: mat@openerp.com-20140129105548-dd6zmy9uc2cuowpq
2014-01-29 11:55:48 +01:00
Christophe Simonis
23778030cd
[FIX] forbid dropping templates databases
...
bzr revid: chs@openerp.com-20140129103538-qbm054m29y5r4hu4
2014-01-29 11:35:38 +01:00
Gery Debongnie
cffcc5ea18
[FIX] hopefully, properly uses the user's timezone when performing a readgroup (in orm.py)
...
bzr revid: ged@openerp.com-20140129084721-6m4cfg087vhqb51d
2014-01-29 09:47:21 +01:00
Antony Lesuisse
8bed2fb861
[FIX] ir_ui_view noupdate only if arch change, otherwise it flags them when you check them in customize
...
bzr revid: al@openerp.com-20140129051009-iuqpdz8a6qta6dx5
2014-01-29 06:10:09 +01:00
Antony Lesuisse
7eebddd09a
[IMP] ir_ui_view try to add search on xml_id, doesnt seem to work
...
bzr revid: al@openerp.com-20140129050341-bbu8csko2rcofv13
2014-01-29 06:03:41 +01:00
Antony Lesuisse
9aed30381e
[FIX] ir.model.data more faithful backward compatibilty
...
bzr revid: al@openerp.com-20140129032053-nb5x1oll6mkpw86h
2014-01-29 04:20:53 +01:00
Antony Lesuisse
928f25a4f1
[IMP] ir.model.data clean up xmlid lookup mess
...
- introduce a new xmlid_ set of function with a single cache and raise_on_not_found=False
- implement backward compatible api based on the new one
bzr revid: al@openerp.com-20140129030256-pqj3eay9vf4w2m14
2014-01-29 04:02:56 +01:00
Fabien Meghazi
cfaadc0433
[ADD] http#ensure_db()
...
A helper that allows to force a db in the controller context otherwise redirect to database selector
Used for /web, /web/login and auth_* modules
bzr revid: fme@openerp.com-20140128211550-vmhy5nu0qbi33qh5
2014-01-28 22:15:50 +01:00
Fabien Meghazi
38e651cbd2
[REM] Removed t-href|t-action|t-src from server's ir.qweb. Restor add_template for template preprocessing
...
bzr revid: fme@openerp.com-20140128201235-iv2gwjt1jn00bwoo
2014-01-28 21:12:35 +01:00
Olivier Dony
95d3995614
[MERGE] Sync with trunk revno 5038 rev-id ged@openerp.com-20140127161125-2br49sy5bnyuen7f
...
bzr revid: odo@openerp.com-20140128184158-19hj4mg83jazp3nr
2014-01-28 19:41:58 +01:00
Christophe Simonis
a47f7ef8e8
[FIX] do not hardcode demo uid
...
bzr revid: chs@openerp.com-20140128180910-2udedma5dwwtos4c
2014-01-28 19:09:10 +01:00
Xavier Morel
98bb821332
[FIX] fubared ir_filters tests
...
bzr revid: xmo@openerp.com-20140128164849-iv19wiwx2074l18f
2014-01-28 17:48:49 +01:00
jke-openerp
c9fa796513
[FIX] Remove hard code demo user ID
...
bzr revid: jke@openerp.com-20140128155640-9k5kvk711tt9w9o5
2014-01-28 16:56:40 +01:00
jke-openerp
4dca6cd0cf
[REF] Add missing image
...
bzr revid: jke@openerp.com-20140128150452-86abqh6w3dfojr3q
2014-01-28 16:04:52 +01:00
jke-openerp
9a8a6a5484
[REF] Add public_user into module server/addons/base (removed from addons/website/website_data.xml)
...
[REF]Add _auth_method_public into server/addons/base/ir/ir_http (removed from website/ir_http)
Related commit for Addons : Committed revision 10689.
bzr revid: jke@openerp.com-20140128145510-3byhdmwftloeod6s
2014-01-28 15:55:10 +01:00
Fabien Meghazi
568ec06c06
[FIX] proper fix
...
bzr revid: fme@openerp.com-20140128141122-x1tj370w7zqi033h
2014-01-28 15:11:22 +01:00
Fabien Meghazi
de3819972a
[FIX] Temporary hackish fix in order to restore login on runbot
...
bzr revid: fme@openerp.com-20140128140025-h70s2exdswppp8dn
2014-01-28 15:00:25 +01:00
Gery Debongnie
2fe3861353
[FIX] uses the user's timezone when performing a readgroup (in orm.py)
...
bzr revid: ged@openerp.com-20140128110022-j08khieyt1wvsr8e
2014-01-28 12:00:22 +01:00
Christophe Simonis
eb091de615
[FIX] yaml import: not all views have a name
...
bzr revid: chs@openerp.com-20140127180230-eybz2dlc7qdjy1yh
2014-01-27 19:02:30 +01:00
Raphael Collet
9518e6c323
[IMP] in ir_model_data.get_object(), rename parameter 'check' into 'raise_exception'
...
bzr revid: rco@openerp.com-20140127151726-if92mwiu3xawr8ge
2014-01-27 16:17:26 +01:00
Fabien Meghazi
0ffa561bbf
[FIX] QWebException
...
bzr revid: fme@openerp.com-20140127145728-o3cxjoifut31s011
2014-01-27 15:57:28 +01:00
Martin Trigaux
f2b2ee8eae
[FIX] expression: do not look at translation in parse when searching with empty string or false
...
This fixes traceback when applying filter 'is not set' on a translatable field
lp bug: https://launchpad.net/bugs/1208565 fixed
bzr revid: mat@openerp.com-20140127144913-qjh9hrnkfdn18sdb
2014-01-27 15:49:13 +01:00
Gery Debongnie
dde3f8479c
[MERGE] merge trunk into local branch
...
bzr revid: ged@openerp.com-20140124153404-14x07mfr5s9lghid
bzr revid: ged@openerp.com-20140127133009-t8t29b3eu8ai5t8v
2014-01-27 14:30:09 +01:00
Fabien Meghazi
bfeec4808b
[REM] Removed todo, slug feature supported in addons.website.ir_http
...
bzr revid: fme@openerp.com-20140127132752-par38qbtnf21yzfs
2014-01-27 14:27:52 +01:00
Fabien Meghazi
a969be4c38
[IMP] _handle_exception can also return a response
...
bzr revid: fme@openerp.com-20140127131333-pl0cminocjfopxaa
2014-01-27 14:13:33 +01:00
Fabien Meghazi
4138c1211c
[IMP] Reworked qweb exceptions
...
bzr revid: fme@openerp.com-20140127113921-7u3gfzm7ykb3ruud
2014-01-27 12:39:21 +01:00
Launchpad Translations on behalf of openerp
d9cdc8564c
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140122061252-9jm03vlbr13ofqo9
bzr revid: launchpad_translations_on_behalf_of_openerp-20140123055652-0p71divui34v1c1q
bzr revid: launchpad_translations_on_behalf_of_openerp-20140124062440-hx0z2e4sd6nz7exc
bzr revid: launchpad_translations_on_behalf_of_openerp-20140126051449-rlunde7qysqsh1b1
bzr revid: launchpad_translations_on_behalf_of_openerp-20140125064003-v340hiykcngjg9ue
bzr revid: launchpad_translations_on_behalf_of_openerp-20140126051541-9fnyw12nex5poeth
bzr revid: launchpad_translations_on_behalf_of_openerp-20140127054606-1jb6usf6pj7gy1xl
2014-01-27 05:46:06 +00:00
Fabien Pinckaers
1c1b17451d
[FIX] adding menu
...
bzr revid: fp@tinyerp.com-20140125151454-g4xsi25g3re2arwo
2014-01-25 16:14:54 +01:00
Launchpad Translations on behalf of openerp
88db454a41
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140125060316-85hljstv1k9mjqzt
2014-01-25 06:03:16 +00:00
Thibault Delavallée
d474cacf74
[MERGE] Sync with website-al
...
bzr revid: tde@openerp.com-20140123162135-4zo139exy60lhl33
bzr revid: tde@openerp.com-20140124120918-f732qn72365uro08
bzr revid: tde@openerp.com-20140124144556-b5hjj7ffc3ts3x25
2014-01-24 15:45:56 +01:00
Gery Debongnie
b2f27dabf0
[REF] implifies the read_group method by removing an useless dictionary (orm.py)
...
bzr revid: ged@openerp.com-20140124132834-evx3dikqc94m48ed
2014-01-24 14:28:34 +01:00
Fabien Meghazi
76144806af
[IMP] If t-field can't get/use the resource, set it's content to None
...
bzr revid: fme@openerp.com-20140124132137-7m8840py82nlib40
2014-01-24 14:21:37 +01:00
Fabien Meghazi
2b6ac77f11
[IMP] move dispatch()'s post processing code into a method
...
bzr revid: fme@openerp.com-20140124103546-h8an7dehqdc412cn
2014-01-24 11:35:46 +01:00
Gery Debongnie
09706b5dff
[IMP] adds 'W' in front of the week number when formatting date grouped by weeks (method read_group) (orm.py)
...
bzr revid: ged@openerp.com-20140124100921-w5gq1fwidm01xx5l
2014-01-24 11:09:21 +01:00
Gery Debongnie
02f7760063
[IMP] adds an 'interval' attribute to 'field' in the rng file (view.rng)
...
bzr revid: ged@openerp.com-20140124084319-g4al01wlwnxf8irh
2014-01-24 09:43:19 +01:00
Thibault Delavallée
3cad7c9812
[FIX] ir_qweb: fixed a forgotten av -> attribute_value
...
bzr revid: tde@openerp.com-20140123162552-akydzhiu0ckushy2
2014-01-23 17:25:52 +01:00
Stephane Wirtel
22d71d52e4
[MERGE] Remove the unreadable variables in the methods of ir.qweb
...
bzr revid: stw@openerp.com-20140123155444-kw6l4xidrhpo5gp8
2014-01-23 16:54:44 +01:00
Thibault Delavallée
2bcf4cca79
[FIX] tools: mail: support \[ and \] in tmeplates
...
bzr revid: tde@openerp.com-20140123152842-21b3gsey1mxt4v37
2014-01-23 16:28:42 +01:00
Fabien Meghazi
35050c4ba0
IMP] Launch a 404 when ModelConverter's browse records can't resolve _rec_name. Also serves as automatic preload
...
bzr revid: fme@openerp.com-20140123151207-3wp77801g44b2822
2014-01-23 16:12:07 +01:00
Raphael Collet
ca0a49ccfd
[FIX] res_config_settings: stupid bug, I was reassigning uid into a method!
...
bzr revid: rco@openerp.com-20140123145756-9ggykftlva4v1ar1
2014-01-23 15:57:56 +01:00
Raphael Collet
cecd748369
[IMP] res_config_settings: in group fields, allow several groups as targets
...
bzr revid: rco@openerp.com-20140123144022-6gu8s5kn22bw70ng
2014-01-23 15:40:22 +01:00
Thibault Delavallée
69af79ff3d
[FIX] tools: mail: fixed last commit, now simply using replace
...
bzr revid: tde@openerp.com-20140123141435-jstfcaemjplbn7b1
2014-01-23 15:14:35 +01:00
Gery Debongnie
a42900b8ea
[FIX] fixes the read_group by dates tests (makes them use the field:interval syntax instead of using the context (test_orm.py)
...
bzr revid: ged@openerp.com-20140123130603-5kdlb7as7fhmchd8
2014-01-23 14:06:03 +01:00
Thibault Delavallée
5f1ec49ecd
[FIX] tools: mail: when cleaning, unescape mako specific symbols.
...
Indeed those are escaped when contained inside an href or mailto element
of a tag, leading to mako not rendering the element.
bzr revid: tde@openerp.com-20140123125137-4u4i88f1ajybg5f2
2014-01-23 13:51:37 +01:00
Stephane Wirtel
f566d20c74
[REF] Replace g_att -> generated_att, t_att template_att, an -> att_name, av -> att_value, v = qcontext
...
bzr revid: stw@openerp.com-20140123124651-wi4l32q0x4cy5o6s
2014-01-23 13:46:51 +01:00
Xavier Morel
5528b9b2d8
[FIX] sprurious error in log during javascript unit tests
...
During some tests, the runner performs sequences of DUPLICATE and DROP
on databases. Each DUPLICATE is followed by some operations then a
DROP.
Problem is, after a DROP the next DUPLICATE RPC query will attempt a
connection to the just-dropped database, openerp.sql_db will log an
OperationalError ("Connection to the database failed" since the db it
tries to connect to was removed) then the HTTP dispatcher will just
switch to "nodb" and continue on its merry way.
Mute the sql_db logger while attempting to fetch the ir.http object.
Also assert that the logger name is a string in mute_logger, as
`mute_logger(openerp.sql_db)` is syntactically valid, but will not do
anything.
bzr revid: xmo@openerp.com-20140123115413-ax5patcomdfp3ue3
2014-01-23 12:54:13 +01:00
Gery Debongnie
99230cd3d1
[FIX] prints some value so i can understand how to debug the failing test in test_orm.py
...
bzr revid: ged@openerp.com-20140123112347-0swvj6xrhp5r5mpq
2014-01-23 12:23:47 +01:00
Gery Debongnie
74fd48e608
[FIX] fixes the read_group by dates tests (makes them use the field:interval syntax instead of using the context (test_orm.py)
...
bzr revid: ged@openerp.com-20140123105638-l4ej76ynf4avcjma
2014-01-23 11:56:38 +01:00
Raphael Collet
d68bb48e44
[IMP] ir.model.data: get_object() never raises an exception when check=False
...
bzr revid: rco@openerp.com-20140123103306-tilma2dahgfsm70t
2014-01-23 11:33:06 +01:00
Fabien Meghazi
5b0ff455c5
[IMP] allow ir.ui.view.render() to be called from a browse record instance
...
bzr revid: fme@openerp.com-20140123101939-2pbjfps4lfc56mc1
2014-01-23 11:19:39 +01:00
Raphael Collet
020921a7f3
[IMP] orm: remove commented code
...
bzr revid: rco@openerp.com-20140123094957-knrgx6sy66j4tj39
2014-01-23 10:49:57 +01:00
Raphael Collet
0fb09d9a33
[FIX] fields: small python code fix
...
bzr revid: rco@openerp.com-20140123094646-ri4apn315dm19rl1
2014-01-23 10:46:46 +01:00
Xavier Morel
d50f785b4f
[FIX] view requested by _view_ref with view_ref being undotted
...
Issue introduced in
revid:chm@openerp.com-20130828161130-641xsmbr8xm53xjx: context of a
fields_view_get can provide a *_view_ref name (e.g. tree_view_ref),
whose value is an xid for the view to use (can be used to specify a
view instead of providing a view_id, mostly for embedded views where
there is no way to provide a view_id).
The view_ref being an external id, it must be dotted. Historically,
undotted xids were silently ignored and the system just skipped to
getting the default view for the model (lowest priority view where
inherit_id is null).
In revid:odo@openerp.com-20130821122955-8c9z0mi8cu48rne3 this behavior
was altered to emit a warning when ignoring a malformed view_ref. When
this change was merged into trunk-website-al, the conditional
(view_ref and '.' in view_ref) was split without consideration for the
semantics change: a syntactically invalid view_ref would fall off the
first branch (view_ref) instead of taking the second one (not
view_ref), the code would not fetch the default view for the model and
would instead generate one (through _get_default_%(viewtype)s_view).
However, closer reading reveals the code was already broken in a
specific case of a syntactically valid but unknown xid (view_id
wouldn't get assigned in the first branch, but the code would not take
the second one, resulting yet again in a view generation even if the
database contains a valid view for the model and type).
Fixed by reintroducing explicit second check on view_id, instead of
merely conditional alternative.
bzr revid: xmo@openerp.com-20140123075742-603n2zthqhxee07y
2014-01-23 08:57:42 +01:00
Antony Lesuisse
9248a2db18
[FIX] multiprocess mode, empty the cursor pool before forking
...
bzr revid: al@openerp.com-20140122221525-hify023pk5i8d0jm
2014-01-22 23:15:25 +01:00
Fabien Meghazi
8d28d74dc9
[FIX] stupid fme
...
bzr revid: fme@openerp.com-20140122153022-y7pe379qjxqy67vs
2014-01-22 16:30:22 +01:00
Fabien Meghazi
1895d8bd76
[FIX] clear ir.ui.view cache on translation write/create
...
bzr revid: fme@openerp.com-20140122151327-keaozhwa7rx4qj73
2014-01-22 16:13:27 +01:00
Fabien Meghazi
9cd7e946b2
[FIX] clear ir.ui.view cache on write()
...
bzr revid: fme@openerp.com-20140122150230-bfb02rtxm3ojpvye
2014-01-22 16:02:30 +01:00
Gery Debongnie
74386a5bb9
[IMP] changes the method read_group so that it now accepts groupbys of the form 'field:groupby_function', like 'create_date:week' for example. Also, removes the previous hack using the context (orm.py)
...
bzr revid: ged@openerp.com-20140122124206-b5p06tpzw2i7tpo2
2014-01-22 13:42:06 +01:00
Fabien Meghazi
fea8520889
[FIX] local_redirect() should forward code to redirect_with_hash()
...
bzr revid: fme@openerp.com-20140122104022-hal3xe6eywffly3u
2014-01-22 11:40:22 +01:00
Fabien Meghazi
5013315f57
[MERGE] upstream
...
bzr revid: fme@openerp.com-20140122102358-te3vpyhblujbxkzt
2014-01-22 11:23:58 +01:00
Fabien Meghazi
f8281bce0b
[FIX] routing_map crossdb bug introduced in Rev: 5151 revid:fme@openerp.com-20140120153614-t8l7tfit686ehfn0
...
bzr revid: fme@openerp.com-20140121195348-mcdreqjo3kod0p7i
2014-01-21 20:53:48 +01:00
Denis Ledoux
4aeba0c12e
[FIX] modules: multi worker signaling initialize variables before loading registry
...
bzr revid: dle@openerp.com-20140121171836-dxs7cvqcd9nxytu1
2014-01-21 18:18:36 +01:00
Fabien Meghazi
b5118e606e
[FIX] redirect_with_hash firefox bug
...
bzr revid: fme@openerp.com-20140121160158-qsy28zty51wg7ip4
2014-01-21 17:01:58 +01:00
Fabien Meghazi
646a7de17a
[MOV] move redirection headers from webclient to server
...
bzr revid: fme@openerp.com-20140121155403-nmnntq664j2d1qjz
2014-01-21 16:54:03 +01:00
Gery Debongnie
17e3c31992
[MERGE] merge trunk into local branch
...
bzr revid: ged@openerp.com-20140113142459-pjoiau7pp4knvvda
bzr revid: ged@openerp.com-20140116144304-d00alltpt7j1gzvh
bzr revid: ged@openerp.com-20140121142924-641cu8trhm4pdf1m
2014-01-21 15:29:24 +01:00
Antony Lesuisse
658ed76a84
[REM] preprocess of widget selection on m2o
...
As they are now directly supported by the webclient since commit
web 3863 nicolas.vanhoren@openerp.com-20131022131525-d0i61sbm0w6katfs
bzr revid: al@openerp.com-20140121112759-zavwqdyv8kdq4oys
2014-01-21 12:27:59 +01:00
Fabien Meghazi
8702ef5d3b
[CHG] Allow @http.route() to use additional parameters and inherits them properly
...
bzr revid: fme@openerp.com-20140120153614-t8l7tfit686ehfn0
2014-01-20 16:36:14 +01:00
Xavier Morel
eebda715bb
[IMP] py26 compatibility
...
bzr revid: xmo@openerp.com-20140120135333-7b7qccr4quh2h1um
2014-01-20 14:53:33 +01:00
Launchpad Translations on behalf of openerp
28d79433c3
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140118070457-rn2tgdxis2fi3nqo
bzr revid: launchpad_translations_on_behalf_of_openerp-20140119055822-ajy043mntc4jr407
bzr revid: launchpad_translations_on_behalf_of_openerp-20140120055854-z7wtyb24c5t8kcmj
bzr revid: launchpad_translations_on_behalf_of_openerp-20140118070538-2xm86ece1aate8u9
bzr revid: launchpad_translations_on_behalf_of_openerp-20140119055932-sa6vrp2g8ua3u88e
bzr revid: launchpad_translations_on_behalf_of_openerp-20140120055948-lwcyqcfutgamwac1
bzr revid: launchpad_translations_on_behalf_of_openerp-20140118070546-d89xqw56zou7e9p9
bzr revid: launchpad_translations_on_behalf_of_openerp-20140120055955-6wrdxqy1018mo7jq
2014-01-20 05:59:55 +00:00
Jojo le bricolo
6a4ea0f9a4
QWeb cleanups
...
bzr revid: jojo_le_bricolo-20140119174437-kjrr9p1smpdxhd3u
2014-01-19 18:44:37 +01:00
Denis Ledoux
f8ef34511c
[IMP] report: performance improvment in reports. Use cached method to get decimal precision
...
bzr revid: dle@openerp.com-20140117171634-ohtydts70hjiqss7
2014-01-17 18:16:34 +01:00
Christophe Simonis
14815d669f
[FIX] attachments: filestore use dbname instead of dbuuid
...
bzr revid: chs@openerp.com-20140117161424-i1ggvzawkjrabbwc
2014-01-17 17:14:24 +01:00
Christophe Matthieu
bd444b8a5e
[FIX] ir_ui_view: add method clear_cache called when user change user groups
...
bzr revid: chm@openerp.com-20140117143853-sy5ehfk9n2wrzq41
2014-01-17 15:38:53 +01:00
Christophe Matthieu
2f974012db
[FIX] ir_ui_view: write noupdate on ir_model_data with SUPERUSER when the user write
...
bzr revid: chm@openerp.com-20140117134916-w59ive0yiqchp57m
2014-01-17 14:49:16 +01:00
Christophe Matthieu
1b44ed492f
[FIX] base/account: auto install period's dates. Resolve: don't set country_id to res.partner
...
bzr revid: chm@openerp.com-20140117131733-23jrg3hlcqyalte9
2014-01-17 14:17:33 +01:00
Martin Trigaux
a75ebb628c
[IMP] search_read: avoid calling read if search only on id column (security rules already triggered with search)
...
bzr revid: mat@openerp.com-20140117120235-zdj7pjd8xnnrnqol
2014-01-17 13:02:35 +01:00
Christophe Simonis
a45b2c6b90
merge upstream
...
bzr revid: chs@openerp.com-20140117092206-ha47ryhjc4ph50nl
2014-01-17 10:22:06 +01:00
Christophe Simonis
143f520395
[FIX] test ir_attachment: files are not directories
...
bzr revid: chs@openerp.com-20140116224207-m2s5ljkb1t7q54tk
2014-01-16 23:42:07 +01:00
Christophe Simonis
c55079f112
[IMP] ir.attachment: active db storage by setting setting to "db"
...
bzr revid: chs@openerp.com-20140116224058-v53fozipvi0obmq1
2014-01-16 23:40:58 +01:00
Christophe Simonis
895b3c96f6
[FIX] test ir_attachment: call super()
...
bzr revid: chs@openerp.com-20140116221403-h6h9cvt9rn8y2yj1
2014-01-16 23:14:03 +01:00
Christophe Simonis
45d24fd92b
[FIX] ir.attachement: typo s/config_paramater/config_parameter/
...
bzr revid: chs@openerp.com-20140116214722-4804mskx7c21ikk5
2014-01-16 22:47:22 +01:00
Christophe Simonis
080cbb88a3
[FIX] works better without SyntaxError
...
bzr revid: chs@openerp.com-20140116202601-ckn20h6yhiufzonq
2014-01-16 21:26:01 +01:00
Christophe Simonis
3275de5981
[IMP] ir.attachment: filestore is now in data-dir and by default
...
bzr revid: chs@openerp.com-20140116185415-ajia02bsty9joox7
2014-01-16 19:54:15 +01:00
Thibault Delavallée
382efffb58
[MERGE] [CLEAN] Part I of cleaning and improvements of the server branch of website-al, after review with our Masters. All Glory to Our Masters.
...
[CLEAN] res_config, res_users: cleaned call to imd.get_object() + code cleaning
- res_config: raise by default, no need to set the argument at True
- res_users: directly embedded get_user_groups_view code inside update_user_groups_view.
The try / except is still necessary, because when installing a new db, groups and users
are created before the user_groups_view view effectively exist. Due to some circular
references, the try / except is therefore necessary to install a new db.
[CLEAN] ir_qweb: simplified and cleaned QWebcontext implementation
- now using openerp.tools.safe_eval, instead of a custom eval with custom builtins
- removed undefined_handler, hardcoded to a lambda function that returns None for
a missing attribute
- cleaned code, removed now dead BUILTINS, removed commented code
- tools.safe_eval: added a parameter locals_builtins. This allows to copy the globals builtins in the locals. This modification is due to the fact that the locals always returns None, allowing to simplify templates. Otherwise we would have to test the existence of each variable before actually using it. However as the locals always return None for every key, the globals are never checked. Copying the builtins inside the local allows to have a complete locals, but slightly break the globals/locals separation.
[CLEAN] Misc
- setup.py: reverted website-al unnecessary change
- oe: reverted website-al unnecessary change
[DOC] renamed misc_qweb.rst file into ir_qweb.rst
bzr revid: tde@openerp.com-20140116184144-fd5h4a94we13mm72
2014-01-16 19:41:44 +01:00
Thibault Delavallée
f4bb798cb8
[CLEAN] ir_qweb: removed commented and now dead BUILTINS
...
bzr revid: tde@openerp.com-20140116183315-g5ootf670kwx1z1z
2014-01-16 19:33:15 +01:00
Thibault Delavallée
c76a3aba8f
[CLEAN] ir_qweb: simplified and cleaned QWebcontext implementation
...
- now using openerp.tools.safe_eval, instead of a custom eval with custom builtins
- removed undefined_handler, hardcoded to a lambda function that returns None for
a missing attribute
tools.safe_eval: added a parameter locals_builtins. This allows to copy the builtins
in the locals. This hack is due to the fact that the locals always returns None, allowing
to simplify templates. Otherwise we would have to test the existence of each variable
before actually using it.
However as the locals always return None for every key, the globals are never checked.
Copying the builtins inside the local allows to have a complete locals, but sligtly
break the globals/locals separation.
To be reviewed and approved.
bzr revid: tde@openerp.com-20140116182750-1rnw8iljt5a9gb4u
2014-01-16 19:27:50 +01:00
Christophe Simonis
c48f11041b
[IMP] chmod data-dir
...
bzr revid: chs@openerp.com-20140116164406-p2gtb2uziwhchp68
2014-01-16 17:44:06 +01:00
Christophe Simonis
db10e1d3a5
[FIX] http: store sessions in data-dir
...
bzr revid: chs@openerp.com-20140116164142-ikcw82lyfopoj46k
2014-01-16 17:41:42 +01:00
Christophe Simonis
2f90f80ba0
[FIX] orm: As float fields are stateful (the .digit attribute depend of the database (decimal_precision)), registry model instances need their owm copy.
...
lp bug: https://launchpad.net/bugs/929483 fixed
bzr revid: chs@openerp.com-20140116153708-061aq2k0n1qsb2n3
2014-01-16 16:37:08 +01:00
Olivier Dony
212b6bc480
[FIX] modules: set initial values for multi-process signaling to None to avoid missing events
...
For fresh databases, the signaling sequences in the
database stays at 1 until the installation of the
first module. If several workers are hit for this
database before the first module is installed,
this database registry will be loaded with a signaling
sequence of 1. Since was the default value, any
signal received by workers in this state was ignored
because they thought the registry was previously
not loaded.
Using None to indicate an sequence value
is more accurate and avoids this error
bzr revid: dle@openerp.com-20140116151157-3zlyrg48xqn2lkd0
2014-01-16 16:11:57 +01:00
Xavier Morel
ff51574fae
[FIX] somebody renamed classes without fixing the corresponding autodoc invocation
...
bzr revid: xmo@openerp.com-20140116144957-j2no6ls83vfxtgbk
2014-01-16 15:49:57 +01:00
Thibault Delavallée
8af1afb1a0
[CLEAN] [REM] ir_qweb: removed access rules on the various ir_web models
...
as those are abstract models. They should not have any access rules.
bzr revid: tde@openerp.com-20140116140621-6mjkp82oy0iyahi7
2014-01-16 15:06:21 +01:00
Fabien Meghazi
2e43125353
[FIX] LazyResponse exceptions not properly managed in auth="none"
...
bzr revid: fme@openerp.com-20140116135650-c3gri2m1j80wcwca
2014-01-16 14:56:50 +01:00
Fabien Meghazi
cee6749395
[IMP] ir_http._handle_exception() raises last exception in order to keep original traceback
...
bzr revid: fme@openerp.com-20140116135426-x7q8l6ph2m1ln8ry
2014-01-16 14:54:26 +01:00
Thibault Delavallée
2c32d92ee5
[CLEAN] res_config, res_users: cleaned call to imd.get_object() + code cleaning
...
- res_config: raise by default, no need to set the argument at True
- res_users: directly embedded get_user_groups_view code inside update_user_groups_view.
The try / except is still necessary, because when installing a new db, groups and users
are created before the user_groups_view view effectively exist. Due to some circular
references, the try / except is therefore necessary to install a new db.
bzr revid: tde@openerp.com-20140116134056-nyiybx7zsr8rhkiv
2014-01-16 14:40:56 +01:00
Christophe Simonis
a73c02075a
[FIX] ensure data-dir (and subdirs) exists
...
bzr revid: chs@openerp.com-20140116100243-ltp6yunvm1bnvn5q
2014-01-16 11:02:43 +01:00
Thibault Delavallée
ab5c23079a
[MERGE] Sync with trunk, solved conflicts.
...
bzr revid: tde@openerp.com-20140116091716-zk1n5ots94i65io5
2014-01-16 10:17:16 +01:00
Launchpad Translations on behalf of openerp
f39b8bb436
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060347-s1e2v9o33n1cxk2y
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060418-cw791djr2ebt2wuy
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060651-x8r0l0m27wcx0yav
2014-01-16 06:06:51 +00:00