Commit Graph
785 Commits
Author SHA1 Message Date
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 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
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
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
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
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
Olivier Dony 2a99340541 [IMP] tools.translate: more lenient with malformed PO entries
bzr revid: odo@openerp.com-20101125172236-son3382958xbds8y
2010-11-25 18:22:36 +01:00
Olivier Dony 727b9d7e55 [IMP] tools.translate: use consistent logging API
bzr revid: odo@openerp.com-20101125172144-3z0rs97u50q142vx
2010-11-25 18:21:44 +01:00
P. Christeas, O. Dony 6a69f37cf0 [MERGE] many improvements regarding translations, logging, reports, http, speed
bzr revid: odo@openerp.com-20101125142219-8bkqfboyuslzpvyo
2010-11-25 15:22:19 +01:00
gpa 9de5e301e1 Improvement for the transformation of the icon file paths inside
bzr revid: gpa@tinyerp.com-20101125052729-bajcewtj468rhcjx
2010-11-25 10:57:29 +05:30
Olivier Dony 0fa9b15868 [IMP] yaml_import: improved resolution of XML IDs
bzr revid: odo@openerp.com-20101124173222-177ra54gh0t5z0uy
2010-11-24 18:32:22 +01:00
gpa 1a6ab82f7b Improvement for the web client dash board
bzr revid: gpa@tinyerp.com-20101124104936-rk38vyhz7bll6f9r
2010-11-24 16:19:36 +05:30
Margarita Manterola b140c3cacb Confirm message support translation and export
bzr revid: ysa@tinyerp.com-20101124093647-hbh2gzghkf39desi
2010-11-24 15:06:47 +05:30
Yogesh Sakhreliya 8940877f64 revert rev no :-3030
bzr revid: ysa@tinyerp.com-20101124093435-3d7ioctc8raaf1j2
2010-11-24 15:04:35 +05:30
Yogesh Sakhreliya ca3a65d9ad Confirm message support translation and export--author=Margarita Manterola
bzr revid: ysa@tinyerp.com-20101124091207-5gccf6h5h0hgu06i
2010-11-24 14:42:07 +05:30
P. Christeas 597a871470 misc: import warnings, needed for earlier patch
bzr revid: p_christ@hol.gr-20101123180824-sk28lwc298v89rr4
2010-11-23 20:08:24 +02:00
P. Christeas 04c05faf9b yaml-import: fix working with deleted data
At some cases, ir.model.data is left with orphan entries, so ensure that
the message below is used (rather than "bool has no get()" exception).

Conflicts:

	bin/tools/yaml_import.py

bzr revid: p_christ@hol.gr-20101123153936-0cc4t4e2xwat70q1
2010-11-23 17:39:36 +02:00
P. Christeas 186b9190f6 tools.convert, misc: use pythonic logging
Conflicts:

	bin/tools/convert.py
	bin/tools/misc.py

bzr revid: p_christ@hol.gr-20101123153325-wicnjxt98lp03cpf
2010-11-23 17:33:25 +02:00
P. Christeas 4db6f0e5c1 translate: fix default arguments after last patch
bzr revid: p_christ@hol.gr-20101123152740-pn9mbptpdvw0sz98
2010-11-23 17:27:40 +02:00
P. Christeas d4379792fc tools/misc: port the exec_command_pipe() to the subprocess module.
The os.popen2 is deprecated since Python 2.6. It also failed to properly
escape the command line arguments.

Conflicts:

	bin/tools/misc.py

bzr revid: p_christ@hol.gr-20101123152224-d52414w2tscw6bvo
2010-11-23 17:22:24 +02:00
P. Christeas 7ce5179086 translate: don't complain about fuzzy strings.
They are part of the format and ought to be silently discarded.

bzr revid: p_christ@hol.gr-20101123135858-zkp7hjcn4slv3r57
2010-11-23 15:58:58 +02:00
P. Christeas c67f1746f4 translate: port to pythonic logging, filename in a message
It is good to know which .po file we are currently loading.
Warning: some messages moved from the 'db' logger to the 'i18n' one.

bzr revid: p_christ@hol.gr-20101123135835-k6d6r7sgif5zhb75
2010-11-23 15:58:35 +02:00
P. Christeas 6cd5fec0e2 sql_db: Avoid using inspect.stack(), use failsafe alternative.
Inspecting the full stack just to learn the file:line info for debugging
purposes is both expensive and error-prone. Write an alternative function
in tools/func.py that will just go N frames back and try to get the info.

bzr revid: p_christ@hol.gr-20101123135742-2jp75f3uxyg3a6b6
2010-11-23 15:57:42 +02:00
Julien Thewys c9c2f03a8c [REM] Removed wrongly committed changes (wrong branch name).
bzr revid: jth@openerp.com-20101117123928-vi70mnhlt9nz8cfc
2010-11-17 13:39:28 +01:00
Julien Thewys 36d2afb046 [IMP] Added 'test_force' cli param for loading tests without demo data.
Sometimes you want tests to be run against an environment where no demo data are allowed
and you do not want to have tests loaded from the 'data' section as records will not be rolled back.

bzr revid: jth@openerp.com-20101117104601-jottg84dmss716r0
2010-11-17 11:46:01 +01:00
Jay (OpenERP) 1dde0f53da [FIX] Delete and function tag should respect ref(XML_ID). Maintenance Case 262
lp bug: https://launchpad.net/bugs/675906 fixed

bzr revid: jvo@tinyerp.com-20101116215359-qcnfefkqhxsa2uym
2010-11-17 03:23:59 +05:30
P. Christeas 89c40dec2f translate: fix scanning the ir.models for translations
The loop would only consider models that have >0 records registered in
    ir.model.data.

This is merge of commits 3988ebf4dc130, 070e7d6ac717de and adapt to trunk.

bzr revid: p_christ@hol.gr-20101116163510-yemzlcy0f0yk893l
2010-11-16 18:35:10 +02:00
P. Christeas 8ce5d2bc20 tools/misc: prevent icon names from being translated
They are identifier strings, not human-readable.

bzr revid: p_christ@hol.gr-20101116150537-s7tyw7d6y0r1dl6c
2010-11-16 17:05:37 +02:00
P. Christeas 329bfb0d18 tools: Initial version of test_reports utility
With this utility module, YAML tests (or others) can quickly check a (pdf)
report.

bzr revid: p_christ@hol.gr-20101116145925-z4lshbefogbwz7r9
2010-11-16 16:59:25 +02:00
Olivier Dony 8472cfb7e3 [IMP] tools.translate: improved debug message for illegal values in PO terms
bzr revid: odo@openerp.com-20101116141508-jls1v2rqyvb7pf0v
2010-11-16 15:15:08 +01:00
Olivier Dony 6a3324a7a0 [IMP] tools.translate: various improvements to tranlations export/import, courtesy of P. Christeas:
- better support for multiline labels
- better support for multiple addons paths

bzr revid: odo@openerp.com-20101116123844-mo9mljrzduzs90gg
2010-11-16 13:38:44 +01:00
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