Commit Graph

5423 Commits

Author SHA1 Message Date
Christophe (OpenERP) e61b9f4e8c [MERGE] res.users: copy() should heed provided default dict
bzr revid: odo@openerp.com-20110110105829-sj0igyle1huv1ami
2011-01-10 11:58:29 +01:00
Christophe Simonis 5ca4fbce7f [FIX] base: do force the values in when copy()ing res.users
bzr revid: chs@openerp.com-20110110103714-orj5jiovz5ua7ozs
2011-01-10 11:37:14 +01:00
Christophe Simonis dfe31673ab [FIX] avoid different behavior depending of order of files in __openerp__.py
bzr revid: chs@openerp.com-20110110101558-y0idch1no50nnign
2011-01-10 11:15:58 +01:00
Yogesh Sakhreliya 8ce6a08a7b [FIX] Fields.function : Correct accessors passed to fields of type integer and integer_big
bzr revid: ysa@tinyerp.com-20110110094413-3640rl39pj1r9v1t
2011-01-10 15:14:13 +05:30
Vo Minh Thu 66a453bf7d [FIX]: base_export_language.py: forgot to replace dbname with cr in the call to trans_export.
lp bug: https://launchpad.net/bugs/700770 fixed

bzr revid: vmt@openerp.com-20110110085335-lj3zzgdzvm5a45x9
2011-01-10 09:53:35 +01:00
Launchpad Translations on behalf of openerp f8c860f789 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110109045048-tv4cf28i2wv0d0na
bzr revid: launchpad_translations_on_behalf_of_openerp-20110110051507-c4s836t09vgn60zu
bzr revid: launchpad_translations_on_behalf_of_openerp-20110109045451-cvr6hytqd4l4a0ns
bzr revid: launchpad_translations_on_behalf_of_openerp-20110110051937-hc1vn7052zwl4vxu
2011-01-10 05:19:37 +00:00
Fabien Pinckaers 53e2a9451a revert_wrong_commit
bzr revid: fp@tinyerp.com-20110108114124-vkd87mk5u2iw5hhi
2011-01-08 12:41:24 +01:00
Fabien Pinckaers a32c9c4c18 merge
bzr revid: fp@tinyerp.com-20110108113831-k1r3e7yscw801jgn
2011-01-08 12:38:31 +01:00
Launchpad Translations on behalf of openerp dfea81ed46 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110108045521-xphks9lahnstjqn2
bzr revid: launchpad_translations_on_behalf_of_openerp-20110108050208-75canjc9ou4whmc8
2011-01-08 05:02:08 +00:00
Olivier Dony 530704a349 [FIX] ir.ui.view,ir.ui.view.custom: cleanup handling of customized views + add menu and views
Custom views are used when users reorganize their dashboards (drag and drop in web), but this should not be
special-cased for board.board model in the core. The web client will instead directly write to the ir.ui.view.custom
table, and the board module will override board.board.fields_view_get to take custom views into account.
The only responsibility of the core is to drop custom views when the original view is updated, to be sure there
are no outdated customizations that remain.

bzr revid: odo@openerp.com-20110107160337-0rovd484id4gfc16
2011-01-07 17:03:37 +01:00
Olivier Dony 8edba174ce [MERGE] translations: refactoring/deferral of translated resource id resolution, fixing several translation issues
lp bug: https://launchpad.net/bugs/696760 fixed

bzr revid: odo@openerp.com-20110107151735-agubxu82g0ursdbh
2011-01-07 16:17:35 +01:00
Olivier Dony 58c3542d11 [FIX] addons: defer module data cleanup at end of install/update and avoid loading same module twice
lp bug: https://launchpad.net/bugs/699732 fixed

bzr revid: odo@openerp.com-20110107123603-ehyymz30jqzhky20
2011-01-07 13:36:03 +01:00
Olivier Dony 51e8237ca3 [FIX] res.lang: avoid error at language install for command-line db creation
bzr revid: odo@openerp.com-20110107123207-31nngybqjq4qgko5
2011-01-07 13:32:07 +01:00
Olivier Dony ae0c9ce10f [FIX] res_user: fix password management for wweb client + improve code readability in change_password
bzr revid: odo@openerp.com-20110107121201-wc6rrk8vjek5d2iw
2011-01-07 13:12:01 +01:00
Xavier Morel e8f67e8a30 [FIX] display full request parameters (infinite depth) when debug_rpc_answer is enabled
bzr revid: xmo@openerp.com-20110107115553-ghvq7xgaevuji189
2011-01-07 12:55:53 +01:00
Jacques-Etienne Baudoux de013193a6 [FIX] list only installed modules
bzr revid: jba@openerp.com-20110107114233-f5p2h1rasyoxwfdp
2011-01-07 12:42:33 +01:00
Jacques-Etienne Baudoux e6cddbf400 [FIX] inherited view in "Model Overview" report
bzr revid: jba@openerp.com-20110107103335-2kqmt5g4bue52sge
2011-01-07 11:33:35 +01:00
Jacques-Etienne Baudoux 76430dba34 [FIX] list of views function in ir.model
bzr revid: jba@openerp.com-20110107101919-bei5x77fl98432jy
2011-01-07 11:19:19 +01:00
Olivier Dony 95930221b6 [FIX] res_user.change_password: warn about empty passwords (needs context for translations)
bzr revid: odo@openerp.com-20110107093929-2ezai2gwx8hdyfuc
2011-01-07 10:39:29 +01:00
P. Christeas 89ec68926d ir.model.fields: implement the write(), allow custom fields to change
Implement the missing feature of being able to modify those custom
fields in the database, through the ORM interface. Now, using the
ir.model or ir.model.fields forms, the admin is able to alter properties
of custom fields on a live server (without server restart).

In the future, we may even remove the fuse for base fields and allow
them to change, too.

bzr revid: p_christ@hol.gr-20110107092917-xh00qjbap7ixggwr
2011-01-07 11:29:17 +02:00
P. Christeas 1a3432b439 ir.model: move the check inside create() and write(), simplfy defaults.
Since the create() function does call cr.commit(), the validity check
for selection options shall happen before the call to orm._auto_init().

bzr revid: p_christ@hol.gr-20110107092655-kokkx3pz2ilawyc0
2011-01-07 11:26:55 +02:00
Olivier Dony 925afa15cd [FIX] res_user: typo in exception message
bzr revid: odo@openerp.com-20110107091430-xc09d5ajliy7nqss
2011-01-07 10:14:30 +01:00
Fabien Pinckaers 849e49a2b4 [IMP] index on partner's ref
bzr revid: fp@tinyerp.com-20110110170328-85g072pod3v2x3d9
2011-01-10 18:03:28 +01:00
Olivier Dony 438232f6be [FIX] res_lang: sanitize time_format for python's strftime
POSIX's strftime has a number of 'compound' formats for quick-formatting of time spans (e.g. %T for %H:%M:%S) which Python's own strftime does not support => error when trying to use them


