Commit Graph
751 Commits
Author SHA1 Message Date
Numerigraphe - Lionel Sausin 182cf2b196 [MERGE] sync with the trunk
bzr revid: ls@numerigraphe.fr-20101112141041-19kpvr7pzxqankqo
2010-11-12 15:10:41 +01:00
Olivier Dony 1793660576 [FIX] safe_eval: added support for new JUMP OPCODES from Python 2.7
lp bug: https://launchpad.net/bugs/673773 fixed

bzr revid: odo@openerp.com-20101111011243-42aunydhqy0avvwp
2010-11-11 02:12:43 +01:00
Olivier Dony 25f8322725 [FIX] tools.pdf_utils: fixed typo in previous commit
bzr revid: odo@openerp.com-20101110200438-s3p0167w1cwsb896
2010-11-10 21:04:38 +01:00
Nicolas Vanhoren bdef22db72 [MERGE] minor improvements after integrating community localizations
bzr revid: odo@openerp.com-20101110180414-zroqvtuxps56a7q7
2010-11-10 19:04:14 +01:00
Olivier Dony af817028c6 [FIX] tools.config: do not chmod existing config files
lp bug: https://launchpad.net/bugs/519455 fixed

bzr revid: olivier@olivier-donys-macbook-pro.local-20101109220907-t2phxs26l136bhe7
2010-11-09 23:09:07 +01:00
Christophe Simonis ad4f3dfc0b [IMP] tools.cache now use a LRU to avoid memory overload
bzr revid: chs@openerp.com-20101109165739-1pm8jhckcyzkb2z1
2010-11-09 17:57:39 +01:00
Christophe Simonis fc158668b7 [IMP] pyflakes tools/misc.py
bzr revid: chs@openerp.com-20101109165014-6yw5xvojoe7b0i4t
2010-11-09 17:50:14 +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
nvi-openerp 91c0e7621c [merge]
bzr revid: nicolas.vanhoren@openerp.com-20101108102206-n49aylxp2sf6krp1
bzr revid: nicolas.vanhoren@openerp.com-20101108102222-hh2yawl34ofqwnke
2010-11-08 11:22:22 +01:00
nvi-openerp 1fc401534e [IMP] Changed some things dur to uk localization module renamming
bzr revid: nicolas.vanhoren@openerp.com-20101028094758-ghhwgkk7rgz9xxv7
2010-10-28 11:47:58 +02: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
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
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
Olivier Dony 69ea053093 [FIX] translations: export wizard should also export _sql_constraints + cleanup
bzr revid: odo@openerp.com-20101020163822-myx69vpr1vavlqru
2010-10-20 18:38:22 +02:00
Olivier Dony eed35f8c52 [ADD] languages: add support for more spanish locales (latin america)
lp bug: https://launchpad.net/bugs/660933 fixed

bzr revid: odo@openerp.com-20101020161843-rpdcihejmiluv3k7
2010-10-20 18:18:43 +02:00
Julien Thewys b42095255d [FIX] Adapted yaml_tag to serialize custom tags in module recorder.
bzr revid: jth@openerp.com-20101018132907-9cnfm4yzn3w01gox
2010-10-18 15:29:07 +02:00
Jay (OpenERP) d11e460296 [FIX] Safe_eval : Added the support of set(),JUMP_FORWARD,POP_BLOCK,SETUP_LOOP
lp bug: https://launchpad.net/bugs/633896 fixed

bzr revid: jvo@tinyerp.com-20101018101830-e2fa0ch3811gsuuu
2010-10-18 15:48:30 +05:30
Fabien Pinckaers a357961185 [FIX] translation terms overwrited
bzr revid: fp@tinyerp.com-20101017154335-fhdwj610nkqfez9w
2010-10-17 17:43:35 +02:00
Olivier Dony bf6165b3fe [ADD] ir.actions.act_window: added support for multi=True parameter to hide an act_window in single item view (already supported on other actions)
bzr revid: odo@openerp.com-20101015140729-cy520ac0m63e5tca
2010-10-15 16:07:29 +02:00
Olivier Dony 3af1a322d4 [IMP] tools.translate: log at debug level rather than warning when a translation fails
bzr revid: odo@openerp.com-20101012182042-d2wcjr2jru9k7j17
2010-10-12 20:20:42 +02:00
Xavier Morel 040f2ce15b [FIX] use correct default callable for a datetime to get the current datetime as of the object's creation
Add staticmethods to fields.time, fields.date and fields.datetime so they can generate default values which they can actually consume

