Commit Graph

5423 Commits

Author SHA1 Message Date
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
sbh(OpenERP) 4fc6c7f16c [MERGE] rng,res.partner: enable "invisible" attribute for <page> elements + make partner History tab invisible by default (was empty)
bzr revid: odo@openerp.com-20101215155532-8mwx40b61o73xq03
2010-12-15 16:55:32 +01:00
Olivier Dony 842d565db1 [I18N] base: updated POT template after latest translation improvements
bzr revid: odo@openerp.com-20101215154433-v16938z982mlifmz
2010-12-15 16:44:33 +01:00
Olivier Dony 97ea0b97a3 [IMP] translate: _( ) should always use ir.translation OSV, no fallback to direct DB access needed
bzr revid: odo@openerp.com-20101215132128-1pxzjrde0bpu5smg
2010-12-15 14:21:28 +01:00
Olivier Dony 96075073d1 [FIX] ir.translation: typo in previous commit, sorry
bzr revid: odo@openerp.com-20101215121143-f1hgn5cp92alzdvx
2010-12-15 13:11:43 +01:00
Olivier Dony 650490d61d [IMP] ir.translation,tools.translate._(): cleanup and speedup if translations via _()
- Removed expensive inspect.stack() (courtesy of xrg)
- Improved heuristics for detection of context/lang and cursor
- Switch to using ir.translation when possible instead of direct DB hit to benefit from cache
- Cleanup

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

bzr revid: odo@openerp.com-20101215114019-psrsu998inw6cksu
2010-12-15 12:40:19 +01:00
OpenERP d3e8448875 [FIX] orm: fixed translations for inherited views when the parent view uses a different model.
This fixes for instance the Next and Skip buttons in the Reconfigure shortcut menu.

bzr revid: openerp@vmt-hp4520s-20101215112537-lrp6tphs9qu4b9dq
2010-12-15 12:25:37 +01:00
Launchpad Translations on behalf of openerp 9b10499abe Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101215043854-s3j1x291m7kl3dig
bzr revid: launchpad_translations_on_behalf_of_openerp-20101215052125-i0y5f9gpuhsjreax
2010-12-15 05:21:25 +00:00
P. Christeas 84a3e9da63 [MERGE] base,res.users: cleanup uid cache when removing/disabling user (test incl.)...
+ fix regression with menu 
+ some minor cleanup

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

bzr revid: odo@openerp.com-20101214193304-928za9xrkmt8yi9b
2010-12-14 20:33:04 +01:00
P. Christeas 56cdbc05a9 web_services: use pg_dump in batch mode.
bzr revid: p_christ@hol.gr-20101214163003-tmdtxaxul5n1wybe
2010-12-14 18:30:03 +02:00
P. Christeas 40cf6eac7a res.users: fix default menu_id, after models got sorted by name.
With the old sorting behavior, id=1 would be the first menu to appear.
But, after sorting, the alphabetically first ("accounting dashboard")
replaced the main menu!

bzr revid: p_christ@hol.gr-20101214162919-o9xflsed4ap6hn2z
2010-12-14 18:29:19 +02:00
P. Christeas 66564a93fc res.users: invalidate cache when a user is modified. [Bug 664379]
Original description, by Xavier ALT:
> The server is using a variable name "_uid_cache" for authentication
> caching, but this variable is never clear when user informations change,
> that means if we disable a user or change it's password their requests
> are still allowed (cached auth check ok).
>
> This affects OpenERP v5 (server/bin/service/security.py) and OpenERP v6
> (server/bin/addons/base/res/res_users.py, class users).
>
> The only workaround is to restart the server.
>

bzr revid: p_christ@hol.gr-20101214162905-716i3ra12xvdtc2l
2010-12-14 18:29:05 +02:00
P. Christeas ef39bbb955 base tests: yaml test for res.users logic
Code inspired from Xavier ALT's example.

bzr revid: p_christ@hol.gr-20101214162856-oskw0ohg8hx9hoc3
2010-12-14 18:28:56 +02:00
P. Christeas 5c6bd686ab reports: fix some default args, import message, empty translations
bzr revid: p_christ@hol.gr-20101214162826-79ppx7qw23ag3qx0
2010-12-14 18:28:26 +02:00
YSA (OpenERP), Olivier Dony (OpenERP) 6a3e52f41f [FIX] orm,base: prevent useless duplication of m2m records via unique constraint + orm check
lp bug: https://launchpad.net/bugs/558658 fixed