manually expand those compound formats to their atoms

refs:
http://pubs.opengroup.org/onlinepubs/009695399/functions/strftime.html
http://docs.python.org/library/time.html#time.strftime

lp bug: https://launchpad.net/bugs/698134 fixed
lp bug: https://launchpad.net/bugs/697833 fixed

bzr revid: odo@openerp.com-20110110151912-ysu06271z40hxxho
2011-01-10 16:19:12 +01:00
Olivier Dony 423bf21213 [FIX] ir.ui.view_sc: ref_id cannot be a m2o as it can reference different resources
bzr revid: odo@openerp.com-20110110135517-wi3dfqqzvfhx5n9f
2011-01-10 14:55:17 +01:00
Olivier Dony bd4da77b3c [IMP] res.users: redundant test on passwd removed
bzr revid: odo@openerp.com-20110110135226-igdn38c37ts2lvbe
2011-01-10 14:52:26 +01:00
Olivier Dony 7d3375f49f [MERGE] bugfixes: default language for partners, password change, validation of custom selection fields, ...
See the bug links

lp bug: https://launchpad.net/bugs/670264 fixed
lp bug: https://launchpad.net/bugs/692891 fixed
lp bug: https://launchpad.net/bugs/695678 fixed
lp bug: https://launchpad.net/bugs/631547 fixed
lp bug: https://launchpad.net/bugs/632927 fixed

bzr revid: odo@openerp.com-20110106173828-kdv1gtdvbws1ceb5
2011-01-06 18:38:28 +01:00
Vo Minh Thu 052f6caeaa [IMP] ir_translation: added help messages and comments.
bzr revid: vmt@openerp.com-20110106132830-l0jynvpdd49xurm6
2011-01-06 14:28:30 +01:00
Vo Minh Thu fbc332935b [IMP] translation: added trans_update_res_ids to resolve the res_ids from ir_translation.
bzr revid: vmt@openerp.com-20110106130654-tp8jyjo3h3nvgqbq
2011-01-06 14:06:54 +01:00
Olivier Dony efa3c687c3 [FIX] netsvc: debug_rpc_answer should log all contents of RPC calls, debug_rpc only summary of requests
bzr revid: odo@openerp.com-20110106112943-jw9hdjsn19djrgia
2011-01-06 12:29:43 +01:00
P. Christeas 73af237c8b pyPdf: upgrade from upstream git: 4abdca42a7d8a4
bzr revid: p_christ@hol.gr-20110106111400-hqw1nu5wx1mict4t
2011-01-06 13:14:00 +02:00
Vo Minh Thu 4629c7af78 [IMP] translation: Added two columns to ir_translation to fix the res_ids after loading is done.
Currently res_ids are resolved and written to ir_translation on the fly, as
the .po are loaded, line by line. Doing this in a second step should resolve
a translation bug and make things faster too.

bzr revid: vmt@openerp.com-20110106105021-xj9vah5oz0ceto7i
2011-01-06 11:50:21 +01:00
husen 660565f56e fixed typo
bzr revid: husen@husen-laptop-20110106061732-clmvihyz26g64ujs
2011-01-06 11:47:32 +05:30
Launchpad Translations on behalf of openerp 35fa7cd34e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110106043500-7v9lu0vz6rw06og9
bzr revid: launchpad_translations_on_behalf_of_openerp-20110106053849-1bfeq2m1gsv0j789
2011-01-06 05:38:49 +00:00
Olivier Dony fe01a3eba8 [FIX] base: security: ir.module.dependency should be readable by all
bzr revid: odo@openerp.com-20110105161903-8fk1ai0ajddugoa1
2011-01-05 17:19:03 +01:00
Vo Minh Thu fb52e88957 [IMP] test_translate: code and yml to test the translation mechanism.
bzr revid: vmt@openerp.com-20110105151658-973xp0pyizisuyv5
2011-01-05 16:16:58 +01:00
Vo Minh Thu c2402b14a9 [IMP] trans_export/trans_load: passing a cursor around instead of a dbname.
bzr revid: vmt@openerp.com-20110105140758-vgoufkd85v6ywrjk
2011-01-05 15:07:58 +01:00
Jacques-Etienne Baudoux 0849ba9d6f [ADD] ir.model : list of modules in which the object is defined
[ADD] ir.model.fields : list of modules in which the field is defined
[IMP] ir.model : aligned field form view with ir.model.fields
[ADD] ir.model : list of views
[ADD] ir.model : report "Model Overview"

bzr revid: jba@openerp.com-20110105140708-qrby7d6trhjw7vs5
2011-01-05 15:07:08 +01:00
Tristan Hill 0319803c53 [FIX] add missing import for previous commit
bzr revid: tristan.hill@credativ.co.uk-20110105093426-oel96wxnzdpmd14c
2011-01-05 09:34:26 +00:00
Tristan Hill aeae9be58f [IMP] Log exception message in same error message as title. Log traceback when debugging.
bzr revid: tristan.hill@credativ.co.uk-20110105092606-xt4z6r7cundidtg8
2011-01-05 09:26:06 +00:00
Tristan Hill 0a29f54262 [FIX] rollback transaction on exception to keep database in expected state
bzr revid: tristan.hill@credativ.co.uk-20110105092348-l6354716s7yf7sup
2011-01-05 09:23:48 +00:00
Launchpad Translations on behalf of openerp fc20503f95 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110105044558-0uncsdgwof4uy05z
2011-01-05 04:45:58 +00:00
Olivier Dony 985f8a4ad0 [IMP] orm: added get_xml_ids() variant to support retrieving multiple IDs
Also refactored get_xml_id()

bzr revid: odo@openerp.com-20110104150755-6r8r3ohwgen02iq5
2011-01-04 16:07:55 +01:00
Launchpad Translations on behalf of openerp 9e6c378cc9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110104141012-m3sdh6ds714v690p
2011-01-04 14:10:12 +00:00
Olivier Dony 15c38f45df [FIX] report_sxw: fix printing odt/sxw reports after regression from fix for bug 670778
The original fix introduced a safety mechanism for avoiding transmission of invalid binary data via
XML-RPC, but caused an issue for binary function fields that do not carry data as base64.
This patch fixes this problem with the printing of odt/sxw reports (via odt2odt) which does
rely on non-base64 binary data for the sxw content.

By re-decoding the unicode-wrapped binary data using the pass-through charset latin1 we 
are sure to restore the original byte values, hence the original file content.

