Cédric Krier
de081a63e8
Fix typo when retrieving PGUSER from environ
...
introduced in changeset 277c10477f84
2015-01-17 17:19:44 +01:00
Mariano Benedettini
53194e3784
Fix database dump when port is specified in db uri
...
Since changeset 01399128964f, the uri port is an integer and so it must be
convert to string for command line.
issue4490
review6861002
2015-01-16 13:52:25 +01:00
Guillem Barba
21ed4772e5
Recover uninstall modules feature
...
Manage case when state is 'to remove'.
issue322
review7881002
2015-01-16 10:21:52 +01:00
Cédric Krier
4891d337c9
Use PGUSER for postgresql database list
...
psycopg2 uses the PGUSER environment variable if no user name defined.
issue4478
review11801002
2015-01-15 23:49:13 +01:00
Marius Grigaitis
34b1af7a9d
Add test on history when number of records exceeds cursor.IN_MAX
...
issue4463
review10031002
2015-01-15 23:45:32 +01:00
Marius Grigaitis
8ed1715488
Handle history when number of records exceeds cursor.IN_MAX
...
issue4463
review10031002
2015-01-15 23:45:02 +01:00
Cédric Krier
bc6b76c745
Add _datetime as key of Rule.domain_get cache
...
The result could contain the _datetime value and so the cache should depend on
this value.
issue4455
review8841002
2015-01-12 22:50:09 +01:00
Cédric Krier
91cb6d2058
Add documentation about storage and display of DateTime
2015-01-06 16:33:54 +01:00
Nicolas Évrard
5a74a88f97
Add test for access rights of menu and actions
...
issue4295
review12661002
2015-01-05 16:35:09 +01:00
Cédric Krier
324d75ec8c
Use NOWAIT when locking a table
...
lock is used to enforce a serializable level for all transaction using on the
same table. This is not achieved if transactions are waiting for the lock
instead of abort and retry with a new transaction because they will still have
the initial transaction row values with the repeatable read level.
issue4373
review5901002
2015-01-03 11:37:24 +01:00
Nicolas Évrard
dcf57d8c33
Allow to use the dotted notation for search order parameters
...
issue4370
review5801002
2015-01-02 16:33:00 +01:00
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