bzr revid: odo@openerp.com-20101214132840-q7x2oodu6hez9d91
2010-12-14 14:28:40 +01:00
Olivier Dony b192bf4dd4 [FIX] osv.osv: fixed reference to osv pool, broken by refactoring of osv service
Fixes bug introduced by revision 3102 chs@openerp.com-20101213105104-jpctooc6j7yc8i8i

bzr revid: odo@openerp.com-20101214131812-oiiy1xv8582jh7ya
2010-12-14 14:18:12 +01:00
nel@tinyerp.com 10c0a345e8 [FIX] translation in xpath
bzr revid: nel@tinyerp.com-20101214122911-qxw0vozlqmnzt89q
2010-12-14 13:29:11 +01:00
Olivier Dony 56ebc8655a [IMP] res.lang: less misleading documentation on language format
lp bug: https://launchpad.net/bugs/675915 fixed

bzr revid: odo@openerp.com-20101214114027-ynen1r143kv13471
2010-12-14 12:40:27 +01:00
Christophe Simonis b38e97ee4b [NOOP] remove trailing space of bin/addons/base/publisher_warranty/publisher_warranty.py
bzr revid: chs@openerp.com-20101214101747-dx9ntnr9op37on1y
2010-12-14 11:17:47 +01:00
Christophe Simonis 6ac4e8a908 [FIX] base: delete res.widget.user when the linked widget is deleted
bzr revid: chs@openerp.com-20101214100706-diuq8v7dqreo42lz
2010-12-14 11:07:06 +01:00
Launchpad Translations on behalf of openerp 6e05b3cc93 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101214045316-3c6x6lhto9swc1hw
bzr revid: launchpad_translations_on_behalf_of_openerp-20101214053806-8xtqagluqiijot4p
2010-12-14 05:38:06 +00:00
Olivier Dony 7bcccbafe5 [FIX] addons: avoid deleting resources after stand-alone base module update
When updating a database, base module is first loaded on its own, and this may cause useless deletion
of resource, because the aut-cleanup process. This process looks for records that are in the base namespace and
have not been processed, and deletes them because they are presumed removed from the newer version. This does not
properly work now that several modules install records (menus, groups) in the base namespace.
This is fixed by skipping the auto-cleanup process during the stand-alone loading of base, which is fine
because it will be processed properly after the rest of the modules are loaded/updated. 
(No specific LP bug reference, but many translation bugs stem partially from this)

bzr revid: odo@openerp.com-20101213161802-ulsece9bb3q1y1fx
2010-12-13 17:18:02 +01:00
Christophe Simonis 5bb14725d4 [IMP] osv: the object pool is not a service anymore
bzr revid: chs@openerp.com-20101213105104-jpctooc6j7yc8i8i
2010-12-13 11:51:04 +01:00
niv-openerp 4939946b9f [IMP] Improved email and username handling when sending an publisher warranty
issue report.

bzr revid: nicolas.vanhoren@openerp.com-20101213090108-sy7xuwpptskhha3j
2010-12-13 10:01:08 +01:00
niv-openerp d9f34f65d8 [IMP] Added possibility to get email and issue name when a user submit an
exception report.

bzr revid: nicolas.vanhoren@openerp.com-20101210171238-83tqs3ahh8z8h79l
2010-12-10 18:12:38 +01:00
Launchpad Translations on behalf of openerp d6109233e0 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101211044617-po5v5cr1ez0gj7pk
bzr revid: launchpad_translations_on_behalf_of_openerp-20101212043911-q9ffkytjwu18d402
2010-12-12 04:39:11 +00:00
Olivier Dony 83115a45af [FIX] orm: preserve elements order when inheriting views, also after a leaf element
lp bug: https://launchpad.net/bugs/686275 fixed

bzr revid: odo@openerp.com-20101211012104-gt1cg3z1ec91mg34
2010-12-11 02:21:04 +01:00
Olivier Dony 4b6f70ec5a [FIX] ir.ui.view: fix search view according to guidelines
lp bug: https://launchpad.net/bugs/687289 fixed

