Commit Graph
4743 Commits
Author SHA1 Message Date
Christophe Simonis fc158668b7 [IMP] pyflakes tools/misc.py
bzr revid: chs@openerp.com-20101109165014-6yw5xvojoe7b0i4t
2010-11-09 17:50:14 +01:00
Xavier Morel bc156c64e4 [IMP] remove redundancy in ir_values.set
bzr revid: xmo@openerp.com-20101109132137-nmkg6uc5sdqovu1o
2010-11-09 14:21:37 +01:00
Xavier Morel 05b8774c61 [IMP] type tests simplifications in ir_values.set
bzr revid: xmo@openerp.com-20101109131734-aby85mwhfhc4501w
2010-11-09 14:17:34 +01:00
Xavier Morel 32ad10bc75 [IMP] avoid returning complete search views from ir_values.get
Also some readability and speed improvements to the method's content

bzr revid: xmo@openerp.com-20101109131506-5k1ohanbo3ocfs5h
2010-11-09 14:15:06 +01:00
Xavier Morel f3722bbfe4 [IMP] base: make ir_values.get._result_get more readable and slightly faster.
On a test set of ~20 fields, using a precomputed set instead of a spot-computed tuple for 'in' testing yields ~30% speed improvement, and replacing the manual removal of elements by a listcomp filtering yields ~30% more.
      
Tests were also performed using sets and set.difference, while it yields better performances than manual element removal it is still worse than listcomp, especially when taking in account the re-serialization to a list

bzr revid: xmo@openerp.com-20101109130847-p1xfmk3zhhivebj1
2010-11-09 14:08:47 +01:00
Xavier Morel b89aef19f1 [IMP] base: tentative code simplifications (removal of redundant calls) in ir_values.get
bzr revid: xmo@openerp.com-20101109130834-2rdsy3u7hm8kzj5n
2010-11-09 14:08:34 +01:00
Xavier Morel 7bc1a8c130 [IMP] make type tests more readable in ir_values.get
bzr revid: xmo@openerp.com-20101109115741-15iyg5tpblgmb2yy
2010-11-09 12:57:41 +01:00
Xavier Morel 5472c050af [FIX] base: don't return search_view and search_view_id from ir_values.get
bzr revid: xmo@openerp.com-20101109115254-svfwdr3kfb7as7a6
2010-11-09 12:52:54 +01:00
Olivier Dony fc065933c7 [IMP] tools.misc: typo in tools.ustr error message
bzr revid: odo@openerp.com-20101109110436-aftj49f65zac5qwe
2010-11-09 12:04:36 +01:00
Olivier Dony f886f8f43b [FIX] reports/rml2pdf: improved previous fix of unicode/str conversion
bzr revid: odo@openerp.com-20101109105329-zjtz7lcdg6h0trxw
2010-11-09 11:53:29 +01:00
Launchpad Translations on behalf of openerp 296591c119 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101109044748-jx0843m3k1eh2ha2
bzr revid: launchpad_translations_on_behalf_of_openerp-20101109044959-yggrezmg7uh721d9
2010-11-09 04:49:59 +00:00
Olivier Dony 14b584718d [FIX] reports/rml2pdf: somewhat more consistent handling of unicode/str conversion + cleanup
lp bug: https://launchpad.net/bugs/537449 fixed
lp bug: https://launchpad.net/bugs/662598 fixed

bzr revid: odo@openerp.com-20101108185328-9bbb22v0yisdp8h1
2010-11-08 19:53:28 +01:00
Olivier Dony e552766352 [IMP] orm: spelling: default language is en_US, so we should us International/US forms
lp bug: https://launchpad.net/bugs/546138 fixed

bzr revid: odo@openerp.com-20101108143014-p3xlsiz3kb79ckdt
2010-11-08 15:30:14 +01:00
Xavier Morel 31346d6259 [FIX] documentation of _set_previous_todo: doesn't inherently throw anything anymore
bzr revid: xmo@openerp.com-20101108110159-ptfhu5krjs4y0ald
2010-11-08 12:01:59 +01:00
Xavier Morel bf35164a65 [REM] pre-check that we're not setting ir_actions_todo.state to nothing: it's a selection field, so the write call can check that itself
bzr revid: xmo@openerp.com-20101108104718-md2wdklz5rc92ef5
2010-11-08 11:47:18 +01:00
Xavier Morel 89af2f0c8e [FIX] Do not raise an error if the next todo isn't found to set the previous todo's status
The previous line hardly makes any sense, so clarification: finding the 'next' todo is based on todo states, so until we've set the state of the todo item we've just executed (aka the previous todo) it remains the 'next' todo as well.

