Commit Graph

5268 Commits

Author SHA1 Message Date
Launchpad Translations on behalf of openerp 62574b1ce0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110111045526-u2iiiunl572fy6gr
2011-01-11 04:55:26 +00:00
Olivier Dony 74cdbb4d9c [REM] ir.ui.menu: removed create_menu() shortcut, as the feature was broken and was removed from GTK too
This feature was only ever supported in GTK client, and was not working very well.
It may be re-introduced later, but needs a deeper set of changes in the code.

bzr revid: odo@openerp.com-20110110182130-a6ire0yf2196sfo4
2011-01-10 19:21:30 +01:00
Olivier Dony 2008575ade [REVERT] removed debug print statement introduced by previous commit
bzr revid: odo@openerp.com-20110110172949-dj4b7yidhn53m1zu
2011-01-10 18:29:49 +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 41bf6551bd [MERGE] ir.model.fields: changes to custom fields now take effect immediately (courtesy of xrg)
lp bug: https://launchpad.net/bugs/631547 fixed

bzr revid: odo@openerp.com-20110110123302-weq6zt1ivshhgogq
2011-01-10 13:33:02 +01:00
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
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
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
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
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
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