bzr revid: odo@openerp.com-20110104115419-fa4pv1dc63f83dxi
2011-01-04 12:54:19 +01:00
Fabien Pinckaers 4a90463eb6 [IMP] better menu tip for modules
bzr revid: fp@tinyerp.com-20110104101847-d1tjsqitciprle1f
2011-01-04 11:18:47 +01:00
Olivier Dony bf16725dc8 [FIX] all: ensure all open files are closed (partial patch courtesy of Lampman Trading)
lp bug: https://launchpad.net/bugs/676931 fixed

bzr revid: odo@openerp.com-20110104101335-964sl0e71zsgzfjw
2011-01-04 11:13:35 +01:00
Fabien Pinckaers 8020189af7 [IMP] mobile -> portable
bzr revid: fp@tinyerp.com-20110104092644-nz5nldyn8ej02vw3
2011-01-04 10:26:44 +01:00
Fabien Pinckaers 69b2f58dac [IMP] unable to parse PDF reports
bzr revid: fp@tinyerp.com-20110104081508-rg2pq652dsggh3m1
2011-01-04 09:15:08 +01:00
Yogesh Sakhreliya bf5765b3ef Merge with trunk-server
bzr revid: ysa@tinyerp.com-20110104054925-mhs1vnkyqs7z6yy6
2011-01-04 11:19:25 +05:30
Yogesh Sakhreliya 3acdf9f9c1 [FIX] Create new db then check default languange is set or not in res.partner.
bzr revid: ysa@tinyerp.com-20110104054512-1nhao63res640c9t
2011-01-04 11:15:12 +05:30
Yogesh Sakhreliya 623485b41b [FIX] old password check using check method in res.users.
bzr revid: ysa@tinyerp.com-20110104044446-x8407oskmg92ecg0
2011-01-04 10:14:46 +05:30
Yogesh Sakhreliya d6290ccd82 [FIX] assign default value in icon_image variable in ir.ui.menu.
bzr revid: ysa@tinyerp.com-20110104043415-vt2br30i3esqwhm7
2011-01-04 10:04:15 +05:30
Olivier Dony ac3f37be8f [I18N] base: updated translation templates after latest changes (again)
bzr revid: odo@openerp.com-20110103172158-j60duhck9fh6lv9x
2011-01-03 18:21:58 +01:00
Olivier Dony a0496a1f9d [I18N] base: updated translation templates after latest changes
bzr revid: odo@openerp.com-20110103161758-w0u73a6dwpxk1o93
2011-01-03 17:17:58 +01:00
Yogesh Sakhreliya b47f0239dc [IMP] improve message string.
bzr revid: ysa@tinyerp.com-20110103133024-r7jim80edc3fmyei
2011-01-03 19:00:24 +05:30
Yogesh Sakhreliya 2218b36b50 [IMP] improve change user password wizard.
bzr revid: ysa@tinyerp.com-20110103132326-18qzic0k7lk1sq2y
2011-01-03 18:53:26 +05:30
Christophe Simonis 96b6e91a30 [FIX] base: rename bad variable name
bzr revid: chs@openerp.com-20110103123456-mqxqymhj62d3sw05
2011-01-03 13:34:56 +01:00
Christophe Simonis 623b5bbfaa [IMP] update version number
bzr revid: chs@openerp.com-20110103123412-r5jtzfkflunxknvb
2011-01-03 13:34:12 +01:00
Yogesh Sakhreliya 470f98b9d4 [FIX] remove default value set in partner.
bzr revid: ysa@tinyerp.com-20110103121949-ayvs047l94jzeyq5
2011-01-03 17:49:49 +05:30
Yogesh Sakhreliya 8b7e75c8c2 Merge with trunk-server
bzr revid: ysa@tinyerp.com-20110103110755-d08nb5i79jz6czky
2011-01-03 16:37:55 +05:30
Yogesh Sakhreliya 4e806c6d30 [FIX] add constraints in ir.model.fields for selection values.
bzr revid: ysa@tinyerp.com-20110103110333-xb8lm08mejv8nn4i
2011-01-03 16:33:33 +05:30
Launchpad Translations on behalf of openerp fa901453c3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101231052227-rbby2m5910zai1xz
bzr revid: launchpad_translations_on_behalf_of_openerp-20110101050018-ofwsz46r2e77f3wm
bzr revid: launchpad_translations_on_behalf_of_openerp-20110102050017-hq4lz27tt321mirx
2011-01-02 05:00:17 +00:00
Yogesh Sakhreliya d4b2226607 [FIX] fixed error if user assign wrong image path.
bzr revid: ysa@tinyerp.com-20101231093240-2m7eg0bpre7x3xsb
2010-12-31 15:02:40 +05:30
Yogesh Sakhreliya 7b37895c7f [FIX] use exists method instead of search method.
bzr revid: ysa@tinyerp.com-20101231090253-zh0escpwqtk80wtv
2010-12-31 14:32:53 +05:30
Yogesh Sakhreliya 38092d24bf [FIX-692891]
bzr revid: ysa@tinyerp.com-20101231061314-jhjc6c2uyeqko19x
2010-12-31 11:43:14 +05:30
Yogesh Sakhreliya 4caf1482b3 Merge with trunk-server
bzr revid: ysa@tinyerp.com-20101231053422-0nxfmhog3441ng5r
2010-12-31 11:04:22 +05:30
Yogesh Sakhreliya 75bb78d293 [FIX] check languange not install then call load_lang method.
bzr revid: ysa@tinyerp.com-20101231051228-k9m3h91zp0czrovl
2010-12-31 10:42:28 +05:30
Fabien Pinckaers a4c3295f5c [IMP] better menu tips
bzr revid: fp@tinyerp.com-20101230102943-zhwiecs7uj5q1aeh
2010-12-30 11:29:43 +01:00
Fabien Pinckaers 3e55b9fc15 [IMP] better menu tips
bzr revid: fp@tinyerp.com-20101230102234-z4w3hgxiave7h9e1
2010-12-30 11:22:34 +01:00
Yogesh Sakhreliya 4862a5f846 Merge with trunk-server
bzr revid: ysa@tinyerp.com-20101230092459-b1xlf2trdw76zn6k
2010-12-30 14:54:59 +05:30
Yogesh Sakhreliya 3ebc68162a [FIX] default languange set in partner according to database installation language.
bzr revid: ysa@tinyerp.com-20101230091734-0hrmb3fzpdy78w2v
2010-12-30 14:47:34 +05:30
Yogesh Sakhreliya 6112db95dd [FIX-695338] fix assert tag in currency rate.
bzr revid: ysa@tinyerp.com-20111229123413-vba5v6etaf1vrh74
2011-12-29 18:04:13 +05:30
Fabien Pinckaers b5de022e98 [FIX] moved access rights
bzr revid: fp@tinyerp.com-20101230073332-phm2azxxk52fc8ba
2010-12-30 08:33:32 +01:00
Fabien Pinckaers d4347f56f8 merge
bzr revid: fp@tinyerp.com-20101230072455-kbt0pel1uqxnss1s
2010-12-30 08:24:55 +01:00
Olivier Dony 3c4cdab9f2 [FIX] res_company,res_user: corrected context for filtering user companies
lp bug: https://launchpad.net/bugs/683643 fixed

