Cédric Krier
67d5291bfd
Use Field.sql_column for SELECT queries in ModelSQL
...
By using sql_column, it increases the possibilities of customisation of fields.
issue4369
review14711002
2014-12-20 19:24:42 +01:00
Cédric Krier
59afe32b76
Add documentation about default_ method on Wizard
...
review9941002
2014-12-20 16:14:04 +01:00
Nicolas Évrard
6b0eac601a
Use data's action_id to find report to use
...
issue4411
review10741002
2014-12-18 11:36:40 +01:00
Cédric Krier
286860f6b1
Fix documentation of ModelView.fields_view_get
...
review8811002
2014-12-16 22:19:01 +01:00
Cédric Krier
9f3b1271d3
Add wizard and state_name to StateView.get_view
...
This gives the same signature as for get_buttons and get_defaults. And so it
allows to customize the returned view base on the wizard state.
issue4406
review5861002
2014-12-16 22:17:34 +01:00
Cédric Krier
38b59e0329
Remove Pool.object_name_list
...
This method is inefficient for testing existence of an item, it is better to
ask for forgiveness.
review12761002
2014-12-16 22:02:44 +01:00
Javier Villarroya
bef0afaed6
Use getboolean for database list configuration
...
Otherwise the false value is still evaluated to true.
issue4404
review14781002
2014-12-16 21:34:29 +01:00
Cédric Krier
b1fe2ea538
Don't set default value for user language
...
issue4400
review12791002
2014-12-11 22:21:38 +01:00
Sergi Almacellas Abellana
c0749b42f0
Add test for One2One called with multiple records
...
issue4353
review12711002
2014-12-05 18:32:38 +01:00
Sergi Almacellas Abellana
dc3ee92a88
Fix One2One to create all the relations when called with multiple records
...
issue4353
review12711002
2014-12-05 18:32:00 +01:00
Cédric Krier
a5150b8599
Allow to sort and sort attachment on last modification
...
issue4366
review11661003
2014-12-04 23:46:37 +01:00
Cédric Krier
5eddc51422
Only test non-DST timezone
...
SunOS doesn't set DST timezone for UTC, so only non-DST should be tested.
issue4380
review12771002
2014-12-04 23:37:05 +01:00
Cédric Krier
e8b10770e0
Fix documentation for new API of on_change
...
issue4203
review6741002
2014-12-04 17:17:01 +01:00
Cédric Krier
c144f8c349
Fix most flake8 errors
...
review8771002
2014-12-02 12:54:01 +01:00
Cédric Krier
ce7da45c56
Fix typo in UTC timezone log
2014-11-30 22:11:33 +01:00
Robin Baumgartner
eb2eab9525
Improve readability of logged email messages
...
issue3542
review8751002
2014-11-28 10:59:31 +01:00
Cédric Krier
c11b1f44ef
Use 'set' attribute to decide column creation in ModelSQL
...
Since changeset 64681f657d55, Function fields have a sql_type so it is wrong to
rely on this property to create or not a column. The 'set' method of field is
already used in many places for this purpose.
issue4302
review7731002
2014-11-29 10:45:12 +01:00
Cédric Krier
b379e32745
Add translated descriptor for Dict field
...
issue4343
review11641002
2014-11-27 22:20:43 +01:00
Cédric Krier
ea112cb6be
Function fields should return proper sql_type
...
issue4302
review12701002
2014-11-27 22:16:34 +01:00
Udo Spallek
389b56a7b6
Test 'field' object for attribute 'field'
...
issue4358
review12731002
2014-11-24 16:36:58 +00:00
Cédric Krier
420291683c
merge
2014-11-26 10:33:13 +01:00
Robin Baumgartner
8b3557921e
Use Null constant from python-sql for comparisons
...
issue4143
review13701003
2014-11-24 13:57:12 +01:00
Guillem Barba
42d5410fab
Add Id into pyson.CONTEXT
...
issue4352
review14701002
2014-11-21 14:31:13 +01:00
Cédric Krier
8553dfe9b0
_change_values miss some one2many changes
...
If only records of one2many change but the tuple is still the same than
_changed_values miss it.
issue4345
review7721002
2014-11-21 10:08:35 +01:00
Cédric Krier
9108f66d81
Ensure xxx2Many field are always tuple to be immutable
...
issue4327
review8701002
2014-11-19 21:37:22 +01:00
Cédric Krier
360f39f89d
Make cache size configurable
...
* Clean private context keyword in RPC
* Add cache section in configuration
issue4320
review10641002
2014-11-19 21:35:51 +01:00
Cédric Krier
66dee3e1d0
merge
2014-11-19 21:13:46 +01:00
Mathias Behrle
36b06551f8
Improving configuration.rst.
...
review8711002
issue4349
2014-11-19 12:17:04 +01:00
Robin Baumgartner
e70973cac8
Remove workflow migration
...
issue4281
review13701002
2014-11-18 16:36:49 +01:00
Sergi Almacellas Abellana
53e943f5cb
One2One field should return None when field has no value
...
review12691002
issue4335
2014-11-17 12:57:54 +01:00
Cédric Krier
93deeeced8
Allow to use easily unicode_literals
...
Transparently encode __name__ to utf-8 to allow usage of unicode_literals
Fix PYSON to support unicode
issue4294
review11601002
2014-11-10 23:30:49 +01:00
Cédric Krier
20fed6f5a2
Allow to define StateView without view id
...
issue4291
review8661003
2014-11-10 23:28:58 +01:00
Cédric Krier
8c98acae2f
Add missing dependencies in install doc
2014-11-02 23:23:45 +01:00
Cédric Krier
b919ed5569
ModelStorage.save doesn't return records
...
introduced in changeset 4b5436e9d2c7
2014-11-02 16:07:26 +01:00
Cédric Krier
b13abebc81
Use dualmethod on ModelStorage.save
...
issue4197
review8671002
2014-11-01 11:52:55 +01:00
Cédric Krier
ab3a4692ee
Don't compare record values
...
changeset 8e8f1a801098 introduced a equality comparison of records without id
using the values. This prevents to store in a dictonary different instances
having by chance the same values. So it seems better to consider only as equal
the same instances without id.
issue4306
review10621002
2014-10-31 10:54:30 +01:00
Cédric Krier
fee97ca399
New API for on_change
...
Modify the instance instead of returning a dictionary.
issue4203
review8581002
2014-10-29 20:38:17 +01:00
Cédric Krier
4cf1624a91
Make decistmt a tool
...
issue4273
review9801002
2014-10-27 23:12:45 +01:00
Cédric Krier
4d5f4c6c3d
Add restore_history_before on ModelSQL
...
issue4259
review6601003
2014-10-27 23:10:52 +01:00
Pierre-Louis Bonicoli
07b26f5584
Stop trytond if an exception occurs while connecting to a database
...
issue4066
review14391002
2014-10-26 01:38:43 +02:00
Cédric Krier
bd54c8c5ff
Remove img_{width,height} form attributes
...
issue4266
review10571002
2014-10-23 20:56:57 +02:00
Cédric Krier
c75ccfaad1
Missing closing quote in collection_attachment_name error message
...
issue4245
2014-10-23 20:23:59 +02:00
Cédric Krier
611f969823
Increase version number
2014-10-20 14:30:06 +02:00
Cédric Krier
2f17a5b775
Added tag 3.4.0 for changeset f0a9fa755cde
2014-10-20 14:27:56 +02:00
Cédric Krier
88366406ac
Prepare release 3.4.0
2014-10-20 14:27:55 +02:00
Cédric Krier
89e1e8b3db
Clean translations
2014-10-19 13:53:06 +02:00
Cédric Krier
e82df70a75
Restore historically deleted record as deleted
...
issue4260
review14591002
2014-10-18 09:17:09 +02:00
Jordi Esteve
a7f08d8606
Update es_ES translation
2014-10-17 19:22:21 +02:00
Albert Cervera i Areny
21ab58226d
Update Catalan translation.
2014-10-17 18:18:55 +02:00
Bruno M. Villasanti
9b196347d1
Update translation for es_AR
2014-10-16 23:22:52 -03:00