Commit Graph
1175 Commits
Author SHA1 Message Date
Cédric Krier 9d1a3be65c Fix translation creation
changeset 1a94e9f76bca broke the translation creation because it misses lang
and module value.

review3861002
2014-02-26 09:34:54 +01:00
Cédric Krier f077411117 Fix typo in Menu.get_rec_name introduced in changeset 127981430238 2014-02-25 23:56:34 +01:00
Cédric Krier 2190ca9f45 Better cache usage in Menu.get_rec_name
By re-using the field function, it takes better advantage of the global cache.

issue3709
review3781002
2014-02-25 19:11:02 +01:00
Sergi Almacellas Abellana 38d225f7c6 Refactor translation import and update to improve custom types support.
review2431002
issue3566
2014-02-25 10:58:21 +01:00
Cédric Krier 275e612288 Wrong usage of "or" instead of "|" in PYSON of Trigger.on_time 2014-02-19 17:53:35 +01:00
Cédric Krier 19f3ab64cb Fix error message "foreign_model_exist"
The value argument has no meaning for this error message and the way it is
retreived in changeset dbbbe6cae2bb is buggy.

review3381002
2014-02-14 00:22:45 +01:00
Cédric Krier 1e9673ea47 Improve module buttons
- Enforce origin state of modules
- Speedup on_write computation
- Better usage of record cache

review3361002
2014-02-14 00:18:27 +01:00
Cédric Krier 487381d700 Search also on source for some translation types when overriding
issue3637
review3221004
2014-02-09 23:53:10 +01:00
Cédric Krier 9ac1778066 merge 2014-02-06 22:31:29 +01:00
Cédric Krier 29358683cd Add tree_invisible attribute to button in tree view
review3041003
2014-02-06 22:25:43 +01:00
Nicolas Évrard eac48b2a50 Access sql related errors only if Model is a subclass of ModelSQL
review3111002
issue3628
2014-02-03 17:51:25 +01:00
Cédric Krier 4b7328a75d Add Content Name to ActionReport
This will ease the edition of the report template from the client.

issue3608
review2851002
2014-01-31 22:19:55 +01:00
Cédric Krier bc6acd08ee Drop support of Python 2.6
review2691002
2014-01-31 00:02:03 +01:00
Cédric Krier 4e535164c2 Resync widget attributes and add missing filename attribute in views
review2911002
2014-01-26 22:10:57 +01:00
Cédric Krier 905343c900 Add fields.depends decorator
issue3487
review2301002
2014-01-26 14:27:24 +01:00
Cédric Krier cf28a3709e Add ending form to config wizard
This ending form will prevent the client to reload the context and the menu
before the end of the last item.

issue3569
review2481002
2014-01-04 19:32:23 +01:00
Sergi Almacellas Abellana e54317cfca Improve error messages by showing the failing value
issue3489
review1671002
2013-12-22 10:24:05 +01:00
Cédric Krier f52fe8e45f Use a sequence of records, values in write
issue3499
review1641003
2013-12-19 14:44:01 +01:00
resteve ce560ed557 Set missing charset to MIME message on cron error
issue3522
review1951002
2013-11-27 09:04:34 +01:00
Cédric Krier 2b2001f1ca Force UTC as timezone
issue3444
review1411002
2013-11-15 02:26:58 +01:00
resteve 490f2a3700 Dissable action keyword when active is false
issue3474
review1571002
2013-11-13 13:16:52 +01:00
Cédric Krier da6334c765 Clean translations 2013-10-20 20:49:37 +02:00
Cédric Krier 08daf89e45 Activate show button only for form view
issue3184
review1191002
2013-10-20 16:24:10 +02:00
Cédric Krier 21faa6b9db Don't export empty translation file 2013-10-20 00:15:17 +02:00
Bruno M. Villasanti 735982d768 Update translation for es_AR. 2013-10-18 18:21:46 -03:00
Jordi Esteve 8174d664c6 Update translation for es_ES 2013-10-18 22:48:54 +02:00
Cédric Krier b4d102a48d Update french translation 2013-10-18 21:37:49 +02:00
Mathias Behrle 9539ba0fba Updating translation for de_DE. 2013-10-18 21:28:28 +02:00
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
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 8ef428da2e Align help label in model field form 2013-10-12 23:39:46 +02:00
Cédric Krier 68f2b4f78d Use None instead of False in default property domain
issue3416
2013-10-08 20:35:04 +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 5ad27258fd Fix flake8 2013-10-05 18:18:42 +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
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 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 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 81d47ffacb Run trigger when root has user context
review1073002
2013-09-20 00:32:04 +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