Commit Graph
3162 Commits
Author SHA1 Message Date
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
Cédric Krier ab74123eb2 Merge test/ into tests/
review1060002
2013-09-16 11:38:11 +02:00
Cédric Krier cbe59c6bb3 Remove print statement in Cursor.execute 2013-09-11 16:12:25 +02:00
Cédric Krier fc6c6cfdda Migration to python-sql
* Use python-sql
* Add convert_domain method on Fields
* Add sql_format and sql_type methods on Fields
* Allow to return a full domain for Function.searcher
* Replace static backend by dynamic get method
* Replace order_field by order_<field name> method

review1001002
2013-09-06 22:32:37 +02:00
Cédric Krier 10804d97cf Clear taghandler at closing of the tag
issue3348
review1047003
2013-09-05 11:58:51 +02:00
Vishesh Yadav 29a2f28d8f Check if session exist when logging out.
issue3344
review1040002
2013-09-05 01:59:22 +05:30
Udo Spallek d798452aae Allow field One2One in check_recursion.
issue3347
review1048002
2013-09-04 12:35:02 +00:00
Cédric Krier 7c9f5ffa89 merge 2013-09-03 11:22:15 +02:00
Cédric Krier 0210370575 Improve MPTT
- Remove the order on MPTT
- Make room with queries using left/right instead of ids
- Call _update_tree multiple times for small list instead of rebuild the all
  tree
- Improve test for with many roots
- Factorize the test to update MPTT

issue1892
review1007002
2013-09-03 10:26:23 +02:00
Cédric Krier a7e7b3b91e Change Translation.set_ids to use a list of values
review1005002
2013-09-02 17:38:11 +02:00
Cédric Krier f55fbdaa33 Add cache to Translation.get_language
review1005002
2013-09-02 17:37:21 +02:00
Cédric Krier e136a7c266 Add new XML attribute "grouped" on data tag
review1005002
2013-09-02 17:34:46 +02:00
Cédric Krier 59cee94c69 Skip model and field access for root
review1049002
2013-09-02 11:31:56 +02:00
Vincent van der Leun 90e019e01b Read config file path from TRYTOND_CONFIG env variable if no config file is specified.
issue3323
review1004002
2013-08-30 15:26:17 +02:00
Albert Cervera i Areny ff16377e0a Fix crash in login with incorrect password by renaming delete to remove
issue3346
review1044002
2013-08-30 07:46:45 +02:00
Cédric Krier 1f04ffffeb Fix missing rename of parameter from changeset 9e44b35013cd 2013-08-22 08:06:39 +02:00
Cédric Krier c194f230eb Fix documentation about session in Wizard 2013-08-21 22:28:48 +02:00
Cédric Krier 58c81ee328 Add rich comparison methods on Model
review1027002
2013-08-21 18:02:30 +02:00
Laurent Defert 33ba5ee26c Documentation update about Binary's filenames attributes
issue3321
review998002
2013-08-19 11:06:20 +02:00
Nicolas Évrard 27ccf989a5 Add tests on fields.Binary
review1017002
2013-08-16 11:08:44 +02:00
Nicolas Évrard c1e77c77eb Fix binary size handling migration to Active Record
review1017002
2013-08-16 11:07:44 +02:00
Cédric Krier fcd983a776 Fix MySQL drop index query
"ON" is required for MySQL
2013-08-14 11:31:39 +02:00
Nicolas Évrard a293325aa6 Fix naming of fields.Selection's test 2013-08-09 18:40:02 +02:00
Cédric Krier adcf28d085 Store selection tree state
review822002
2013-08-01 17:09:10 +02:00
Cédric Krier 52a8141bda Remove validation of unused XML attributes
Those XML attributes are no more allowed in XML.
The domain is not only allowed in dashboard and it is not a field domain.

issue3310
review986002
2013-08-01 16:09:41 +02:00
Cédric Krier 54fc76c0b5 Update fields_default_value doc to Active Record 2013-07-31 22:28:36 +02:00
Cédric Krier 5e750d52a8 Fix missing microseconds initialisation
review1000002
2013-07-29 10:32:45 +02:00
Cédric Krier 86917a6a4a Add order to Action Window
review950002
2013-07-22 14:49:18 +02:00
Cédric Krier fc88a03955 Fix recursion_error message when parent is many2many
issue3290
review977002
2013-07-22 14:32:20 +02:00
Albert Cervera i Areny b6f7d34397 Remove unnecessary stdout.flush().
There's no apparent need for the flush() call and it makes trytond crash when
stdout has been redirected.

issue3286
review974002
2013-07-12 16:49:51 +02:00
Cédric Krier 256d2f9269 Guess date formating in format_lang by value type
review956003
2013-07-04 19:34:02 +02:00
Cédric Krier 85fbe14011 Fix Reference search on Function field
review945002
2013-07-04 19:30:28 +02:00