Fabien Meghazi
31af948f59
[ADD] Add res_id parameter to ir.translation#_get_source()
...
bzr revid: fme@openerp.com-20130923114454-soquy5fkp1npjl40
2013-09-23 13:44:54 +02:00
Olivier Dony
fbd0758cb5
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5054 rev-id: odo@openerp.com-20130820091157-e5brwlxuhujf8rrd
...
bzr revid: chs@openerp.com-20130724085026-525l9apggc9yzx0h
bzr revid: odo@openerp.com-20130730140644-1xih0as5jsks4pub
bzr revid: dle@openerp.com-20130801130723-khgwjkglgsdn34fj
bzr revid: odo@openerp.com-20130820091638-jpbcmh653bpa29em
2013-08-20 11:16:38 +02:00
Martin Trigaux
1fc7e4d532
[IMP] ir_translation: better log message
...
bzr revid: mat@openerp.com-20130813130109-yhvgipdy9m63jcqy
2013-08-13 15:01:09 +02:00
Martin Trigaux
2bac9b3353
[ADD] ir_translation: allow extra translations in folder i18n_extra
...
bzr revid: mat@openerp.com-20130813121258-q9y4kudhavndlod6
2013-08-13 14:12:58 +02:00
Olivier Dony
a4589a84cc
[FIX] ir.translation: backport of trunk fix to allow editing master english source terms
...
Original trunk commits rev-ids:
- 4855 qdp-launchpad@openerp.com-20130416091501-sgm3gdm80oxajahz
- 4856 qdp-launchpad@openerp.com-20130417121718-jfwi2f3gn0tum9xa
- 4857 qdp-launchpad@openerp.com-20130418114627-unmfdu6010hyc8xx
bzr revid: odo@openerp.com-20130703161520-mk0g187rpmmw6bdx
2013-07-03 18:15:20 +02:00
Quentin (OpenERP)
9a21f819b6
[FIX] ir_translation: fixed erro 'context_wo_lang is not defined'
...
bzr revid: qdp-launchpad@openerp.com-20130418114627-unmfdu6010hyc8xx
2013-04-18 13:46:27 +02:00
Quentin (OpenERP)
96a60e42c6
[FIX] ir_translation: fix in new methods made to improve the usability, see previous commit
...
bzr revid: qdp-launchpad@openerp.com-20130417121718-jfwi2f3gn0tum9xa
2013-04-17 14:17:18 +02:00
Quentin (OpenERP)
d2e71a65e1
[IMP] ir_translation: GUI improve in order to be able to change the english value of a model field (eg: a product name) directly in the translation window + small refactoring in order to test 'if context is None' rather than 'if not context' (see lp bug 525808)
...
bzr revid: qdp-launchpad@openerp.com-20130416091501-sgm3gdm80oxajahz
2013-04-16 11:15:01 +02:00
Cedric Snauwaert
56badfcb46
[REF]ir_translation: improve _get_src and _set_src function
...
bzr revid: csn@openerp.com-20130415100914-wm0wqhgg5mou2wxs
2013-04-15 12:09:14 +02:00
Cedric Snauwaert
2455ef9463
[FIX]ir_translation: replace source field to show value of the term stored in db and reflect change directly
...
in db when changing source value
bzr revid: csn@openerp.com-20130412124914-8epmco1z37ge1oui
2013-04-12 14:49:14 +02:00
Raphael Collet
09be864f1d
[IMP] replace all tests like 'registry.get(X)' by 'X in registry' where X is non static
...
bzr revid: rco@openerp.com-20130329140723-dnrl02saky570xg0
2013-03-29 15:07:23 +01:00
Cecile Tonglet
ad8b76de53
[MERGE] From trunk (second time)
...
bzr revid: cto@openerp.com-20121217144753-1rboqdw01h8yrehj
2012-12-17 15:47:53 +01:00
Xavier Morel
3ee178ab2c
[FIX] unnecessary backslashes
...
bzr revid: xmo@openerp.com-20121214132113-1ofmm5x0ua3l2q5d
2012-12-14 14:21:13 +01:00
Xavier Morel
c6079dd6bb
[REM] unnecessary parens
...
bzr revid: xmo@openerp.com-20121214123803-6xu2s1ndnoyj4i3e
2012-12-14 13:38:03 +01:00
Vo Minh Thu
509a084e79
[IMP] use the openerp namespace.
...
bzr revid: vmt@openerp.com-20121210152723-mv4dykfu6ip1991h
2012-12-10 16:27:23 +01:00
Fabien Meghazi
c71ce60400
[IMP] ir.translation, raise exception when trying to translate fields when no extra language is installed.
...
bzr revid: fme@openerp.com-20121106162753-6eqbhnwqhjgeun78
2012-11-06 17:27:53 +01:00
Vo Minh Thu
749ee11eb2
[MERGE] removed a few warnings.
...
bzr revid: vmt@openerp.com-20121022132759-64qupagcv9cdqnkq
2012-10-22 15:27:59 +02:00
Mayur Maheshwari (OpenERP)
e1dfd1fadc
[IMP]all: imporve string state to status
...
bzr revid: mma@tinyerp.com-20121012122419-mtiw3wpxlcbl4y1r
2012-10-12 17:54:19 +05:30
Twinkle Christian (OpenERP)
2f8236bdd1
[FIX]Fix warning:no translation for language en_US
...
bzr revid: tch@tinyerp.com-20121011090232-i0lo4eelz74seja9
2012-10-11 14:32:32 +05:30
Olivier Dony
550751b358
[IMP] translations: wip, remove unnecessary code, support loading PO comments and storing them, split ir.translation view data in separate XML file
...
bzr revid: odo@openerp.com-20120913142920-ggpeqth4s2wwqwd2
2012-09-13 16:29:20 +02:00
Olivier Dony
09ba29883c
[FIX] ir.translation: typo in last sync with trunk
...
bzr revid: odo@openerp.com-20120911135254-uqi1s4n8qh0e3d1y
2012-09-11 15:52:54 +02:00
Olivier Dony
9a577ef431
[MERGE] Sync with trunk
...
bzr revid: odo@openerp.com-20120911114104-vk8afbjq9ao1dqr2
2012-09-11 13:41:04 +02:00
Fabien Meghazi
6e5a9053e5
[FIX] Fixed remarks of merge proposal
...
bzr revid: fme@openerp.com-20120904133216-7v82tmcqi1n21c3f
2012-09-04 15:32:16 +02:00
Fabien Meghazi
06e6bf71cc
[IMP] Always update src to the last value
...
bzr revid: fme@openerp.com-20120903155408-9agsj0y8y6g7ydsj
2012-09-03 17:54:08 +02:00
Fabien Meghazi
8295b4f181
[IMP] ir.tranlsation#translate: create ir.translation entries for a particular record
...
bzr revid: fme@openerp.com-20120903124818-myjy2616uv3blyki
2012-09-03 14:48:18 +02:00
Fabien Meghazi
dc93500740
[MERGE] trunk
...
bzr revid: fme@openerp.com-20120903124618-vpe2erkcml7131gp
2012-09-03 14:46:18 +02:00
Fabien Meghazi
df557637d1
[ADD] ir.translation#translate()
...
bzr revid: fme@openerp.com-20120830161553-hmf4fbsnqd2dhq7z
2012-08-30 18:15:53 +02:00
Quentin (OpenERP)
46f287b2d1
[FIX] base, ir_translation: a write of '' as translated value should reset the translation in 'to_translate' state
...
bzr revid: qdp-launchpad@openerp.com-20120830145000-61uh1tpux5dyp7na
2012-08-30 16:50:00 +02:00
Jigar Amin - OpenERP
46604fccb5
[FIX] Impoved treanlstion state field conditions
...
bzr revid: jam@tinyerp.com-20120830115055-tf396grzw3f6olfz
2012-08-30 17:20:55 +05:30
Jigar Amin - OpenERP
9464f474a4
[FIX] State Condition
...
bzr revid: jam@tinyerp.com-20120828103859-jp22lgwzlucc55gl
2012-08-28 16:08:59 +05:30
Jigar Amin - OpenERP
a4dae41a49
[FIX] Removed the unused wrong code
...
bzr revid: jam@tinyerp.com-20120828101723-d6qdm3bqpx3gcqbe
2012-08-28 15:47:23 +05:30
Jigar Amin - OpenERP
d27721f480
[REN] Renamed the state field key value
...
bzr revid: jam@tinyerp.com-20120828101559-l2zbivjzlmu7baq2
2012-08-28 15:45:59 +05:30
Turkesh Patel (Open ERP)
402ba23000
[IMP] improved code to retun traslation in proper format from server
...
bzr revid: tpa@tinyerp.com-20120713065521-07a7qdfxfio673cq
2012-07-13 12:25:21 +05:30
Turkesh Patel (Open ERP)
bc76991e24
[IMP] improved code.
...
bzr revid: tpa@tinyerp.com-20120712132308-1qvurv572sxmsnqe
2012-07-12 18:53:08 +05:30
Turkesh Patel (Open ERP)
976944bce2
[IMP] improved code in module.py to load translation.
...
bzr revid: tpa@tinyerp.com-20120712095131-3tt25snidvafflhb
2012-07-12 15:21:31 +05:30
Turkesh Patel (Open ERP)
20646e9104
[IMP] move load function to the ir_translation.py
...
bzr revid: tpa@tinyerp.com-20120712093130-rcis1aamb7bbptdd
2012-07-12 15:01:30 +05:30
ajay javiya (OpenERP)
b592896f4b
[ADD]: Add state field for ir.translation
...
bzr revid: aja@tinyerp.com-20120712061740-4mo3l0d70wxthki2
2012-07-12 11:47:40 +05:30
Turkesh Patel (Open ERP)
4ea3ad65b2
[ADD] added module field in ir.translation and improved code for that.
...
bzr revid: tpa@tinyerp.com-20120712052111-5qq9noxd5vd9dlwv
2012-07-12 10:51:11 +05:30
Vo Minh Thu
f5db1d10ec
[IMP] openerp.addons.base: _logger with fully qualified module name.
...
bzr revid: vmt@openerp.com-20120124114730-24m0ftu1wbowg8a0
2012-01-24 12:47:30 +01:00
Raphael Collet
2661edacda
[MERGE] translations: import using lower-level sql (translations load about 6 times faster)
...
bzr revid: rco@openerp.com-20111223104824-fup1cjbjni1fsty1
2011-12-23 11:48:24 +01:00
Vo Minh Thu
842cb1ad41
[MERGE] merged trunk.
...
bzr revid: vmt@openerp.com-20111201153214-0iintvpp7crnr2jc
2011-12-01 16:32:14 +01:00
Olivier Dony
52eb2fae1c
[FIX] ir.translation: keywargs not supported when clearing caches
...
bzr revid: odo@openerp.com-20111129093800-4bsldbpjh1q4zix1
2011-11-29 10:38:00 +01:00
Numerigraphe - Lionel Sausin
9ed5cbb24c
[FIX] unmutable defaults in base addons.
...
bzr revid: ls@numerigraphe.fr-20111107151949-n9prrufvqe3ohz18
2011-11-07 16:19:49 +01:00
Olivier Dony
01e9e63423
[FIX] ir.translation: one more fix for ormcache_multi.clear_cache()
...
(Reported by Thibaut Dirlik)
bzr revid: odo@openerp.com-20110913174310-w79dgmybs59fb9xm
2011-09-13 19:43:10 +02:00
Olivier Dony
f59aaf7ca0
[FIX] ir.translation: second part of previous revision for fixing calls to ormcache_multi.clear_cache()
...
bzr revid: odo@openerp.com-20110909104046-ipysy6pi3iea38fu
2011-09-09 12:40:46 +02:00
Antony Lesuisse
78626b885c
[FIX] ir_translation _get_ids clear_cache is not multi
...
lp bug: https://launchpad.net/bugs/838864 fixed
bzr revid: al@openerp.com-20110909100709-kdqf4aibdr0flr4a
2011-09-09 12:07:09 +02:00
Olivier Dony
eab6a77a26
[IMP] ir.model.data: usability - rename `XML ID` -> `External ID`
...
bzr revid: odo@openerp.com-20110906075711-lev8g5tkfhc9j3c1
2011-09-06 09:57:11 +02:00
Antony Lesuisse
ef3935553c
[FIX] ir_translation cache invalidation
...
bzr revid: al@openerp.com-20110902155834-rmno5z7aavj71fk5
2011-09-02 17:58:34 +02:00
P. Christeas
f1558730f6
ir.translation, import: push the algo. to SQL, improve performance
...
At a language import (translation files), we want to push a big batch of
translation records into the database. These will need update-or-insert
logic (against existing ones) or even resolution of ir.model.data .
Doing this loop in Python had been slow (invoking 2x read()s, +1 for
ir.model.data, 1 insert or update), triggered the cache (fill and clean
at each iteration).
Instead, follow the old-school db recipe for mass records insertion:
- create a temporary table w/o indexes or constraints
- quickly populate the temp with all records of the batch
(through a dedicated "cursor" object)
- process the table, doing lookups in collective SQL queries (yes, SQL
is all about loops of data processing, efficiently)
- insert all records from temp into ir.model.data
- call (implicitly) all constraints of ir.model.data at the end of that
single query.
This improves performance of translation imports by ~3x at least.
bzr revid: xrg@linux.gr-20110608162059-rfy1vvwp8w66ry0i
2011-06-08 19:20:59 +03:00
Antony Lesuisse
759c3bb6d6
[MERGE] trunk
...
bzr revid: al@openerp.com-20110608153139-zsf80dcs108dqzcy
2011-06-08 17:31:39 +02:00