Commit Graph

2855 Commits

Author SHA1 Message Date
P. Christeas e29e641514 [MERGE] osv,ir_model: fixes for fnct_search implementations returning [] + ir.model.data passing browse_records to create()
bzr revid: odo@openerp.com-20110117204932-8ldxndduwqsdyofc
2011-01-17 21:49:32 +01:00
Vo Minh Thu 0b3323b1ad [FIX] res_widget_data: corrected facebook widget url and widgets width.
bzr revid: vmt@openerp.com-20110117192313-vk4tibwvk68qmbbi
2011-01-17 20:23:13 +01:00
Olivier Dony 1896ef488b [FIX] ir.model.data: ensure cache of known "model data reference ids" is not lost after osv inheritance
By storing this cache in the pool and only referencing it in the instance we ensure that it is not lost
when the osv instance is replaced in the pool, e.g. as soon as on osv object inherits from ir.model.data.
This is now needed, as the module data cleanup is now done globally at the end of all module installation,
while it was done on a smaller scale before (leading to other kinds of issues).

lp bug: https://launchpad.net/bugs/704051 fixed
lp bug: https://launchpad.net/bugs/701644 fixed

bzr revid: odo@openerp.com-20110117184453-kxvbuzmuge6u1mh4
2011-01-17 19:44:53 +01:00
Yogesh (OpenERP) ba2ee50c84 [MERGE] workflow: correctly pass ids as list when printing workflows with subflows
lp bug: https://launchpad.net/bugs/701058 fixed

bzr revid: odo@openerp.com-20110117170525-bbqh6k584k6ssa0g
2011-01-17 18:05:25 +01:00
Yogesh (OpenERP) cd8515c8b4 [MERGE] base data: make default shortcuts non-updatable, to avoid possible conflicts at update
lp bug: https://launchpad.net/bugs/699866 fixed

bzr revid: odo@openerp.com-20110117165840-1d5cwsxf24lwflw3
2011-01-17 17:58:40 +01:00
Olivier Dony eac572cb0f [FIX] base: rename config wizard menu to Reconfigure (now that shortcuts are translatable)
bzr revid: odo@openerp.com-20110117153202-860gfbo2qgyiz05u
2011-01-17 16:32:02 +01:00
qdp-launchpad@tinyerp.com 97b7f9251e [IMP] res.partner.address: changed the _order from 'name' to 'type, name'
bzr revid: qdp-launchpad@tinyerp.com-20110117151757-uk8m60upj1lc71sv
2011-01-17 16:17:57 +01:00
Yogesh (OpenERP) 0fdcdcaf6a [MERGE] res.request: request_get() should not count closed requests in current ones
lp bug: https://launchpad.net/bugs/698039 fixed

bzr revid: odo@openerp.com-20110117102702-xkk6dqvgcrhhwsci
2011-01-17 11:27:02 +01:00
Olivier Dony 5b2e2371ca [FIX] res.partner: reverted incorrect patch for Addresses action, until a proper fix is done
Reverted revision: 3152.1.1  fde@openerp.com-20101222154236-vpuqk0ou0svugwkg

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

bzr revid: odo@openerp.com-20110117100448-eba1mhz3gt45mu69
2011-01-17 11:04:48 +01:00
P. Christeas c180358e30 ir.model: fix loading of data, for inheriting models
Since a recent commit, non (long, int) values will propagate, so we'd
better not use inherit_id = browse_record(...) as a value in create()'s
dict.

Previously, it did work because we define __int__() so that:
    int(browse_record(...)) == browse_record(...).id

bzr revid: p_christ@hol.gr-20110117084054-8qv5uc4vt4w9aygv
2011-01-17 10:40:54 +02:00
Fabien Pinckaers 4e0bc0926d [FIX] lp 703649
bzr revid: fp@tinyerp.com-20110117072932-4y3jmdgo2s9ushj6
2011-01-17 08:29:32 +01:00
Launchpad Translations on behalf of openerp acc5c03dfb Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110116050632-y2dx1hzogk9swvth
bzr revid: launchpad_translations_on_behalf_of_openerp-20110116050251-14qxhugog9k60l75
bzr revid: launchpad_translations_on_behalf_of_openerp-20110117044929-4xn1kiab1qw5cire
2011-01-17 04:49:29 +00:00
Fabien Pinckaers 8bc146d459 fix_logging
bzr revid: fp@tinyerp.com-20110115170802-n8o5kmx9vblfn0jw
2011-01-15 18:08:02 +01:00
Fabien Pinckaers f01e3326ba fix
bzr revid: fp@tinyerp.com-20110115132456-hk9vf0sfyrly0xox
2011-01-15 14:24:56 +01:00
Olivier Dony c2af4fde4f [FIX] ir.ui.view_sc: shortcuts are now translated, and using the name_get() of the linked resource
lp bug: https://launchpad.net/bugs/699858 fixed