bzr revid: odo@openerp.com-20101211003125-1125npnm8yj6ktx0
2010-12-11 01:31:25 +01:00
Olivier Dony 1d85e7a0f6 [IMP] orm: additional error message about missing index on parent_[left|right] columns during creation
bzr revid: odo@openerp.com-20101211000951-gn5dejp3b7dyz24e
2010-12-11 01:09:51 +01:00
Olivier Dony 536e321ca7 [IMP] orm.search: more quietly ignore invalid m2o order spec + fallback to default _order
bzr revid: odo@openerp.com-20101211000810-h1sirszmh0xp52x4
2010-12-11 01:08:10 +01:00
Olivier Dony aaa3047bed [FIX] res.partner.category: use _parent_store and _parent_order to have correct natural order
lp bug: https://launchpad.net/bugs/665374 fixed

bzr revid: odo@openerp.com-20101211000450-1tfx298cc7aqliih
2010-12-11 01:04:50 +01:00
Olivier Dony 6961047414 [IMP] base: default _order for most internal data models (courtesy of Ferdinand Gassauer) + sorted fields in technical module guide
This should give a more consistent output in most lists involving those objects, as well as in the technical guide report.

lp bug: https://launchpad.net/bugs/655075 fixed
lp bug: https://launchpad.net/bugs/676990 fixed

bzr revid: odo@openerp.com-20101210224258-ljubjit2nl4d28vy
2010-12-10 23:42:58 +01:00
Olivier Dony 4226a3adb2 [FIX] orm: default search view should be more backwards-compatible and lenient
We should consider the select flag from the model as well as the attributes from tree+form view, as in v5.

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

bzr revid: odo@openerp.com-20101210212529-oc5n8n9w8ila9j4u
2010-12-10 22:25:29 +01:00
Olivier Dony 498a04ae2d [FIX] ir.ui.menu: menu items should be filtered only in tree view
The normal list view should display them all, otherwise menus without children are invisible for example
Also ensured that create() clears the menu cache, otherwise adding children to an invisible menu
may not cause it to appear until the server is restarted.

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

bzr revid: odo@openerp.com-20101210161708-txdxidrr3k4c6hk5
2010-12-10 17:17:08 +01:00
YSA (OpenERP) 5b67a3154e [IMP] orm: somewhat better error message when view inheritance fails on non-<field> element
Inheritance at field level already has a correct error message

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

bzr revid: odo@openerp.com-20101210150355-jjdghifgyea07cv8
2010-12-10 16:03:55 +01:00
Olivier Dony aeed07950c [FIX] ir.ui.view.*: added missing simple and combined indices (suggestion from Ferdinand Gassauer)
lp bug: https://launchpad.net/bugs/580852 fixed

bzr revid: odo@openerp.com-20101210124716-okrkdqato09utpvx
2010-12-10 13:47:16 +01:00
Launchpad Translations on behalf of openerp 4c9e63a383 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101210050128-aqt5gre9oatbameb
2010-12-10 05:01:28 +00:00
Olivier Dony bb82904ba3 [FIX] fields.function: make sure all binary values can always be serialized as valid XML
Nnormally, binary fields should be 7-bit ASCII base64-encoded data, but sometimes
it's not the case, so we do additional sanity checks to make sure the binary values
can pass safely via xmlrpc as strings.

