Commit Graph

37 Commits

Author SHA1 Message Date
Christophe Simonis 2e9b33b793 [MERGE] forward port of branch 7.0 up to 80c7209 2015-11-03 11:40:01 +01:00
Raphael Collet 845c10fef2 [FIX] res_lang: fix confusion between class variable and local variable 2015-10-26 17:27:01 +01:00
Raphael Collet d5f35bf37d [FIX] res_lang: prevent modification of language code 2015-10-26 12:09:26 +01:00
Christophe Simonis cdb48d39ba [MERGE] forward port of branch 7.0 up to 6c55a4b 2015-01-19 12:09:48 +01:00
Denis Ledoux 5959c41631 [IMP] res_lang: constraint for grouping field
As entering a wrong value in the grouping field of res.lang,
for instance '[,]', leads to an unavailability of the web interface,
We add a constraint to prevent entering wrong values.
2015-01-16 17:47:33 +01:00
Fabien Pinckaers dc35f14d32 [IMP] Removed 1 SQL query for each t-field monetary or float
bzr revid: fp@tinyerp.com-20131203211903-p5uo3shhon8i4umw
2013-12-03 22:19:03 +01:00
Xavier Morel 5b4775c840 [REF] simplification of res.lang format
bzr revid: xmo@openerp.com-20131021111457-k9rgt5ojnk9doqh9
2013-10-21 13:14:57 +02:00
Christophe Matthieu de9777bf56 [IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)
bzr revid: chm@openerp.com-20130607090251-2ym7dx73jdigq93w
2013-06-07 11:02:51 +02:00
ggh-openerp dd7614e716 [IMP] Remove space before Exclamation marks [!] in Warning
bzr revid: ggh@tinyerp.com-20130429072938-knas9ymmny5o2z0v
2013-04-29 12:59:38 +05:30
Vo Minh Thu 74e53085af [REF] res_lang: removed dead code (original_group function).
That function was kept because its `intersperse` reimplementation
behaves a bit differently but it was a long time ago and no bug
report appeared. So the new function is good enough.

bzr revid: vmt@openerp.com-20130212111244-aayco60ps923fn55
2013-02-12 12:12:44 +01:00
Antonin Bourguignon f1d660c853 [IMP] rename files, move code to the right place
bzr revid: abo@openerp.com-20130211170128-2r28k5ldou1qn1n5
2013-02-11 18:01:28 +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 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
Xavier Morel 5bd939f0ac [REM] useless intermediate lambdas in default values
bzr revid: xmo@openerp.com-20121102094705-6vcutz0bv4dc0jkl
2012-11-02 10:47:05 +01:00
Stephane Wirtel 3d2355df04 [MERGE] improve the tools.misc.scan_languages function
bzr revid: stw@openerp.com-20120912104713-jhvkxp9egpchs2ti
2012-09-12 12:47:13 +02:00
Raphael Collet 15b90a133b [FIX] res_users: remove global default for context_lang, and make current user determine default lang and tz of new users
bzr revid: rco@openerp.com-20120420073340-c48m9x46wh325dwz
2012-04-20 09:33:40 +02:00
Xavier Morel 2332c23c30 [IMP] replaces tools.misc.get_languages by the static dictionary it returns, rename that dict to ALL_LANGUAGES for clarity
bzr revid: xmo@openerp.com-20120223103045-a44cl5kdkrnehc66
2012-02-23 11:30:45 +01:00
Vo Minh Thu f0b63f8028 [IMP] openerp.addons.base: _logger with fully qualified module name.
bzr revid: vmt@openerp.com-20120124131705-pxbfdppbcwgpuajd
2012-01-24 14:17:05 +01:00
Olivier Dony d8256edcb7 [FIX] res.lang: incompatible behavior for thousands separator introduced in r.3415
r.3415 is revid vmt@openerp.com-20110516101941-ufa4ue8u5hlcfekm

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

