Commit Graph

5423 Commits

Author SHA1 Message Date
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
Vo Minh Thu b640d02a60 [FIX] translation: corrected search on loading translation.
bzr revid: vmt@openerp.com-20110117140504-ha3nilfa7csxh3bs
2011-01-17 15:05:04 +01:00
Olivier Dony 2639d28bf0 [FIX] websrv_lib: missing import errno
bzr revid: odo@openerp.com-20110117121524-jswvwrmiqfs4d28t
2011-01-17 13:15:24 +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 814c4af299 [FIX] osv: _constraints can be inherited by redefining a constraint with the same name
Indeed, when we define an expression like

class bar(osv.osv):
  _inherit = 'bar.bar'

  def _check_foo(self, cr, uid, ids, context):
      return True

  _constraints = [ (_check_foo, "Foo failed!", ['foo']) ]

... it means that _check_foo will be passed as an *object* to the model's
structure of _constraints. Therefore, it would be unequal and just append
the list of any existing constraints. So, an older (_check_foo, , ['foo'])
would always remain active using the previous code. This has to do with
the _check_foo being an unbound (ie. not inheritable) function.

Now, we check the /string name/ of the function, too. We say that if the
inherited class's constraint function has the same name "_check_foo", the
old ones shall be replaced.

Note: this MAY introduce unpredictable results, if several modules try
to override the same inherited constraint. There is no guaranteed order
of inheritance. Please avoid using this feature unless necessary.

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

bzr revid: odo@openerp.com-20110117094750-4lyzx165f1z1zgl4
2011-01-17 10:47:50 +01:00
P. Christeas 795b2bdcae expression: fix function.search() when it does not restrict
Triggered by [Bug 702340]

When we try to search a composite expression like:
   [( 'ourfoo.subfoo', '=' , True) ]
.. where subfoo is a function field of the model ofourfoo field,
the framework will call subfoo.search([('subfoo','=',True)]).
The latter shall return a domain expression that will restrict
the search on 'ourfoo'.

When the returned expression is empty, meaning "match all", the algebra
on the parent expression would come up with an invalid  [..., '&', ( 1, '=', 1) ]
sequence.

bzr revid: p_christ@hol.gr-20110117084108-vt1qe72lhw8ldxqm
2011-01-17 10:41:08 +02: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 322976309e [IMP] logging for set null failed
bzr revid: fp@tinyerp.com-20110115170410-s0z661hshxjzj6b7
2011-01-15 18:04:10 +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 697eea26e4 [FIX] orm.read_group: prepend fields with table names to avoid collisions in SQL queries
lp bug: https://launchpad.net/bugs/703105 fixed

bzr revid: odo@openerp.com-20110115013109-q1ekx17docisqhd0
2011-01-15 02:31:09 +01:00
Olivier Dony 570d35e824 [FIX] fields.property: restore compatibility with non-m2o properties
Was broken by revision 3029.2.20  ysa@tinyerp.com-20101231061314-jhjc6c2uyeqko19x, fixing bug 692891

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

bzr revid: odo@openerp.com-20110114230524-zkkvgi6ch7gk3d4m
2011-01-15 00:05:24 +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
Olivier Dony 0efe4d882b [FIX] orm.write(): avoid name collision of "ids" variable, causing side-effects + some doc
lp bug: https://launchpad.net/bugs/702744 fixed

bzr revid: odo@openerp.com-20110114211642-muwdr966zn84p4ma
2011-01-14 22:16:42 +01:00
Fabien Pinckaers fd9c04edcd fix
bzr revid: fp@tinyerp.com-20110114190038-0h62306fd35pe0sp
2011-01-14 20:00:38 +01:00
Fabien Pinckaers cbca1196b4 [FIX] changed a warning to a debug
bzr revid: fp@tinyerp.com-20110114183657-3mdz433zn2wlx2s8
2011-01-14 19:36:57 +01:00
Fabien Pinckaers cd534cb224 fix
bzr revid: fp@tinyerp.com-20110114152947-ta7t20oze0jsneju
2011-01-14 16:29:47 +01:00
Olivier Dony 858fdc9a40 [FIX] orm.import_data: look for exact match of name_search (courtesy of Martin Collins)
lp bug: https://launchpad.net/bugs/698354 fixed

bzr revid: odo@openerp.com-20110114105509-ozlgcpodsgvnp1m5
2011-01-14 11:55:09 +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
Sbh (OpenERP) 168c2b0dbc [MERGE] Merge with lp:openobject-server
bzr revid: sbh@tinyerp.com-20110111045110-lah24j495ud36hbw
bzr revid: sbh@tinyerp.com-20110113121529-99raloplqzxujo9c
2011-01-13 17:45:29 +05:30
Olivier Dony 6c3c49ece1 [FIX] addons: upgrade base module properly when --update=all is used
bzr revid: odo@openerp.com-20110113114200-8k9u3lg2nm56qzjs
2011-01-13 12:42:00 +01: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 5a0e77e48c [FIX] orm,fields: uniquify fields to read() + avoid failing m2o.get() when already processed
lp bug: https://launchpad.net/bugs/701013 fixed

bzr revid: odo@openerp.com-20110113010901-ckzrapjkt2uoh9r5
2011-01-13 02:09:01 +01: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
Olivier Dony d84824d639 [FIX] osv.fields: avoid unbinding _symbol_* of fields
Reverts rev-id: odo@openerp.com-20110112132828-a38e8ow7ahu97jy3

bzr revid: odo@openerp.com-20110112173901-60jxjgqdufx1bnj3
2011-01-12 18:39:01 +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
Olivier Dony 0b81c2b136 [FIX] translate: timestamps in PO[T] header entries should use '%Y-%m-%d %H:%M %z' format, without %S
bzr revid: odo@openerp.com-20110112143141-oezd2djlce1r3x6p
2011-01-12 15:31:41 +01:00
Olivier Dony 1d12bcdc15 [MERGE] fields.function: proper accessors for integer and integer_big
lp bug: https://launchpad.net/bugs/684263 fixed

bzr revid: odo@openerp.com-20110112132828-a38e8ow7ahu97jy3
2011-01-12 14:28:28 +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 d47b0969fa [MERGE] report: updated pyPdf library to release 1.13 (pending change to pure dependency)
bzr revid: odo@openerp.com-20110111165311-6bwk8qdtskful0yd
2011-01-11 17:53:11 +01: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
Sbh (OpenERP) f6352985d4 [Fix] report: if header is false then not display header
bzr revid: sbh@tinyerp.com-20110110132832-z4ksl1osqpddbvpf
2011-01-10 18:58:32 +05:30
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
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