So in order to set the previous todo's state, we look for the next todo (which it still is) and set its state, actually marking it as the 'previous' todo

bzr revid: xmo@openerp.com-20101108104412-bd7bf3k7c5p5jkpl
2010-11-08 11:44:12 +01:00
Xavier Morel bde7060598 [IMP] res_config: better scope dont_skip_todo
bzr revid: xmo@openerp.com-20101108104128-bew5ri7jpxbydp34
2010-11-08 11:41:28 +01:00
Xavier Morel d1ad030ba6 [IMP] base: remove useless context-setting
bzr revid: xmo@openerp.com-20101108101720-7wjqznxd5l2ejwq8
2010-11-08 11:17:20 +01:00
Xavier Morel b25f6a0978 [IMP] base: migrate res_config to logging
bzr revid: xmo@openerp.com-20101108100857-jkc1bv57qq45z8ey
2010-11-08 11:08:57 +01:00
Launchpad Translations on behalf of openerp 03ea39746d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101105044642-zvpc5fpvvtrqh4b4
bzr revid: launchpad_translations_on_behalf_of_openerp-20101106045121-afgr8w5v2de7gjh6
bzr revid: launchpad_translations_on_behalf_of_openerp-20101107044822-bjtj1ntp575kszgc
bzr revid: launchpad_translations_on_behalf_of_openerp-20101108051146-kvk8lehqohhfku86
2010-11-08 05:11:46 +00:00
Jay (OpenERP) 53d3e74d66 [FIX] Removed pdb trace log statement
bzr revid: jvo@tinyerp.com-20101104191713-xkek2g36xzlzcij2
2010-11-05 00:47:13 +05:30
Olivier Dony e1f5158d7d [ADD] fields.binary: support 'bin_size_XXX' context flags to selectively enable returning size/contents of a binary field - pending API change after 6.0
bzr revid: odo@openerp.com-20101104170523-z1n4jop5e46t3wtu
2010-11-04 18:05:23 +01:00
Launchpad Translations on behalf of openerp 375f6b2203 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101104045006-p9fbak0ygc7lsc92
2010-11-04 04:50:06 +00:00
Olivier Dony ac7a2881e7 [MERGE] report branch with <pto> support in RML rendering
bzr revid: odo@openerp.com-20101103171129-ft6iacj63a4jtadd
2010-11-03 18:11:29 +01:00
Xavier Morel b1cf8c3afb [FIX] layout of base_module_import_view
bzr revid: xmo@openerp.com-20101103152455-o79qfxbjw7k9kasd
2010-11-03 16:24:55 +01:00
Launchpad Translations on behalf of openerp 8c073c3c98 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101103045904-bp74yxj1qhrx37q7
bzr revid: launchpad_translations_on_behalf_of_openerp-20101103050114-xf1zmv7buebcxyez
2010-11-03 05:01:14 +00:00
apa-tiny ed8460a8f6 merged from trunk
bzr revid: apa@tinyerp.com-20101103044551-da5hm4qcgn2z4mxd
2010-11-03 10:15:51 +05:30
Jay (OpenERP) b70095df94 [FIX] filters : Size of model name corrected to 64,same as model name
lp bug: https://launchpad.net/bugs/666367 fixed

bzr revid: jvo@tinyerp.com-20101102141807-o8szqi6fn9q1pfms
2010-11-02 19:48:07 +05:30
qdp-launchpad@tinyerp.com a36a5cd576 [IMP] base, res_lang: very small usability improvement in form view (colspan=4 on a separator)
bzr revid: qdp-launchpad@tinyerp.com-20101102092954-hk20xruzgnn8m7q4
2010-11-02 10:29:54 +01:00
apa-tiny 6800b74fb7 [FIX]account:[trunk] accounting - GL report (and others) - repeat column headers
lp bug: https://launchpad.net/bugs/645969 fixed

