Commit Graph
5318 Commits
Author SHA1 Message Date
Olivier Dony 3d4d87b718 [FIX] report.interface: toxml() should return unicode to avoid any encoding issue propagation
It used to return utf-8 data but was brittle in the conversion, and would fail downstream
if the calling code did not pay attention to handle utf-8 data properly.
Returning unicode forces callers to auto-cast to unicode for any string operation, saving
potential trouble later. 
From the addons that currently call toxml(), none use it in a manner that would fail in case
unicode data is returned, so we should be on the safe side there too.

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

bzr revid: odo@openerp.com-20110117184444-mxjeneuoa0r5a85n
2011-01-17 19:44:44 +01:00
Vo Minh Thu c16b72387a [FIX] translate: make sure we don't insert null values in ir_translation for missing ir_data_models.
bzr revid: vmt@openerp.com-20110117171608-08a0u7wpc8cx8uu1
2011-01-17 18:16:08 +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
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
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