bzr revid: xmo@openerp.com-20101012160130-jwgl7cok853fiyap
2010-10-12 18:01:30 +02:00
Anup (OpenERP) e1f829b0eb [FIX] Export & Synchronize Translations Corrected
lp bug: https://launchpad.net/bugs/658993 fixed

bzr revid: ach@tinyerp.com-20101012120908-1u5n29r040drhhzs
2010-10-12 17:39:08 +05:30
Olivier Dony b7d9aa6a50 [FIX] reports: fixed yaml_import for new file attribute in report tag processing - convert.py was fixed earlier
bzr revid: odo@openerp.com-20101012095804-bdfqqn5qxhya53on
2010-10-12 11:58:04 +02:00
Xavier Morel aa7772940c [IMP] display more informations about XML parse errors (file and line number of troubled element)
bzr revid: xmo@openerp.com-20101012094250-n43amm773c43o9e6
2010-10-12 11:42:50 +02:00
husen 3e44b15833 fix related field create problem
bzr revid: husen@husen-laptop-20101011121753-geotbl0iwqf3cqwe
2010-10-11 17:47:53 +05:30
Olivier Dony f92f272130 [IMP] reports: support generic report_file field instead of report_xml ; add "file" attribute for <report> ; pending better refactoring after v6.0
bzr revid: odo@openerp.com-20101008142301-0os4ajp8xb9kt3cy
2010-10-08 16:23:01 +02:00
Olivier Dony 2171202b32 [IMP] translations: support generic "report" translation type + export from *.mako files + multiple types for _get_source() + lint cleanup
bzr revid: odo@openerp.com-20101008140349-9hclfqwjmndkrtn4
2010-10-08 16:03:49 +02:00
Julien Thewys 049a203cc4 [MERGE] Fixed gettext translation.
bzr revid: jth@openerp.com-20101006092643-b91l3nazmrdf7bqn
2010-10-06 11:26:43 +02:00
Xavier Morel c153c2d46b [ADD] server-side web addons
bzr revid: xmo@openerp.com-20100928075257-06f2b3o6kvdb9f6y
2010-09-28 09:52:57 +02:00
Olivier Dony e4e6e04a61 [IMP] ir.property: fixed compatibility with python 2.5
bzr revid: odo@openerp.com-20100924101545-2baak1xfh0v8z04n
2010-09-24 12:15:45 +02:00
Julien Thewys d90f632ad7 [FIX] Moved definition of smtplib error logger in the right scope.
bzr revid: jth@openerp.com-20100923135820-t1uqp0k4iwfgxaw6
2010-09-23 15:58:20 +02:00
Julien Thewys 34577af85f [FIX] Fixed gettext translation (in particular, fixed translation in RML reports).
bzr revid: jth@openerp.com-20100907084902-0l323afsiju4y1i4
2010-09-07 10:49:02 +02:00
Harry (OpenERP) 485d0819fd [MERGE]
bzr revid: hmo@tinyerp.com-20100906081104-pkbxwki6189d6ym0
2010-09-06 13:41:04 +05:30
apa-tiny 680d12ad6a [MERGE]:merged from trunk
bzr revid: apa@tinyerp.com-20100903044040-e40gcbebdai9d7gc
bzr revid: apa@tinyerp.com-20100903123541-dfkorou5i9wuzubj
bzr revid: apa@tinyerp.com-20100906045701-dj1f29o2ojltm6r4
2010-09-06 10:27:01 +05:30
P. Christeas ca72c6b1ce [IMP] tools/yaml_import: Try to explain values of failed assertions
When some assertion fails, eg. "a == 4" , try to break it down and eval
the parts so that we see the real "8 == 4" data.