bzr revid: odo@openerp.com-20101230041832-i231u1lkzvas3bzp
2010-12-30 05:18:32 +01:00
Olivier Dony cb93fbf97b [FIX] ir.translation: coerce source terms into unicode, to avoid transmitting invalid UTF-8 bytes
This may happen when trying to translate already translated terms, such as the locale-dependen values provided by strftime

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

bzr revid: odo@openerp.com-20101230032017-g2r9xx1mu1u5w94g
2010-12-30 04:20:17 +01:00
Olivier Dony 596a464041 [FIX] tools,addons: increased support for installation paths containing non-ascii characters
lp bug: https://launchpad.net/bugs/563029 fixed

bzr revid: odo@openerp.com-20101230014831-jefjtmgy0a10a4mk
2010-12-30 02:48:31 +01:00
Olivier Dony a8422b1b09 [FIX] tools.config: avoid saving load_language config parameter, only meant for one-shot
bzr revid: odo@openerp.com-20101230014014-zcu2xy0gmwqvy5tn
2010-12-30 02:40:14 +01:00
YSA (OpenERP) cbe201785f [MERGE] base, report: several bugfixes (see bug links)
bzr revid: odo@openerp.com-20101229201250-q7le63xa3rbsce6o
2010-12-29 21:12:50 +01:00
Olivier Dony 1e6aad88c0 [I18N] base: updated POT after latest changes and improvements in translation engine
bzr revid: odo@openerp.com-20101229190347-2qt6f6pok9h7bbx7
2010-12-29 20:03:47 +01:00
Fabien Pinckaers 840e76b9ac merge
bzr revid: fp@tinyerp.com-20101229185833-ujdxwg5zyg2i3zf2
2010-12-29 19:58:33 +01:00
Fabien Pinckaers 303c769a53 merge
bzr revid: fp@tinyerp.com-20101229184343-0svcjyn4iwo6aa4r
2010-12-29 19:43:43 +01:00
Fabien Pinckaers 3aa565049e merge
bzr revid: fp@tinyerp.com-20101229183043-d31jqx557h9fzx00
2010-12-29 19:30:43 +01:00
Fabien Pinckaers d2bcd1e0ef merge
bzr revid: fp@tinyerp.com-20101229183007-mlroj1fky2b7opxr
2010-12-29 19:30:07 +01:00
Fabien Pinckaers a9d913044c merge
bzr revid: fp@tinyerp.com-20101229182509-jvoanufnklz1jbk2
2010-12-29 19:25:09 +01:00
P. Christeas 7100cfa985 [MERGE] translations: source line numbers added in PO, ORM terms exported in base, XML comments ignored
bzr revid: odo@openerp.com-20101229182028-astrsxry7v3lz1eg
2010-12-29 19:20:28 +01:00
Fabien Pinckaers 4641ec59a8 merge
bzr revid: fp@tinyerp.com-20101229181739-dt7vdh4ke2vjmt6h
2010-12-29 19:17:39 +01:00
Fabien Pinckaers 1ac480bfe9 merge
bzr revid: fp@tinyerp.com-20101229181537-tnhdat4oltusreso
2010-12-29 19:15:37 +01:00
Fabien Pinckaers b0397a4de5 merge
bzr revid: fp@tinyerp.com-20101229181459-creb8lbfqb29at53
2010-12-29 19:14:59 +01:00
Fabien Pinckaers 7d25c7ee3f merge
bzr revid: fp@tinyerp.com-20101229181319-xb5no9jq3eze42o7
2010-12-29 19:13:19 +01:00
Fabien Pinckaers d752a03017 merge
bzr revid: fp@tinyerp.com-20101229180626-yuev2gw6erbsdkjs
2010-12-29 19:06:26 +01:00
Olivier Dony 013243e708 [FIX] addons: make sure base demo and tests are reloaded as well upon update
bzr revid: odo@openerp.com-20101229174851-zcflitp2ht2xl52o
2010-12-29 18:48:51 +01:00
P. Christeas 52c0c0e09e [MERGE] orm,expression: fixed m2o handling of empty lists in domains + tests
lp bug: https://launchpad.net/bugs/598454 fixed

bzr revid: odo@openerp.com-20101229174223-xjljjvwqoiwgpci1
2010-12-29 18:42:23 +01:00
Fabien Pinckaers a4bf3d5ee1 LP Merge proposal 34736 on duty of Daniel Watkins (credativ)
bzr revid: fp@tinyerp.com-20101229141821-2yyuop9hovwnulyc
2010-12-29 15:18:21 +01:00
Olivier Dony 1fd49747fb [FIX] orm: fixed RST indentation in docstring of browse()
bzr revid: odo@openerp.com-20101229161712-u62qwgshmjlybsv6
2010-12-29 17:17:12 +01:00
Tony Gu (openerp-chinese-team) 3e1a8baf27 [MERGE] reports: register custom fonts only once to improve the report creation performance
bzr revid: odo@openerp.com-20101229155133-xiivbynvjwlvma8f
2010-12-29 16:51:33 +01:00
Vo Minh Thu 3ecea6df63 [MERGE] tools.translate, module: load generic PO files before specific ones (e.g fr.po before fr_BE.po)
bzr revid: odo@openerp.com-20101229145313-7v7rv3ntmqehzdyi
2010-12-29 15:53:13 +01:00
Fabien Meghazi 020d0b1093 [FIX] Fixed inherited base config views for web client.
bzr revid: fme@openerp.com-20101229135102-nvw5t6smu8x2nooe
2010-12-29 14:51:02 +01:00
Fabien Pinckaers 0e387e388d [IMP] better error message on access rights
bzr revid: fp@tinyerp.com-20101229124427-a0yr0pfaimnplz22
2010-12-29 13:44:27 +01:00
Olivier Dony b2270b1a27 [FIX] orm: corrected RST for docstring of import_data()
bzr revid: odo@openerp.com-20101229120926-0czisx49e30fjijh
2010-12-29 13:09:26 +01:00
P. Christeas 76bd5dfb72 tools/translate: import skipped xml types from tools.misc, after recent patch
bzr revid: p_christ@hol.gr-20101229114025-p1aj5tfuf5pwxxw2
2010-12-29 13:40:25 +02:00
P. Christeas bcb7335027 tools/translate: don't export comments and PI nodes for translation
We are not going to display them to user, so let the teams skip those
strings.