bzr revid: odo@openerp.com-20110115045058-d7iqs6himuf2kyps
2011-01-15 05:50:58 +01:00
Olivier Dony 04d2a25816 [FIX] base: currency updates: names for SEK,NOK,DKK; symbol for RON; dropped obsolete EKK
lp bug: https://launchpad.net/bugs/702475 fixed

bzr revid: odo@openerp.com-20110114215051-cbpd7wfbj1uiqpxx
2011-01-14 22:50:51 +01:00
Fabien Pinckaers fd9c04edcd fix
bzr revid: fp@tinyerp.com-20110114190038-0h62306fd35pe0sp
2011-01-14 20:00:38 +01:00
Fabien Pinckaers cd534cb224 fix
bzr revid: fp@tinyerp.com-20110114152947-ta7t20oze0jsneju
2011-01-14 16:29:47 +01:00
Launchpad Translations on behalf of openerp 62f28364e5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110114045237-gdlm32e67rdh70kr
bzr revid: launchpad_translations_on_behalf_of_openerp-20110114055119-e9fpaxlistgondmp
2011-01-14 05:51:19 +00:00
Nicolas Vanhoren cf6a536fda [MERGE] publisher_warranty: better backwards-compatibility with previous contracts
bzr revid: odo@openerp.com-20110113114150-9xrxwoytb5fqq4ja
2011-01-13 12:41:50 +01:00
Xavier Morel 8b06838dd2 [IMP] re-enable sending web module translations after fixing web client
bzr revid: xmo@openerp.com-20110113094100-0tw906wfm92yg6po
2011-01-13 10:41:00 +01:00
Launchpad Translations on behalf of openerp 42fa5f61db Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110113044043-ezsi3rqpbxq13pu2
2011-01-13 04:40:43 +00:00
Olivier Dony 977914cf1a [REM] module: temporarily disabled inclusion of PO files in web addons - pending web client fix
bzr revid: odo@openerp.com-20110112180527-ls3w2v83uat31yur
2011-01-12 19:05:27 +01:00
Olivier Dony 70c8198927 [FIX] res.lang: list view should not be editable
bzr revid: odo@openerp.com-20110112174346-x8at0n91jdnpyjue
2011-01-12 18:43:46 +01:00
niv-openerp 237717c8b0 [IMP] Added two fields in publisher warranty contracts.
bzr revid: nicolas.vanhoren@openerp.com-20110112171858-4dcrcjxp5pi0cfzg
2011-01-12 18:18:58 +01:00
Xavier Morel 4759f23572 [MERGE] package translations (if any) when sending web modules over the wire
bzr revid: odo@openerp.com-20110112163620-isg8ti18yopqb2yj
2011-01-12 17:36:20 +01:00
Olivier Dony 4cc899b5a8 [FIX] res.lang: disallow non cross-platform datetime format directives
bzr revid: odo@openerp.com-20110112160608-ixrjyfsgib31nnx8
2011-01-12 17:06:08 +01:00
Xavier Morel 7276f8a9ed [IMP] package translations (if any) when sending web modules over the wire
bzr revid: xmo@openerp.com-20110112121643-awcvugfndc941873
2011-01-12 13:16:43 +01:00
Yogesh Sakhreliya 5d41cd9cf4 [FIX] workflow:- Subflow id pass in list in graph_get method.
bzr revid: ysa-openerp@ysa-openerp-20110112085442-cqt90cpii138q5jy
2011-01-12 14:24:42 +05:30
Launchpad Translations on behalf of openerp 343f7752af Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110112045344-jemp7jrhmcwjpewk
2011-01-12 04:53:44 +00:00
Olivier Dony 480026aa89 [I18N] base: updated translation templates after latest changes
bzr revid: odo@openerp.com-20110111112316-p10xvk290eknyyz6
2011-01-11 12:23:16 +01:00
Yogesh Sakhreliya fa0e10ba3c [FIX] shortcuts remove in view file and create data in separate file and set noupdate='1'.
bzr revid: ysa@tinyerp.com-20110111062756-hzw117ju0iyi8s4b
2011-01-11 11:57:56 +05:30
Yogesh Sakhreliya 775f548cf4 [FIX] Count total number of request but doesnot count closed request.
bzr revid: ysa@tinyerp.com-20110111050859-rt8cc1g6is7hdhgx
2011-01-11 10:38:59 +05:30
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 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
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
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 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
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