bzr revid: odo@openerp.com-20100902113025-ef3gdit4r6ipwoxn
2010-09-02 13:30:25 +02:00
Fabien Pinckaers 76548b3aff merge
bzr revid: fp@tinyerp.com-20100901164225-3o7njbh96drfvxnp
2010-09-01 18:42:25 +02:00
Fabien Pinckaers 08e975711e better error message when crashing a yaml test
bzr revid: fp@tinyerp.com-20100901164207-g9p5o5p58310e0lp
2010-09-01 18:42:07 +02:00
Harry (OpenERP) 73bbce205b [FIX] tools/yml_import: pass context into update data in record parsing
bzr revid: hmo@tinyerp.com-20100901085707-lxeo23h9ziwilpkx
2010-09-01 14:27:07 +05:30
Anup (OpenERP) 73ac56eaf1 [FIX] msgstr in .pot file must be '' while exporting template translation
bzr revid: ach@tinyerp.com-20100901075244-wz3c75j56q6m79yg
2010-09-01 13:22:44 +05:30
apa-tiny b453709b83 [iMP]:Added filter and round function in global dict.
bzr revid: apa@tinyerp.com-20100831123200-d2y2ced1mnd0fv3g
2010-08-31 18:02:00 +05:30
Harry (OpenERP) cf86268416 [FIX] convert: after upgrade module, got error to parse menu
bzr revid: hmo@tinyerp.com-20100830140508-8mbnjtg5c970j3dt
2010-08-30 19:35:08 +05:30
Olivier Dony a33463b178 [IMP] tools/convert: small readability improvement in parent menu determination
bzr revid: odo@openerp.com-20100830102003-jmzq3vpuvhng1404
2010-08-30 12:20:03 +02:00
P. Christeas b68138961f convert: When loading menu, don't match by name
It is safer to create duplicate menus than assume the same name is the same
menu.

Solved strange case with 'Manufacturing', where it would falsely identify
the 'Manufacturing/Manufacturing' as its parent, and thus create a recursive
menu. If we are parsing the 'a/b/c' name syntax, we have to ommit "c" from
parent search.

Conflicts:

	bin/tools/convert.py

bzr revid: p_christ@hol.gr-20100830094806-3d4flzmp6vazdhtb
2010-08-30 12:48:06 +03:00
Olivier Dony 53c1238913 [REF] tools.misc: expose separate method to generate a tracking Message-ID SMTP header
bzr revid: odo@openerp.com-20100813105404-ceni0xjpusuc8kpy
2010-08-13 12:54:04 +02:00
Julien Thewys 34be1742ad [FIX] Fixed translation string generation when parsing source files.
bzr revid: jth@openerp.com-20100812182412-r64bujtwge7wwz2t
2010-08-12 20:24:12 +02:00
Olivier Dony 8b658219df [REVERT/FIX] safe_eval: revert incorrect tentative fix for missing abs,reduce + correct fix.
WARNING: do not add regular __builtins__ or globals in the safe_eval context dictionary!! The whole point is not to have them available for security purposes!

bzr revid: odo@openerp.com-20100810134046-vrw8niq73axmz5vl
2010-08-10 15:40:46 +02:00
Olivier Dony 910cc41a51 [REF] config/test: renamed test-* config params to use underscores as all others, for consistency.
This will only break existing config files, but command-line stays the same with hyphens of course.

bzr revid: odo@openerp.com-20100810131755-rjwipw4pqhg3uev3
2010-08-10 15:17:55 +02:00
Olivier Dony 891eb265b6 [REF] config: rationalized config parameters to make consistent for v6.
Renamed parameters for static HTTP service + improved param check message.
+ minor cleanup in config params

bzr revid: odo@openerp.com-20100810131200-p71zge94l1qp1s18
2010-08-10 15:12:00 +02:00
apa-tiny c49797ad30 [FIX]:FormatLang is not support any python aggregate function like abs(),reduce() etc as an argument.
bzr revid: apa@tinyerp.com-20100810110942-zb47ggw15qa1c0os
2010-08-10 16:39:42 +05:30