bzr revid: p_christ@hol.gr-20101229113334-71fe2bnw1dra167q
2010-12-29 13:33:34 +02:00
P. Christeas b0e2c85065 translate: implement a counter to export the code line number
Before this, all code sources were like "#: code:foo/bar.py:0", now
they will have line no like "#: code:foo/bar.py:123".

Note that the gettext() wouldn't be affected, since it doesn't consult
the file name or line so far.

bzr revid: p_christ@hol.gr-20101229113306-vo3gflwunq2f75qm
2010-12-29 13:33:06 +02:00
P. Christeas 263b4524fb tools/translate: fix couple of errors caught by the lint check.
bzr revid: p_christ@hol.gr-20101229113134-6cz48hjh2hcc186e
2010-12-29 13:31:34 +02:00
P. Christeas fbc69de16b translate: export the orm and report code translations
bzr revid: p_christ@hol.gr-20101229112850-cqe0wxxtewyfdjsk
2010-12-29 13:28:50 +02:00
Olivier Dony 761c638a54 [FIX] osv,tools: break some circular dependencies
bzr revid: odo@openerp.com-20101229105004-ay1e69aujci1l32i
2010-12-29 11:50:04 +01:00
Olivier Dony 0e00f5c5a6 [FIX] ir.ui.menu: typos introduced recently
bzr revid: odo@openerp.com-20101229094754-c9od7rd0xlvk9h08
2010-12-29 10:47:54 +01:00
Yogesh Sakhreliya bc524902eb [FIX] fix height of configuration wizard.
bzr revid: ysa@tinyerp.com-20101229074951-s3yhn5regplzei5l
2010-12-29 13:19:51 +05:30
Yogesh Sakhreliya b5707c9b17 Merge with trunk-server
bzr revid: ysa@tinyerp.com-20101229074350-vk1xbgjqgsj71y8y
2010-12-29 13:13:50 +05:30
Jay (OpenERP) c516881b71 [FIX] Correction on currency rate
bzr revid: jvo@tinyerp.com-20101229060011-299fhz8iu8jdjk6p
2010-12-29 11:30:11 +05:30
Vo Minh Thu 799ef1b988 [ADD] clean-po.py: script to clean .po files.
bzr revid: vmt@openerp.com-20101228155640-hift2uqfcmif1s9r
2010-12-28 16:56:40 +01:00
Launchpad Translations on behalf of openerp 67e8c91c3b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101229044038-xv05sco0rtuoe3cm
bzr revid: launchpad_translations_on_behalf_of_openerp-20101229045841-67lol5w1iaobouap
2010-12-29 04:58:41 +00:00
Fabien Pinckaers 3ec84880c0 fix lp692891
bzr revid: fp@tinyerp.com-20101228160728-tfaia9pcqs0j4uef
2010-12-28 17:07:28 +01:00
Fabien Pinckaers 59dee8a7c0 fix lp #690032
bzr revid: fp@tinyerp.com-20101228160039-27wi6goxi6e8mv3z
2010-12-28 17:00:39 +01:00
Fabien Pinckaers c67f039c42 merge
bzr revid: fp@tinyerp.com-20101228155825-nstqujh3gheg7e0k
2010-12-28 16:58:25 +01:00
Fabien Pinckaers 44f3c893c5 [FIX] from cedk lp #677377
bzr revid: fp@tinyerp.com-20101228155347-eue161xp4fxeh8lc
2010-12-28 16:53:47 +01:00
Fabien Pinckaers 49ec58454c [FIX] access rights
bzr revid: fp@tinyerp.com-20101228151647-o2i9k3askwu6jpyq
2010-12-28 16:16:47 +01:00
François Degrave 1d1453330f [imp] access rights
bzr revid: fde@openerp.com-20101228140126-libxzh0q3wih5zge
2010-12-28 15:01:26 +01:00
Yogesh Sakhreliya cfad3fdbb9 [FIX] chnage the create new address record and change address_id in demo user. and fix problem in report file.
bzr revid: ysa@tinyerp.com-20101228110929-tr369m30tccn78up
2010-12-28 16:39:29 +05:30
Yogesh Sakhreliya 5e74d37e72 [IMP] add change user password wizard.
bzr revid: ysa@tinyerp.com-20101228102006-u2z5ve9d302xqe4v
2010-12-28 15:50:06 +05:30
Fabien Pinckaers 54b0cbdc1f [IMP] access rights
bzr revid: fp@tinyerp.com-20101228083020-si4yr34cb46cmjof
2010-12-28 09:30:20 +01:00
François Degrave 1052d276bd [FIX] dependencies in security groups
bzr revid: fde@openerp.com-20101228083019-b3n4ptlpdbxlxof2
2010-12-28 09:30:19 +01:00
Launchpad Translations on behalf of openerp 635e68beff Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101228043943-yn9g7d3fwe9zzqi1
bzr revid: launchpad_translations_on_behalf_of_openerp-20101228044349-82c2r8qkjdh917at
2010-12-28 04:43:49 +00:00
Fabien Pinckaers 21b9caa46b fix
bzr revid: fp@tinyerp.com-20101227170054-ochgr9x88l4wun2x
2010-12-27 18:00:54 +01:00
Fabien Pinckaers dd442961fb [FIX] Complete recode of import_data to clean and fix export with import compatible.
bzr revid: fp@tinyerp.com-20101227164621-mjb6n49f9i5bkeoh
2010-12-27 17:46:21 +01:00
Jay (OpenERP) 93e9e449ff [FIX] Correction on previous commit, menu placed correctly
bzr revid: jvo@tinyerp.com-20101227143850-ags2m9i4eqhg6xkq
2010-12-27 20:08:50 +05:30
Antony 22074d96f9 merge fde groups and access rights updates.
bzr revid: antony@openerp-laptop-20101227142631-8m03niwy061hmmx1
2010-12-27 15:26:31 +01:00
Antony d2b0c3d074 merge server trunk
bzr revid: antony@openerp-laptop-20101227140123-xtc8b2k3kgi4qcoj
2010-12-27 15:01:23 +01:00
Vo Minh Thu 8f8001d5f0 [IMP] translate: load language xx before xx_XX and overwrite only when a translation is available.
bzr revid: vmt@openerp.com-20101227135800-qwvsk4xwhzrjg6yf
2010-12-27 14:58:00 +01:00
François Degrave 15f577bfeb [IMP] rename internal user -> employee, remove product manager, instead: sale manager, warehouse manager, purchase manager,manufacturing manager have the rights, remove Usability No One, Move low level to Administration -> Customization -> Low level
bzr revid: fde@openerp.com-20101227125911-41521z6ctmmbxrru
2010-12-27 13:59:11 +01:00
François Degrave a580c07159 [IMP] added 'filter' element among the authorized elements in <data> tags
bzr revid: fde@openerp.com-20101227104155-1nq3mpa1spcmgj3a
2010-12-27 11:41:55 +01:00
Launchpad Translations on behalf of openerp 9b0e39da8c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101224045615-4x194c2rh4bukhwi
bzr revid: launchpad_translations_on_behalf_of_openerp-20101225044950-ug9aeny1r6s3x9hi
bzr revid: launchpad_translations_on_behalf_of_openerp-20101226044910-j9e91s0dktvlvo24
bzr revid: launchpad_translations_on_behalf_of_openerp-20101227043834-t90thu9ci1o5e3v8
2010-12-27 04:38:34 +00:00
apa (OpenERP) 54f1eb857b [IMP]:typo
bzr revid: apa@tinyerp.com-20101224051838-buzyrt3v78rq1fe4
2010-12-24 10:48:38 +05:30
apa (OpenERP) d778f3f93b [IMP]:base:for widgets
http://pad.openerp.com/widgets-homepage