bzr revid: apa@tinyerp.com-20101102080019-vnfo4o8me9pwbtne
2010-11-02 13:30:19 +05:30
Launchpad Translations on behalf of openerp d1f2c85276 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101102044924-r061tsja1mz2pzq9
2010-11-02 04:49:24 +00:00
Fabien Pinckaers d20510168f [IMP] Speed improvement when loading modules
bzr revid: fp@tinyerp.com-20101101113352-g32hhvp5355jb3nt
2010-11-01 12:33:52 +01:00
Fabien Pinckaers c50d3029ae [IMP] Speed improvement when loading modules
bzr revid: fp@tinyerp.com-20101101113320-umabgxebmj0zzcpz
2010-11-01 12:33:20 +01:00
Launchpad Translations on behalf of openerp 9d547ee656 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101030050523-m327q5elrmtm3zvd
bzr revid: launchpad_translations_on_behalf_of_openerp-20101031045647-ubp4y3thkccl2aj4
bzr revid: launchpad_translations_on_behalf_of_openerp-20101101051009-h4tzs0jic2dkbs89
2010-11-01 05:10:09 +00:00
Jay (OpenERP) 9186fb8144 [FIX] Search on property field should not crash,it should go for fnct_search() instead (normal fields.function flow)
lp bug: https://launchpad.net/bugs/634607 fixed

bzr revid: jvo@tinyerp.com-20101029203937-ecpovii0zfpwgsdw
2010-10-30 02:09:37 +05:30
Launchpad Translations on behalf of openerp 2bcc7eec15 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101029052700-s23hog0sehlvliha
2010-10-29 05:27:00 +00:00
Olivier Dony c7cb6b647a [FIX] res_company: override low-level _search to make sure "selection-widget lists" are filtered too (pending refactoring)
lp bug: https://launchpad.net/bugs/663998 fixed

bzr revid: odo@openerp.com-20101029010137-0qpwais2d0jk0og8
2010-10-29 03:01:37 +02:00
Olivier Dony da52ec0579 [FIX] user preferences: fix company_id on_change warning and move to correct view
bzr revid: odo@openerp.com-20101028162852-kwqgwe24ga490xuk
2010-10-28 18:28:52 +02:00
Thibault Francois 950987e2fb [MERGE]
bzr revid: tfr@openerp.com-20101028091341-nryekjn92gck386s
2010-10-28 11:13:41 +02:00
Launchpad Translations on behalf of openerp 63aaa51bce Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101028050521-czwno9b44yujme19
2010-10-28 05:05:21 +00:00
Olivier Dony 257bc12dcc [FIX] tools.misc: enforce passing email_from as utf8 8-bit string to smtp layer in email_send() + various lint cleanup
bzr revid: odo@openerp.com-20101027122830-rs29vunlmgcom9z5
2010-10-27 14:28:30 +02:00
Olivier Dony 48658a2148 [FIX] res.users: user preferences should allow editing email
bzr revid: odo@openerp.com-20101027115745-a8tblips61qb69o6
2010-10-27 13:57:45 +02:00
Olivier Dony 3f235f8d3c [IMP] orm.read: make error message for read() on deleted records more consistent with other messages
bzr revid: odo@openerp.com-20101027111056-uw1mnr9o5sr4w70l
2010-10-27 13:10:56 +02:00
Olivier Dony fed6d90304 [IMP] orm.write: report an error when trying to update deleted records (thanks RGA for initial fix)
bzr revid: odo@openerp.com-20101027110542-d9nklbocc12bxjs6
2010-10-27 13:05:42 +02:00
Olivier Dony 9d425285c0 [IMP] orm: broader error message for ir.rule check, concurrently deleted records might trigger it too
bzr revid: odo@openerp.com-20101027105153-slv09eju5rzkgaoo
2010-10-27 12:51:53 +02:00
Launchpad Translations on behalf of openerp 4f75e2f9cc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101027045808-gb2q3i9xrp1pvwka
2010-10-27 04:58:08 +00:00
Julien Thewys 9ec0865f7c [FIX] ir.model.data is writable only by admin user, readable by all.
bzr revid: jth@openerp.com-20101026095044-apiq6ts1609gn62t
2010-10-26 11:50:44 +02:00
Julien Thewys 0f428905d8 [FIX] Fixed yaml custom tags refactoring from base_module_record.
Serialization for those tags have probably not been used yet.

bzr revid: jth@openerp.com-20101026094509-s34a7et489f7qy3y
2010-10-26 11:45:09 +02:00
Launchpad Translations on behalf of openerp 6498ee2251 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20101026043643-bhe128ecdxwced2d
2010-10-26 04:36:43 +00:00
Borja López Soilán 97de79788e [FIX] Slicing functionality support added to safe_eval()
bzr revid: ach@tinyerp.com-20101025135420-pv6iex4np1l9l7is
2010-10-25 19:24:20 +05:30