bzr revid: odo@openerp.com-20111129141809-dppqa0yz0cflga3l
2011-11-29 15:18:09 +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 6fa6d8369c [MERGE] latest trunk
bzr revid: odo@openerp.com-20110913144600-ve4vb5po9vi3edw4
2011-09-13 16:46:00 +02:00
Antony Lesuisse d4dc332b2f [FIX] res_lang clear cache remove kwargs, typo
bzr revid: al@openerp.com-20110831182216-afohhdmshv60y3g3
2011-08-31 20:22:16 +02:00
Antony Lesuisse 519068f60a [FIX] res_lang clear cache remove kwargs
bzr revid: al@openerp.com-20110831142213-0kdmcgmt02tq4gse
2011-08-31 16:22:13 +02:00
Antony Lesuisse fd83621463 [MERGE] trunk
bzr revid: al@openerp.com-20110824160936-ej26wcvgvku3lkm7
2011-08-24 18:09:36 +02:00
Vo Minh Thu 9029d4da7b [FIX] res_lang: set the default lang for both partner and user, not just partner.
lp bug: https://launchpad.net/bugs/798637 fixed

bzr revid: vmt@openerp.com-20110623141003-ysj8dmm93714nipb
2011-06-23 16:10:03 +02:00
Antony Lesuisse 759c3bb6d6 [MERGE] trunk
bzr revid: al@openerp.com-20110608153139-zsf80dcs108dqzcy
2011-06-08 17:31:39 +02:00
Antony Lesuisse 970b19b8b4 [IMP] new tools.cache cleaner, 10% speedup and more to come...
bzr revid: al@openerp.com-20110608030330-d0dsv2k6n0w3lyd5
2011-06-08 05:03:30 +02:00
Vo Minh Thu ce5d00e03b [REF] res_lang: removed unused variable.
lp bug: https://launchpad.net/bugs/791756 fixed

bzr revid: vmt@openerp.com-20110603085758-ji277jy5mbn9wq3t
2011-06-03 10:57:58 +02:00
Vo Minh Thu 0c4e557129 [FIX] res_lang: when testing if there is some default value on res.partner, pass it as a list of strings, not as a string.
bzr revid: vmt@openerp.com-20110517120027-cj3nfku07hx521al
2011-05-17 14:00:27 +02:00
Vo Minh Thu a931e398bf [REF] consistent, grepable ir.values object naming.
bzr revid: vmt@openerp.com-20110516150534-2524fn6587jir72m
2011-05-16 17:05:34 +02:00
Vo Minh Thu 059083488e [IMP] res_lang: removed unneeded itertools import.
bzr revid: vmt@openerp.com-20110516101009-x1ih1y17ci4ihkne
2011-05-16 12:10:09 +02:00
Vo Minh Thu e248d008c0 [IMP] res_lang: using a regex instead of custom function,
based on rco comment.

bzr revid: vmt@openerp.com-20110516100712-ezg0ul9bo81uto1h
2011-05-16 12:07:12 +02:00
Vo Minh Thu 584fc24bb3 [FIX] forgot to actually replace the function call by the new one.
bzr revid: vmt@openerp.com-20110516090908-umx4o2ar2w2igiid
2011-05-16 11:09:08 +02:00
Vo Minh Thu 12144cfc2b [FIX]: dont use the leading non-digits when splitting in the format.
bzr revid: vmt@openerp.com-20110516090312-8r5b63e7ln045h0p
2011-05-16 11:03:12 +02:00
Vo Minh Thu 48b2466676 [FIX] res_lang: the string to format cannot be empty.
- not yet fixed, but a new implementation of the grouping code
  is provided without that problem.
- some testing need to be done.
- removed unnecessary arguments
- eval() used only once

bzr revid: vmt@openerp.com-20110513093121-qo7walg7dff0kufl
2011-05-13 11:31:21 +02:00
Vo Minh Thu f8572e5c60 [IMP] openerp python module.
- Some logging code moved from netsvc.py to loglevels.py
- Changed imports to use the new openerp module
- config and netsvc initialization calls move to openerp-server.py
- Moved openerp-server.py outside the old bin directory
- Some imports in tools moved inside the methods to break mutual-dependencies

bzr revid: vmt@openerp.com-20110207125723-ooee7d7ng5elmkso
2011-02-07 13:57:23 +01:00