Cédric Krier
8a95fa6d5b
No good reason to make get_translation_join private
...
review3241003
2014-02-06 22:59:42 +01:00
Cédric Krier
3acd4fa312
Add missing button in tree view documentation
...
review3201002
2014-02-06 22:58:31 +01:00
Cédric Krier
9ac1778066
merge
2014-02-06 22:31:29 +01:00
Cédric Krier
5a73f91a6d
Add depends attribute to data tag
...
This is the counterpart of the Pool register of extras_depend modules for the
XML record creation. It allow to create records if some other modules are
installed.
review3041002
2014-02-06 22:30:11 +01:00
Cédric Krier
29358683cd
Add tree_invisible attribute to button in tree view
...
review3041003
2014-02-06 22:25:43 +01:00
Nicolas Évrard
eac48b2a50
Access sql related errors only if Model is a subclass of ModelSQL
...
review3111002
issue3628
2014-02-03 17:51:25 +01:00
Nicolas Évrard
96d4de1709
_validate records in bunch of RECORD_CACHE_SIZE
...
This is required in order to prevent invalidating the LRU cache too often
review3061002
2014-02-03 16:30:18 +01:00
Cédric Krier
ab0e242bc2
Fix documentation about button name
...
review3011004
2014-01-31 22:29:01 +01:00
Cédric Krier
2ba9526d37
Prevent unecessary update of record when loading XML
...
review3061003
2014-01-31 22:26:55 +01:00
Cédric Krier
4b7328a75d
Add Content Name to ActionReport
...
This will ease the edition of the report template from the client.
issue3608
review2851002
2014-01-31 22:19:55 +01:00
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
1641f275e9
Added tag 3.0.0 for changeset 759c6ff44b90
2013-10-21 16:06:01 +02:00
Cédric Krier
ba1cdb0d7d
Prepare release 3.0.0
2013-10-21 16:06:00 +02:00