Commit Graph
3193 Commits
Author SHA1 Message Date
Albert Cervera i Areny 6f366bb5d1 Update Catalan translation. 2013-10-18 16:42:53 +02:00
Oscar Alvarez 5c855aad2f Translation es_CO updated. 2013-10-17 20:12:11 -05:00
Cédric Krier 37cf65c71f Timezone must be set when running tests
review1139002
2013-10-15 17:48:25 +02:00
Nicolas Évrard e64ab9777f Fix usage of return in validation method
review1126002
2013-10-15 15:06:59 +02:00
Nicolas Évrard 7812c51630 Raise error instead of returning False during validation
review1125002
issue3412
2013-10-15 14:59:03 +02:00
Venceslav Vezjak 1b7611893b Update translation for sl_SI 2013-10-15 08:44:17 +02:00
Cédric Krier be197317c8 Ensure same time zone between trytond and postgresql
issue3423
review1135002
2013-10-14 21:05:36 +02:00
Cédric Krier 8ef428da2e Align help label in model field form 2013-10-12 23:39:46 +02:00
Cédric Krier 84d0a09711 Fix PYSON Composite test for new default value 2013-10-10 09:39:06 +02:00
Cédric Krier b9296eb070 Fix usage of context company
Default value of company should be -1 to get the right cast and an impossible
value.
Replace False by None as other value in "in" clause.

issue3394
review1119002
2013-10-09 18:24:39 +02:00
Cédric Krier 68f2b4f78d Use None instead of False in default property domain
issue3416
2013-10-08 20:35:04 +02:00
Cédric Krier 51abc3fb62 field_childs in generated view must be None instead of False
issue3403
2013-10-08 20:26:29 +02:00
Sergi Almacellas Abellana cd9e0a4566 translations use cls instead of class name
review1124002
issue3415
2013-10-08 15:34:21 +02:00
Cédric Krier 478fad1001 Don't create translation for field with a "set" method
review1120002
2013-10-06 11:59:31 +02:00
Cédric Krier 20bb98ec44 Fix wrong name collision fix introduced in changeset 1dd74c6f22e7 2013-10-06 10:23:06 +02:00
Cédric Krier 5ad27258fd Fix flake8 2013-10-05 18:18:42 +02:00
Cédric Krier 838d50b736 Add test for reading ModelSingleton rec_name via default values
review1114003
2013-10-05 18:05:45 +02:00
Cédric Krier ce946dcde0 Fix ModelSingleton when reading rec_name via default values
review1114003
2013-10-05 18:04:44 +02:00
Cédric Krier abf1f94854 Fix domain concatenation between list and tuple
issue3395
2013-10-05 16:16:02 +02:00
Cédric Krier 4c2cadcb5c Re-sync clean exception of generic error message 2013-10-05 14:10:59 +02:00
Cédric Krier 9da528ed1d Fix Translation.search_model to return a domain instead of sql Expression
issue3390
review1113002
2013-10-03 21:16:22 +02:00
Cédric Krier 44551a9dae Add missing default value for res_id
issue3392
review1108002
2013-10-01 19:17:04 +02:00
Cédric Krier e9401fc8d3 Reference field should contain model in EvalEnvironment
review1101002
2013-09-30 18:18:24 +02:00
Venceslav Vezjak caf599336b Added Slovenian translations
New language added (sl_SI). Slovenian translations provided for
for internal modules (ir, res, webdav).

issue3367
review1068002
2013-09-26 06:59:08 +02:00
Cédric Krier 263f8e57aa Fix set password by refactoring
review1079003
2013-09-25 19:21:50 +02:00
Albert Cervera i Areny a7558e4e14 Check if order_* is overriden in Many2One fields
review1091002
2013-09-25 10:53:16 +02:00
Cédric Krier e403e8bc95 Remove old test in write to update MPTT for only one record at a time 2013-09-23 00:10:33 +02:00
Cédric Krier 6f179949ed Commit cursor in timestamp unittest
cursor must be committed between each changes otherwise NOW() returns always
the same timestamp.
2013-09-23 00:00:51 +02:00
Cédric Krier b03788e6db Fix duplicate translations
- Fix unique constraint by using -1 instead of NULL for res_id
- Clean duplicate entries in po file

The unique constraint was not working when res_id was NULL because SQL consider
all of them as different.

The migration could fail if there is duplicate translation in the database. So
this query must be run until no more records are deleted:

DELETE FROM ir_translation WHERE id IN (SELECT MAX(id) FROM ir_translation GROUP BY name, res_id, lang, type, src_md5, module HAVING COUNT(1) > 1);

issue3355
review1087004
2013-09-22 14:33:39 +02:00
Cédric Krier 1a8c5aae1c Fix check timestamp and add unittest
review1087003
2013-09-22 14:28:46 +02:00
Albert Cervera i Areny e7f10a2747 Fix test for None error_args.
issue3338
review1029002
2013-09-21 00:34:15 +02:00
Cédric Krier ff43a1fd6b Better default language for the export translation wizard
Use the domain of the field to search for the current language.
2013-09-20 18:33:35 +02:00
Cédric Krier fa017d140f Fix typo in alias 2013-09-20 18:08:31 +02:00
Cédric Krier bac6abd84b Set alias to Translation update query
Do not rely on the database to get the name of the column when fetching result
as dict.

issue3373
review1071002
2013-09-20 00:39:45 +02:00
Cédric Krier 41d2aa44ea Ignore "noupdate" attribute when installing a new module
issue2854
review631004
2013-09-20 00:36:00 +02:00
Cédric Krier eccf788e74 Allow to start Transaction with no database name
review1075002
2013-09-20 00:33:18 +02:00
Cédric Krier 81d47ffacb Run trigger when root has user context
review1073002
2013-09-20 00:32:04 +02:00
Cédric Krier 9e20959e50 Use array optimisation of python-sql 0.2
review1057003
2013-09-18 23:11:09 +02:00
Cédric Krier 5afcfb3b49 Activate foreign_keys in SQLite if available
review1064002
2013-09-18 13:40:51 +02:00
Cédric Krier 02c69b629f Use Transaction in TrytonServer to set correct Flavor
issue3372
review1070002
2013-09-18 13:39:14 +02:00
Cédric Krier f020d71234 Optimize cache management when importing po file
issue3356
review1061003
2013-09-18 00:13:47 +02:00
Cédric Krier a3fc52eacc Fix wrong update query syntax 2013-09-18 00:10:12 +02:00
Cédric Krier ed5c127a14 Fix use None instead of False in translation domain 2013-09-17 17:47:10 +02:00
Cédric Krier ba42bc2f89 Fix typo in Translation 2013-09-17 17:38:45 +02:00
Nicolas Évrard c52889a1d2 Do not take into account active field when doing domain validation
review908002
2013-09-17 17:14:14 +02:00
Cédric Krier 9ed421dc28 Add svg mimetype to SimpleJSONRPCRequestHandler
review1062002
2013-09-17 10:18:24 +02:00
Cédric Krier 405ddb973e Fix wrong field name in translation form
introduced by changeset 62615d5dba33
2013-09-17 10:16:17 +02:00
Cédric Krier 53ab3be6b9 Fix use None instead of False in translation domain
issue3370
2013-09-16 21:42:37 +02:00
Nicolas Évrard 3215eab818 Cache.set returns the value in order to prevent using temporary variable
review543002
2013-09-16 12:29:41 +02:00
Nicolas Évrard 349a146d66 Allow customization of translation in po files
review968002
2013-09-16 12:26:10 +02:00