As a last resort we coerce the binary values to unicode to make sure they can
be safely serialized as utf-8-encoded values, always valid XML characters.
When this happens, decoding on the other endpoint is not likely to produce
the expected output, but this isjust a safety mechanism(in these cases base64
data or xmlrpc. Binary values should be returned instead by the function field.

In a future version we should probably switch to using XMLRPC Binary types always for
passing fields.binary values, but this requires more refactoring.

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

bzr revid: odo@openerp.com-20101209230742-gwf8e4zvmk43k6ln
2010-12-10 00:07:42 +01:00
Olivier Dony eb25611f00 [FIX] res.lang.unlink: renamed local variable that shadowed the enclosing type, preventing call to super()
bzr revid: odo@openerp.com-20101209150442-f47eucdfylpokagt
2010-12-09 16:04:42 +01:00
Olivier Dony 9daa68e67c [IMP] orm,base: added context to _constraints functions + use generic osv.osv.check_recursion()
lp bug: https://launchpad.net/bugs/525808 fixed

bzr revid: odo@openerp.com-20101209105733-j3uffwp4rl07nzc4
2010-12-09 11:57:33 +01:00
Olivier Dony 7c7586686d [IMP] tools.misc: enabled Hebrew (he_IL) language
bzr revid: odo@openerp.com-20101209091904-ytigf6ja7j65yx63
2010-12-09 10:19:04 +01:00
Launchpad Translations on behalf of openerp e2d025c961 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101209045022-g1ar37i6xtnr0jtq
bzr revid: launchpad_translations_on_behalf_of_openerp-20101209045802-ari4r0g7oouy55c8
2010-12-09 04:58:02 +00:00
Nicolas Vanhoren 2c3cee033d [MERGE] refactor maintenance.contract into publisher_warranty.contract + add system logs scheduler
bzr revid: odo@openerp.com-20101208170350-p8tek7dk7wdtnzvb
2010-12-08 18:03:50 +01:00
niv-openerp 402236d40d [IMP] Just removed small debug message in system logs cron.
bzr revid: nicolas.vanhoren@openerp.com-20101208160553-g58841fmq93unt5y
2010-12-08 17:05:53 +01:00
niv-openerp a1b38101d8 [IMP] Added timeout int the cron job to get the system logs.
bzr revid: nicolas.vanhoren@openerp.com-20101208160335-00rlngburn1q04az
2010-12-08 17:03:35 +01:00
Olivier Dony cfa513123a [FIX] base,release: updated some remaining source files to AGPLv3 license
lp bug: https://launchpad.net/bugs/531401 fixed

bzr revid: odo@openerp.com-20101208141707-toesbs33sf71srlh
2010-12-08 15:17:07 +01:00
niv-openerp 3d3e843e7b [IMP] Cosmetic changes
bzr revid: nicolas.vanhoren@openerp.com-20101208134309-3rrvthpank14ao69
2010-12-08 14:43:09 +01:00
Olivier Dony a970c497a6 [IMP] license: renamed general license file, and included note about other applicable licenses
bzr revid: odo@openerp.com-20101208133325-rlrtmzao8kzdp31o
2010-12-08 14:33:25 +01:00
Olivier Dony 14b7e37bf5 [FIX] osv.obj_list is broken via RPC and should not be available anymore
lp bug: https://launchpad.net/bugs/632195 fixed

bzr revid: odo@openerp.com-20101208131328-gycbi36423txdnc1
2010-12-08 14:13:28 +01:00
nvi-openerp 38569b7754 [merge]
bzr revid: nicolas.vanhoren@openerp.com-20101206091222-miwtrvjkfh8hy8ec
bzr revid: nicolas.vanhoren@openerp.com-20101206174010-f819dzx7vyw2jntk
bzr revid: nicolas.vanhoren@openerp.com-20101207132443-z0wabhbh0ruzwoo2
bzr revid: nicolas.vanhoren@openerp.com-20101208105249-qfjalxkboqpi9xr0
2010-12-08 11:52:49 +01:00
Xavier Morel 0fe0c17068 [REM] @default attribute: not handled by the GTK client and not specified anywhere or by anyone
bzr revid: xmo@openerp.com-20101208103648-3qca263rux8g0030
2010-12-08 11:36:48 +01:00
Launchpad Translations on behalf of openerp 00f2f6b97d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101208044843-iaflyr3xboujht6p
2010-12-08 04:48:43 +00:00
Olivier Dony 592d666e51 [FIX] tools.misc: correct argument to subprocess.Popen (via xrg, analysis/patch courtesy of Michael Telahun Makonnen)
lp bug: https://launchpad.net/bugs/685115 fixed
lp bug: https://launchpad.net/bugs/684661 fixed

bzr revid: odo@openerp.com-20101207170551-o19ab06g1h2x3ygz
2010-12-07 18:05:51 +01:00
Olivier Dony 8233e8b505 [FIX] reports: support for multi-company headers (pending improvements after v6.0)
bzr revid: odo@openerp.com-20101207161523-nxo1lz9u9edajbfa
2010-12-07 17:15:23 +01:00
Harry (OpenERP) e6ba188192 [MERGE] merged from sbh local branch
bzr revid: hmo@tinyerp.com-20101207102753-085jlu3mln64dc73
2010-12-07 15:57:53 +05:30
Sbh (OpenERP) 9b306538ae [IMP] view.rng :Add the invisible attribute in page,partner: set the invisible on History tab
bzr revid: sbh@tinyerp.com-20101207063132-ppgrics4oo7ia01q
2010-12-07 12:01:32 +05:30
Sbh (OpenERP) 8ef3e4349d [MERGE] Merge with lp:openobject-server
bzr revid: sbh@tinyerp.com-20101207061423-j1nkihudn306h2gz
2010-12-07 11:44:23 +05:30
Launchpad Translations on behalf of openerp 3bde229bc3 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101207045745-va45z3pzzv6xten7
2010-12-07 04:57:45 +00:00
Olivier Dony 8d5d7b1cbe [FIX] base: missing import _() in base_module_upgrade
lp bug: https://launchpad.net/bugs/685949 fixed

bzr revid: odo@openerp.com-20101206141053-ckisp97vg8herdnr
2010-12-06 15:10:53 +01:00
Olivier Dony 9b25bd6eb4 [FIX] ir_values: revert GTK-specific hack for search_view_id after GTK client was fixed
bzr revid: odo@openerp.com-20101206131928-2ew6lqe1lz55vwh1
2010-12-06 14:19:28 +01:00
Olivier Dony 6f0660eaa0 [FIX] orm.read_group: support ordering by any field (not just m2o ones)
bzr revid: odo@openerp.com-20101206131818-ibah9gt409jbil3l
2010-12-06 14:18:18 +01:00
Olivier Dony 77134eca55 [FIX] report.trml2pdf: fix path to locate <images> in RML
lp bug: https://launchpad.net/bugs/586066 fixed

bzr revid: odo@openerp.com-20101206124052-01bp2395vxaenzry
2010-12-06 13:40:52 +01:00
Olivier Dony 988cd41e54 [MERGE] fix for search view bug 681479 + improved support for images in RML, both courtesy of P. Christeas
lp bug: https://launchpad.net/bugs/681479 fixed

bzr revid: odo@openerp.com-20101206121935-e5xkk685rj2e12ev
2010-12-06 13:19:35 +01:00
Harry (OpenERP) 0475e814dc [MERGE]
bzr revid: hmo@tinyerp.com-20101206121927-hikb1xzabqs46uzh
2010-12-06 17:49:27 +05:30
Launchpad Translations on behalf of openerp b18eabbd97 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101204051244-ovlrwt2mjmxq72kn
bzr revid: launchpad_translations_on_behalf_of_openerp-20101205044847-9vpsrsujiirbzrb3
2010-12-05 04:48:47 +00:00
P. Christeas ee07fda232 ir.values: do return the search_view_id of action windows [Bug 681479]
Partially revert cadc172a2cd09, that prevented both that field and
"search_view" from being read. While the latter one is expensive to
compute, the "search_view_id" is pretty harmless. GTK client (at least)
depends on that to select the appropriate search view.

bzr revid: p_christ@hol.gr-20101203164606-qdjfg0o7ybe0h2i1
2010-12-03 18:46:06 +02:00
P. Christeas dd0510428f sql_db: only do frame inspection when debugging
This affects the "Cursor not closed explicitly..." message.
The message is at a "warning" level, but the frame inspection added
some expensive overhead to each cursor open. So, avoid that unless we
are at debug mode.

Conflicts:

	bin/sql_db.py

bzr revid: p_christ@hol.gr-20101203164553-vudqkoqb0hpfsocj
2010-12-03 18:45:53 +02:00
Christophe Simonis 5cd8b368b2 [FIX] base: check external dependencies at module update
bzr revid: chs@openerp.com-20101203162250-y78gbf05yrcxm3nt
2010-12-03 17:22:50 +01:00
Olivier Dony 62182bdb31 [I18N] base: updated PO template after latest cleanup
bzr revid: odo@openerp.com-20101203161151-s0gvqzkdhtoot0g1
2010-12-03 17:11:51 +01:00
Olivier Dony c744e55ffc [ADD] base: support alphabet-specific languages as in Rosetta + enabled Serbian@Latin
bzr revid: odo@openerp.com-20101203160907-59ytzsl8ah2ebtxa
2010-12-03 17:09:07 +01:00
Olivier Dony 78d254ad71 [ADD] base: yaml tests for basic domain expressions (including some for bug 626806), mostly courtesy of xrg
bzr revid: odo@openerp.com-20101203142525-xuf27cawn3j15lr7
2010-12-03 15:25:25 +01:00
Olivier Dony 170793a683 [MERGE] fix for bug 626806 by xrg - i.e. [(x2m,in,[])] should match nothing
lp bug: https://launchpad.net/bugs/626806 fixed

bzr revid: odo@openerp.com-20101203142342-2g5k64qoouuuxyti
2010-12-03 15:23:42 +01:00
Olivier Dony 3774ad65d7 [FIX] base,yaml: fixed !assert with "count" attribute in yaml tests + enabled more tests in base
bzr revid: odo@openerp.com-20101203142035-3h1min1htys5lhop
2010-12-03 15:20:35 +01:00
Launchpad Translations on behalf of openerp f82d0e9477 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101203050425-dkipvzhhptluivtz
2010-12-03 05:04:25 +00:00
olt@tinyerp.com 774f3d8b6e [FIX] base: res.widget.user: (transparently) prevent adding the same widget to the same user twice
bzr revid: olt@tinyerp.com-20101202114435-ofym2ntp3pf5ikx2
2010-12-02 12:44:35 +01:00
Launchpad Translations on behalf of openerp 2fb88d7d14 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101201045818-0chsie3wfu7akdq5
bzr revid: launchpad_translations_on_behalf_of_openerp-20101202044646-fgoibpvnut416974
2010-12-02 04:46:46 +00:00
Olivier Dony f1cfc436a7 [MERGE+FIX] fixes for translations,sequence,copy,error messages - some patches courtesy of Margarita Manterola and Don Kirkby
lp bug: https://launchpad.net/bugs/672130 fixed
lp bug: https://launchpad.net/bugs/663775 fixed
lp bug: https://launchpad.net/bugs/673194 fixed
lp bug: https://launchpad.net/bugs/663977 fixed

bzr revid: odo@openerp.com-20101130110940-0tf6ra0uwhiptieb
2010-11-30 12:09:40 +01:00
Launchpad Translations on behalf of openerp 4dd9ccb1b9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101130044803-uswrt8q7d2iyucgd
2010-11-30 04:48:03 +00:00
P. Christeas 12f5aa0a18 expression: fix "m2o, m2m in []" expressions, bug 626806
After some discussions, we decided that the desired behavior of the
ORM for one2many and many2many fields should be:
 (foobar_id,'in', []) => empty result, because the list is empty
 (foobar_id,'in',False) => find records that don't have a foobar

bzr revid: p_christ@hol.gr-20101129183413-yi1jzdwr1tis7d8t
2010-11-29 20:34:13 +02:00
François Degrave 0f1ab5e6ef [MERGE] base/rng: missing day_length added to gantt element
bzr revid: odo@openerp.com-20101129143043-vy2qh63vxeaie5uh
2010-11-29 15:30:43 +01:00
Olivier Dony 839eb5f1c8 [MERGE] orm.read_group: partial support for orderby (m2o only so far)
bzr revid: odo@openerp.com-20101129141204-beieaccpl23pqmge
2010-11-29 15:12:04 +01:00
Launchpad Translations on behalf of openerp 202723c7b9 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101127045140-kh4vuhmulphhntbv
bzr revid: launchpad_translations_on_behalf_of_openerp-20101128044930-geqyn9ydfsvk8n1y
bzr revid: launchpad_translations_on_behalf_of_openerp-20101129045013-ma2pla5t73axbub0
2010-11-29 04:50:13 +00:00
Nguyen Thanh Phong 59d536d5ce Add additional currency codes for VND and other currencies that have direct reference rates from ECB (http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html)
VND doesn't have direct exchange rate from ECB, so the exchange rate for VND was picked up from Vietcombank, the de-factor foreign exchange rate for commercial activities

bzr revid: phongnt@phongnt-laptop-20101127080009-0bb6wjrcbqh5llv3
2010-11-27 15:00:09 +07:00
Olivier Dony f87b2bb7e4 [MERGE] font loading issues fixed + performance improvements at module install/load
bzr revid: odo@openerp.com-20101127032014-fxrjaakuo3t4wvw4
2010-11-27 04:20:14 +01:00
Olivier Dony ec9d236589 [IMP] ir_model,ir_module,tools: tweaks for improving module install/loading time
bzr revid: odo@openerp.com-20101127030450-m44krmwbnpd57omf
2010-11-27 04:04:50 +01:00
Olivier Dony 4bc20ff99f [FIX] convert,rng: <act_window> should support unambiguous view_id attribute
+ cleanup of useless id_get param

bzr revid: odo@openerp.com-20101127030304-mvrb92rmgb0wblvc
2010-11-27 04:03:04 +01:00
Olivier Dony 959d4f962e [IMP] report,fonts: fallback to default Adobe fonts when font is missing - pending improvement
We should maybe find a way to let users use their own fonts. At the moment only the 14 default Adobe fonts 
(cfr reportlab.reportbase.pdfmetrics.standardFonts) + the ones from customfonts.py will work...
Also got rid of the mapping for ZapfDingBast, as it is a symbol font that cannot be mapped to a regular one.

bzr revid: odo@openerp.com-20101126183043-mrzipe7mdw1zs6g8
2010-11-26 19:30:43 +01:00
Xavier Morel 5745dfcb5f [IMP] fix colspan on left-hand column of install wizards
bzr revid: xmo@openerp.com-20101126170930-h87debplwcnvzui5
2010-11-26 18:09:30 +01:00
Olivier Dony 38c5f46025 [IMP] report.customfonts: more robust fonts detection and loading
bzr revid: odo@openerp.com-20101126170705-en0wbjb3rna8r96b
2010-11-26 18:07:05 +01:00
P. Christeas 07bb2de912 [MERGE] report: TTF fonts loading fixes ; convert: use newer ir.model.data API
bzr revid: odo@openerp.com-20101126163449-51q4rb96w4glzfz8
2010-11-26 17:34:49 +01:00
nvi-openerp 8cc1c1086d [IMP] wip
bzr revid: nicolas.vanhoren@openerp.com-20101126152048-bkyrmnpihkzzn7u8
2010-11-26 16:20:48 +01:00
nvi-openerp d7eb66c71e [FIX] Fixed security problems with maintenance
bzr revid: nicolas.vanhoren@openerp.com-20101126140437-smuugpi07xa8u24b
2010-11-26 15:04:37 +01:00
nvi-openerp edf4981ded [merge]
bzr revid: nicolas.vanhoren@openerp.com-20101126134609-vyspfsb42t36s2wq
2010-11-26 14:46:09 +01:00
nvi-openerp fe7b86d77b [IMP] Improved wizard for publisher warranty contracts
bzr revid: nicolas.vanhoren@openerp.com-20101126133824-a0m6liazwl3x0z0k
2010-11-26 14:38:24 +01:00
nvi-openerp 6cd96a7742 [IMP] wip
bzr revid: nicolas.vanhoren@openerp.com-20101126131811-rmgjiy7i7tsu2pim
2010-11-26 14:18:11 +01:00
Olivier Dony 0228f8e889 [IMP] netsvc: order debug levels declaration according to priority
bzr revid: odo@openerp.com-20101126130225-o2stqws2mmg98bon
2010-11-26 14:02:25 +01:00
Xavier Morel ac0d91dd86 [ADD] base: web_icon for administration and sales applications
bzr revid: xmo@openerp.com-20101126110909-8p028y8rne2lha0e
2010-11-26 12:09:09 +01:00
P. Christeas 7c55e521a3 customfonts: search path for fonts, override the broken of reportlab
Several Linux distros still ship with a broken reportlab config, which
looks at "c:\winnt\fonts" for fonts!
Since they have not fixed that for months, we have to do their job and
have a custom search path of:
   - paths from the config file (ttfonts.search_path key)
   - sensible defaults for distros, considering os.name and os.uname
   - default reportlab path (opt-out with ttfonts.use_default_path=False)

The result is that we will have more chance of locating TTF fonts and
use them (as now required) in the PDF reports.

bzr revid: p_christ@hol.gr-20101126103459-5wv7crw3i3b56adr
2010-11-26 12:34:59 +02:00
P. Christeas ca6fada256 convert.py: use the get_object_reference() API for ir.model.data
Note that the "return False" would have never worked, since the _get_id()
would have raised an exception for missing records.

bzr revid: p_christ@hol.gr-20101126103344-ugr20dnti4gezdoe
2010-11-26 12:33:44 +02:00
olt@tinyerp.com cf152730b8 [FIX] po file parser: database creation crashes if res_id is an empty string
bzr revid: olt@tinyerp.com-20101126082048-ndc55bsf4vo3cu2c
2010-11-26 09:20:48 +01:00
Launchpad Translations on behalf of openerp 352bb205aa Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101126044921-9446pqhg2fetkj9v
bzr revid: launchpad_translations_on_behalf_of_openerp-20101126045439-w5rxmd2f3eukcno6
2010-11-26 04:54:39 +00:00