bzr revid: apa@tinyerp.com-20101223121953-dtd53kwsv6hqkc1h
2010-12-23 17:49:53 +05:30
P. Christeas cc64d52b33 expression: fix m2o handling of empty lists [Bug 598454]
The domain expressions wouldn't yield the expected results in the
following cases (eg. for res.partner):
  [('company_id', 'in', [])] : should return [], not all partners
  [('company_id.partner_id', 'in', [])] : again, empty set

After some deliberation and discussion, we *change the behavior* for them.

Notes:
  1. This comes after commit 913e95856f80, bug 626806 which solved the
  corresponding cases for m2m, o2m
  2. This commit _will_ have side-effects. The result set for domains now
  is indeed different. But, we believe, now it is the proper one, fixes
  cases of unexpected results that have been reported
  3. It makes the server a bit faster, because empty results are quick to
  compute
  4. The "not in []" operator will NOT return results with NULL values in
  the corresponding field (aka. empty). This may not be the one expected
  by users, but it follows the SQL standard (par. 9.20.3):
    http://www.postgresql.org/docs/9.0/static/functions-subquery.html

bzr revid: p_christ@hol.gr-20101223112938-ore0dmmasekdcyfn
2010-12-23 13:29:38 +02:00
P. Christeas ae6593cfb5 base/test: Tests form many2one fields, empty lists
bzr revid: p_christ@hol.gr-20101223111241-j18dlhemjddvcoh2
2010-12-23 13:12:41 +02:00
apa (OpenERP) 3e1a035f67 [IMP]:base
-remove all personal tweets available  in widget list (odo, stephane, ...), keep only "OpenERP Favorites". 
-the openerp favorites widget should be deletable by default (by a user => in demo data, demo user should be able to remove this widget from his homepage)

bzr revid: apa@tinyerp.com-20101223092639-6495v63r1acp4ewn
2010-12-23 14:56:39 +05:30
Launchpad Translations on behalf of openerp ffc6599f95 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101223050045-9jqin0v5yb60bv3a
2010-12-23 05:00:45 +00:00
Fabien Pinckaers f644f08841 merge
bzr revid: fp@tinyerp.com-20101222184021-7vzgrjcgbnmnnfq5
2010-12-22 19:40:21 +01:00
Fabien Pinckaers fce401d775 fix_import
bzr revid: fp@tinyerp.com-20101222183926-pstib972t969ka5n
2010-12-22 19:39:26 +01:00
Olivier Dony ef47084aa4 [FIX] ir.property: record rules should only allow reading current company properties, not child ones as well
lp bug: https://launchpad.net/bugs/691541 fixed

bzr revid: odo@openerp.com-20101222175258-8aesquwk6v9d4lv4
2010-12-22 18:52:58 +01:00
Olivier Dony 1ba93c18e1 [FIX] convert: avoid treating XML comments as real nodes when loading views
lp bug: https://launchpad.net/bugs/693344 fixed

bzr revid: odo@openerp.com-20101222164515-k60bq20jzngnnghv
2010-12-22 17:45:15 +01:00
Olivier Dony 25d6d96be8 [FIX] res.currency: moved account-related res.currency code to account module
lp bug: https://launchpad.net/bugs/557325 fixed

bzr revid: odo@openerp.com-20101222161045-65kzccw65ya55jm9
2010-12-22 17:10:45 +01:00
François Degrave d08912b15f [IMP] security groups for act_window visibility in res.partner
bzr revid: fde@openerp.com-20101222154236-vpuqk0ou0svugwkg
2010-12-22 16:42:36 +01:00
Fabien Pinckaers e15952531b fix_lp_673696
bzr revid: fp@tinyerp.com-20101221202418-no013141bquj5k6z
2010-12-21 21:24:18 +01:00
Fabien Pinckaers 3df9607a60 fix
bzr revid: fp@tinyerp.com-20101221201517-286g910bux4jas0o
2010-12-21 21:15:17 +01:00
Fabien Pinckaers 7cd08c8bc3 index on res_request
bzr revid: fp@tinyerp.com-20101221200635-9qjowoftlsxcf9lf
2010-12-21 21:06:35 +01:00
Fabien Pinckaers 698584b477 merge
bzr revid: fp@tinyerp.com-20101221193940-k11n92v4sdnr78jf
2010-12-21 20:39:40 +01:00
Fabien Pinckaers 80b21b75d9 [FIX] import / export
bzr revid: fp@tinyerp.com-20101221193847-z9rkx9o4gc0o92dd
2010-12-21 20:38:47 +01:00
Olivier Dony 7964fd96f8 [MERGE] tools.translate, test_reports, res_config: several bugfixes (see buglinks)
lp bug: https://launchpad.net/bugs/692845 fixed
lp bug: https://launchpad.net/bugs/692598 fixed
lp bug: https://launchpad.net/bugs/692746 fixed

bzr revid: odo@openerp.com-20101221170809-zqusunjw2em9xz9y
2010-12-21 18:08:09 +01:00
Olivier Dony 12ba501178 [FIX] convert: module install should fail when CSV import fails
lp bug: https://launchpad.net/bugs/672669 fixed

bzr revid: odo@openerp.com-20101221164548-za2o4239tk0xnrww
2010-12-21 17:45:48 +01:00
Olivier Dony 033179095f [IMP] orm: improve error reporting when importing m2m in CSV (courtesy of Martin Collins)
lp bug: https://launchpad.net/bugs/672669 fixed

