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
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