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
2e7c28d348
Add with_on_change switch to default_get
...
default_get should not call on_change when called in create because it could
modify values set by the caller.
issue3602
review2781002
2014-01-26 21:57:15 +01:00
Cédric Krier
905343c900
Add fields.depends decorator
...
issue3487
review2301002
2014-01-26 14:27:24 +01:00
Cédric Krier
e60274bd27
Fix MySQL tests
...
- Force UTC timezone on MySQL connection
- Add 1s sleep to test check timestamp
review2801002
2014-01-21 21:12:55 +01:00
Cédric Krier
a6ffa18908
Add run-tests script and cleanup tests
...
issue2121
issue2420
review2491002
2014-01-12 19:58:22 +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
Cédric Krier
390f196559
Validate only modified and dependant fields on model write
...
issue3445
review1371002
2013-12-23 20:47:25 +01:00
Cédric Krier
a371793507
Fix _rebuild_tree to take in account inactive records
...
issue3509
review2401002
2013-12-23 20:22:52 +01:00
Cédric Krier
d8240dcb25
Fix default_state of test workflow
...
staticmethod doesn't take cls as parameter
2013-12-23 00:34:25 +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
ad12f36ecd
Keep Transaction singleton in clean state and store close parameter
...
If an exception happens in the start (database connection fails), the singleton
should not have stored anything.
2013-12-20 16:15:44 +01:00
Cédric Krier
472b7e5d57
Rationalize relation actions
...
* Remove relation field actions:
- delete_all
- unlink_all
- set
* Rename relation field action unlink into remove
issue3457
review2271002
2013-12-20 12:32:07 +01:00
Albert Cervera i Areny
ce781a5d0e
Use EXCLUSIVE MODE when locking PostgreSQL tables.
...
Previous implementation used ACCESS EXCLUSIVE MODE (PostgreSQL's default) which
does not allow SELECTs on the locked table. This is too pessimistic so it's been
replaced by a plain EXCLUSIVE MODE which still blocks INSERTs and UPDATEs
but not SELECTs.
review1011002
issue2280
2013-12-19 20:58:13 +01:00
Cédric Krier
f52fe8e45f
Use a sequence of records, values in write
...
issue3499
review1641003
2013-12-19 14:44:01 +01:00
Cédric Krier
c46a026c40
Refactore Transaction to add close and autocommit
...
review2151002
2013-12-18 18:09:43 +01:00
Cédric Krier
d6f22e01c3
Nested same set_user should keep the original context user
...
- set_context of Transaction.set_user is restricted to root
issue3523
review1961002
2013-12-12 13:53:01 +01:00
Nicolas Évrard
e8bdcd5550
Set the context's user when fetching user preferences
...
The call to _get_preferences makes some processing based on the user of the
context.
In order for those computations to return the right value the context must be
set when instanciating the user.
issue3068
review1711002
2013-12-10 12:01:30 +01:00
Nicolas Évrard
90324479f2
Backed out changeset a0dfdb90681e
2013-12-10 11:52:37 +01:00
Nicolas Évrard
55c58abdf5
Set the context's user when fetching user preferences
...
review1711002
2013-12-10 11:34:04 +01:00
Cédric Krier
17bbcef17d
Remove unused regexp
...
review2081002
2013-12-06 11:45:07 +01:00
Cédric Krier
0088d66f43
Database.list must set manually the flavor
...
issue3508
review2121002
2013-12-06 11:28:48 +01:00
Cédric Krier
1bbd169909
Backed out changeset 22ff9f4b16ff
2013-12-05 15:57:52 +01:00
Cédric Krier
c3d41a4e39
Database.list must be run under a Transaction to set flavor
...
issue3508
review1931002
2013-11-28 23:10:41 +01:00
Cédric Krier
46fd6a18bb
Fix RPC.convert usage to return a copy of args and kwargs
...
issue3521
review1921002
2013-11-28 23:07:46 +01:00
Cédric Krier
968cae28a6
merge
2013-11-27 11:12:08 +01:00
resteve
ce560ed557
Set missing charset to MIME message on cron error
...
issue3522
review1951002
2013-11-27 09:04:34 +01:00
Jean CAVALLO
90cf6b031d
Properly calculate the module states when upgrading
...
issue3518
review1871002
2013-11-26 11:25:36 +01:00
Cédric Krier
c2fa4958f5
Remove type test on limit and offset
...
Those types are enforced in python-sql
review1701002
2013-11-25 12:16:20 +01:00
Laurent Defert
d143acdd0a
Add a 'copy' action to One2Many and Many2Many's set method
...
issue3341
review1271002
2013-11-19 11:04:33 +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
bc1215af41
Fix history search to remove only past deleted records
...
review1481002
2013-11-05 17:20:08 +01:00
Albert Cervera i Areny
34b420304e
Add missing cache invalidations in res.group and res.user.
...
issue3447
review1381002
2013-10-28 21:38:14 +01:00
Cédric Krier
6bd350ff02
Fallback to data model in Report
...
review1221002
2013-10-27 19:44:22 +01:00
Cédric Krier
3f5dba2235
Add relation_field for many2one
...
issue3173
review1201002
2013-10-27 19:31:36 +01:00
Cédric Krier
75e02ba2de
User.get_preferences must return a copy
...
preferences is stored in the cache but as it is a mutable object, we must
return a copy to prevent cache corruption.
issue3442
review1351002
2013-10-27 19:27:19 +01:00
Cédric Krier
ab6d672863
Increase version number
2013-10-21 17:28:08 +02:00
Cédric Krier
ba1cdb0d7d
Prepare release 3.0.0
2013-10-21 16:06:00 +02: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
Cédric Krier
37cf65c71f
Timezone must be set when running tests
...
review1139002
2013-10-15 17:48:25 +02:00
Nicolas Évrard
e64ab9777f
Fix usage of return in validation method
...
review1126002
2013-10-15 15:06:59 +02:00