bzr revid: odo@openerp.com-20101221152340-5mp5c36357amsi8m
2010-12-21 16:23:40 +01:00
Olivier Dony 7cca938586 [FIX] publisher_warranty: avoid trying to safe_eval() an empty string
lp bug: https://launchpad.net/bugs/691892 fixed

bzr revid: odo@openerp.com-20101221151445-th3cfbjw104g6ie9
2010-12-21 16:14:45 +01:00
P. Christeas 1970c59234 translate: fix usage of TinyPoFile.warn() [Bug 692845]
as reported by Phong Nguyen, thanks.

bzr revid: p_christ@hol.gr-20101221144646-74a9qy43nbiepbxu
2010-12-21 16:46:46 +02:00
P. Christeas 15893e879d test_reports: fix creating objects with o2m/m2m fields.
bzr revid: p_christ@hol.gr-20101221144605-2a9wkz8d25h172uf
2010-12-21 16:46:05 +02:00
P. Christeas 08f568ec0f res_config: fix unicode help + msg for already-installed addons [Bug 692598]
As reported by TFR.

bzr revid: p_christ@hol.gr-20101221144456-uy8xz2ovjbbj1qsk
2010-12-21 16:44:56 +02:00
P. Christeas bc9611bd40 translate: fix skipping one translation per .po file in a .tgz
Thanks TFR for asking me to translate the *single* term that had been
missing due that bug!
The .po file loop skips the first line of the supplied rows, but the
calling was not consistent to always provide the redudant header row.

bzr revid: p_christ@hol.gr-20101221144354-chc9oz6r3to75pu1
2010-12-21 16:43:54 +02:00
Olivier Dony e5ecadeda7 [FIX] tools.translate: remove useless duplicate line
bzr revid: odo@openerp.com-20101221143718-ml2xg42yypn6b8fm
2010-12-21 15:37:18 +01:00
Olivier Dony 1ba2ff569f [FIX] read_group: better support for empty 'fields' or 'groupby' parameters
lp bug: https://launchpad.net/bugs/692259 fixed

bzr revid: odo@openerp.com-20101221143714-nvvmg2zmbkowbx60
2010-12-21 15:37:14 +01:00
Launchpad Translations on behalf of openerp a67d3a287b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101221132741-3ciykbz935xctho7
2010-12-21 13:27:41 +00:00
Vo Minh Thu (OpenERP) 35b9fd82ff [FIX] re-commit previous merge broken by bzr-rebase:
translate,orm: simplify loading of field value translations and avoid ignoring them when string has changed (many issues with menus not loaded yet)

bzr revid: odo@openerp.com-20101221105843-myzlkd74tci3puer
2010-12-21 11:58:43 +01:00
Fabien Pinckaers 78a2174db1 merge
bzr revid: fp@tinyerp.com-20101221091005-zctt5bwplj0txipc
2010-12-21 10:10:05 +01:00
Fabien Pinckaers 83d46bac4c [IMP] import / export cleaned
bzr revid: fp@tinyerp.com-20101220231743-9vswez6tg198cyco
2010-12-21 00:17:43 +01:00
Olivier Dony a2055b6d31 [FIX] addons.zip_directory: ZipFile.write() still expects binary strings for filenames in python 2.5
lp bug: https://launchpad.net/bugs/690559 fixed

bzr revid: odo@openerp.com-20101220191724-mvu1rsf3sup19s9m
2010-12-20 20:17:24 +01:00
P. Christeas 75db037508 [MERGE] EAN13 and QR support in RML, simpler indices on workflows, cleanup of ir_ui_menu.py
lp bug: https://launchpad.net/bugs/532559 fixed

bzr revid: odo@openerp.com-20101220175802-z4yh5dlad0oob5hm
2010-12-20 18:58:02 +01:00
P. Christeas 8adeacd146 [MERGE] test_reports: helper function for testing wizard-based reports
bzr revid: odo@openerp.com-20101220174051-nf2m3edwo06rh4oc
2010-12-20 18:40:51 +01:00
Jay (OpenERP) 0170649b71 [FIX] convert: correct default value for <act_window>'s domain attribute
lp bug: https://launchpad.net/bugs/691438 fixed

bzr revid: odo@openerp.com-20101220172656-i8cgliwnt7g1dyh6
2010-12-20 18:26:56 +01:00
Olivier Dony dc4d460d16 [MERGE] translate,orm: simplify loading of field value translations and avoid ignoring them when string has changed (many issues with menus not loaded yet)
bzr revid: odo@openerp.com-20101220171813-882waudb2grz81jo
2010-12-20 18:18:13 +01:00
Xavier Morel b56127a689 [IMP] return the module version (installed_version) during web modules queries
bzr revid: xmo@openerp.com-20101220164648-4n78ghbov1rruei5
2010-12-20 17:46:48 +01:00
Olivier Dony 0fedbb3215 [FIX] fields.reference: don't accept half-defined references - second part of fix, in create()
lp bug: https://launchpad.net/bugs/604604 fixed

bzr revid: odo@openerp.com-20101220162501-v0xag7nwdhfij14f
2010-12-20 17:25:01 +01:00
Olivier Dony afed2d47fe [FIX] fields.reference: don't accept half-defined references, and avoid crashing on previous bad ones
lp bug: https://launchpad.net/bugs/604604 fixed

bzr revid: odo@openerp.com-20101220160959-f6x2kik46btf0uol
2010-12-20 17:09:59 +01:00
OpenERP edcbf91f03 [FIX] orm, translate: unconditionally set the translation from .pot to db, lookup a translation by name, type, and lang only (no more source string)
lp bug: https://launchpad.net/bugs/682092 fixed

bzr revid: openerp@vmt-hp4520s-20101220151523-vy4xzvahz80tara7
2010-12-20 16:15:23 +01:00
olt@tinyerp.com 4236d93ba5 [FIX] tools.convert: logger.log: first argument needs to be an integer, not a string
bzr revid: olt@tinyerp.com-20101220150747-4ull8wjwf7ichu9l
2010-12-20 16:07:47 +01:00
niv-openerp 70c57a70a9 [FIX] Fixed problem with pings and openerp.com web server.
bzr revid: nicolas.vanhoren@openerp.com-20101220101958-v8zxw8q1rewzsk5p
2010-12-20 11:19:58 +01:00
Olivier Dony 8bf22a19e5 [MERGE] tools.email_send, base: improved spam wizard and email_send w/ plaintext alternative + minor improvements in base menu/views
lp bug: https://launchpad.net/bugs/668320 fixed
lp bug: https://launchpad.net/bugs/670050 fixed
lp bug: https://launchpad.net/bugs/688402 fixed

bzr revid: odo@openerp.com-20101222123509-dhxbq3wdzj5w2bei
2010-12-22 13:35:09 +01:00
Olivier Dony a9d653ead1 [I18N] base: cleanup export after fixing some remaining translation export issues
bzr revid: odo@openerp.com-20101221194915-w9am2wzjvi9z73zs
2010-12-21 20:49:15 +01:00
Olivier Dony 162e988544 [IMP] orm.search: support multiple _order clauses in destination objects when sorting on m2o fields
lp bug: https://launchpad.net/bugs/692694 fixed

bzr revid: odo@openerp.com-20101221192344-87d7ajnfsn5unm9p
2010-12-21 20:23:44 +01:00
Launchpad Translations on behalf of openerp a453ea1fc8 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101222044541-ith1dgyhz41dn8ey
2010-12-22 04:45:41 +00:00
Tony Gu c5306903ba corrected a typo
bzr revid: tony@wonderland-20101220082615-k92tie6gnxd5v01a
2010-12-20 16:26:15 +08:00
Tony Gu 5cde817a86 [IMP]register custom fonts once only
bzr revid: tony@wonderland-20101220055040-lti41w3qq5xi3dtp
2010-12-20 13:50:40 +08:00
Tony Gu 2e03947c9f [IMP]to allow outside module to set differnt search path in TTFSerachPath* variables
bzr revid: tony@wonderland-20101220054843-uru3i4a9wut02qou
2010-12-20 13:48:43 +08:00
Launchpad Translations on behalf of openerp e81905c7bc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101218050151-7b2d211zmlho0nz5
bzr revid: launchpad_translations_on_behalf_of_openerp-20101219044527-usqaexey3l5mc7a8
bzr revid: launchpad_translations_on_behalf_of_openerp-20101220044920-a2cwkndd2s79fpc0
2010-12-20 04:49:20 +00:00
P. Christeas aaac6a602f trml2pdf: Support EAN13 and QRcode barcodes, fix unicode warning [Bug 532559]
Since ReportLab supports them, include it in our list, too.
Also, fix the warning that has been appearing in buildbot, about
"code128.py:257: UnicodeWarning ..."
The issue is that string-capable barcodes will only support ASCII chars,
not Unicode. So, cast to str() and let ReportLab's code be happy.

Code was based on patch by: Omar (Pexego), on 22-06-2010

bzr revid: p_christ@hol.gr-20101219201127-mmrsn206a9vldr43
2010-12-19 22:11:27 +02:00
P. Christeas 91a0d108bf workflow.instance: remove excess indices
It is a table with 4 columns, doesn't worth 5 indices! I hope that these
combined indexed plus the wkf_id one will allow Postgres to always come
up with a good plan.

bzr revid: p_christ@hol.gr-20101219200842-4vr72wqal2t8k2xq
2010-12-19 22:08:42 +02:00
P. Christeas 1dbaae147b ir.ui.menu: We don't need a "many2many_unique" class any more
The parent many2many has been improved to avoid duplicate records.

bzr revid: p_christ@hol.gr-20101219200751-0umvepzgtgjhnw78
2010-12-19 22:07:51 +02:00
P. Christeas 656cb5753b test_reports: aesthetic improvements for the test_report_action
bzr revid: p_christ@hol.gr-20101219200627-7pju2glqrs53631u
2010-12-19 22:06:27 +02:00
P. Christeas 480a3441f3 test_reports: rename res_model, res_ids to active_model, active_ids
Requested by Odo, for consistency

bzr revid: p_christ@hol.gr-20101219200620-0mldt3s19xg6j5w5
2010-12-19 22:06:20 +02:00
P. Christeas 5918f08733 test_reports: first draft of a full action/wizard/report tester
Use with a yaml test like:
-
   I will test the action reports
-
  !python {model: res.partner}: |
    from tools import test_reports
    reload(test_reports) # ;)
    test_reports.try_report_action(cr, uid, 'action_account_balance_menu', our_module='account')

bzr revid: p_christ@hol.gr-20101219200608-ffl2k3qiexjxvp48
2010-12-19 22:06:08 +02:00
Olivier Dony 966907eaeb [FIX] fields_view_get: ignore non-element nodes during view inheritance resolution
lp bug: https://launchpad.net/bugs/494969 fixed

bzr revid: odo@openerp.com-20101217150527-4mv740mppqimvsnd
2010-12-17 16:05:27 +01:00
OpenERP ff55f829ce [FIX] translate: correctly set the translation for menus indirectly named by their action and not visible in the simplified view.
bzr revid: openerp@vmt-hp4520s-20101217123822-0g5h04fz92fxfn42
2010-12-17 13:38:22 +01:00
olt@tinyerp.com a536adce04 [FIX] addons/__init__.py: wrong number of arguments for format string
bzr revid: olt@tinyerp.com-20101217110210-sxqhhvj7dh96h58q
2010-12-17 12:02:10 +01:00
Launchpad Translations on behalf of openerp 0c1e226ba0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101217045436-40c3ybxz4w1upvxu
2010-12-17 04:54:36 +00:00
Olivier Dony 6c1ec1803a [FIX] safe_eval: support for allowing auto-loading of python submodules, such as _strptime
bzr revid: odo@openerp.com-20101216183839-7mor9xfzbor2s9r7
2010-12-16 19:38:39 +01:00
Olivier Dony 0da4773e14 [IMP] orm.read_group: raise if called with group_by being a non-database-stored field
lp bug: https://launchpad.net/bugs/689070 fixed

bzr revid: odo@openerp.com-20101216183708-o61idware1v6tyk3
2010-12-16 19:37:08 +01:00
Olivier Dony a86a432edf [FIX] res_config: made strings in compatibility install wizard translatable
bzr revid: odo@openerp.com-20101216150430-8tg06fpfubdac4py
2010-12-16 16:04:30 +01:00
Olivier Ligot d82c8e6266 [FIX] call to start method: don't pass [] otherwise it goes in the context argument...
bzr revid: olivier.ligot@groupes.be-20101216131730-rnsq0l0gtqjtiyq3
2010-12-16 14:17:30 +01:00
Olivier Dony d33f6f2903 [FIX] report_sxw: workaround to prevent crash of reports launched from wizards that pass invalid IDs
bzr revid: odo@openerp.com-20101216100749-z06fv08n4u5rhwl0
2010-12-16 11:07:49 +01:00
Launchpad Translations on behalf of openerp 1f377cca79 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101216044244-go321rqvup2m8l4y
bzr revid: launchpad_translations_on_behalf_of_openerp-20101216044841-ewqql1al8ld9es0h
2010-12-16 04:48:41 +00:00
Vo Minh Thu (OpenERP) d98a26fd42 [MERGE] orm: fixed translations for inherited views when the parent view uses a different model
bzr revid: odo@openerp.com-20101215182416-yk4n4krmw2anuyt3
2010-12-15 19:24:16 +01:00