Commit Graph
2756 Commits
Author SHA1 Message Date
Cédric Krier 1a5b2aacd7 Fix usage of None in "in" clause 2012-04-12 17:51:50 +02:00
Cédric Krier acbfff179c Manage NULL res_id in synchronization of translations
issue2534
2012-04-10 23:35:31 +02:00
Cédric Krier 4c7fb87f05 Don't update en_US translations as it is the base
issue2533
2012-04-10 23:04:44 +02:00
Cédric Krier 7a356c8197 Remove unused code 2012-04-09 17:48:28 +02:00
Cédric Krier 8eaeecc12b Fix import po file to convert res_id 0 into None
issue2531
2012-04-09 17:46:55 +02:00
Cédric Krier f90818931c Remove hack for MPTT default values, left/right must have a default to 0
review315001
2012-04-02 11:38:46 +02:00
Cédric Krier ee3be37a36 Fix pep8 and pyflakes 2012-04-01 23:08:15 +02:00
Cédric Krier 25839451d2 Prevent rule to fail when evaluating values
issue2519
review312003
2012-03-30 14:30:07 +02:00
Nicolas Évrard 184b4bcd91 resetting columns should also reset defaults
review290001
2012-03-29 12:19:43 +02:00
Cédric Krier d059ebb792 Don't allow rpc call on ModelStorage without ModelView
CVE-2012-0215
issue2476
review303001
2012-03-28 19:02:41 +02:00
Cédric Krier e7b1f97390 Replace wrong usage of False by None
issue2512
2012-03-27 10:41:40 +02:00
Cédric Krier 08e24d4acf Add missing RegisterHandlerMixin in SimpleXMLRPCRequestHandler 2012-03-27 10:35:24 +02:00
Cédric Krier 25e3621e9d Test if attachment has path before using it to construct the URL 2012-03-27 10:26:42 +02:00
Cédric Krier ffe678823f _TRYTON_RELOAD no more used 2012-03-25 19:16:06 +02:00
Cédric Krier 8c36f59b86 Add support for shared WebDAV
review207003
2012-03-25 19:12:02 +02:00
Cédric Krier c4e45d471c database_list must return only fully loaded pool
review305001
2012-03-25 15:46:56 +02:00
Cédric Krier be0e5c54a9 Simplify workflow engine
- Remove workflow module
- Add ir.model.button for access rights

review256001
2012-03-25 00:15:17 +01:00
Cédric Krier 2f0d152ff7 Add missing string conversion for values 2012-03-24 23:59:24 +01:00
Cédric Krier de970b2d9b Use assertEqual instead of assert_ 2012-03-24 09:44:42 +01:00
Cédric Krier e403cae912 Fix import_data to always have a boolean value for boolean fields 2012-03-24 09:36:46 +01:00
Cédric Krier dc7fe589b8 default_active must return a boolean 2012-03-24 09:19:05 +01:00
Sebastian Marro 73c54ca472 Improve column space in tree view
issue2488
review286001
2012-03-23 15:36:11 -03:00
Nicolas Évrard 584d516067 Integer, Numeric and Float allow None as value
NULL value is None and not False

issue2022
review237004
2012-03-23 17:52:36 +01:00
Cédric Krier 27f8cd68db Fix field access for inherited Models
Use root user to create/write inherited records and check access fields in the
base record.

issue2333
review289002
2012-03-20 19:01:14 +01:00
Cédric Krier 15aadf7ceb Allow to use Greater/Less PYSON with Decimal
review300001
2012-03-20 17:53:13 +01:00
Cédric Krier 423983c5de Speed up bootstrap of the server (and remove sql import)
review292001
2012-03-20 17:50:17 +01:00
Cédric Krier bf3cf905ab Clean TODO file 2012-03-18 21:28:03 +01:00
Albert Cervera i Areny fdad39babc Fix error in convert.py when removing records of a model that no longer exists.
Fix error in convert.py when an upgrade needs to remove records of a model
which no longer exists.

issue2496
review283003
2012-03-17 12:46:56 +01:00
Cédric Krier d633e53526 Move user cache reset from ir to res
When database is created, user could not yet be in the pool
2012-03-16 14:08:27 +01:00
Cédric Krier 90f33676c0 Factorize pool initialization 2012-03-16 12:11:05 +01:00
Cédric Krier b85b94e2e7 Improve login time
- Replace action by a list of actions
- Add pyson_menu to prevent client to read it
- Prevent admin user to run configuration wizard if nothing to do

review277001
2012-03-16 11:28:10 +01:00
Cédric Krier d6c0ad5e6c Remove xxx2many clean cache
Since xxx2many are no more stored in the cursor cache, it is no more needed to
clean it.

review285001
2012-03-16 10:54:48 +01:00
Cédric Krier 5379734306 Improve performance of preference view
review276001
2012-03-16 10:32:57 +01:00
Cédric Krier cd699fedd3 Remove states from test_depends
states doesn't need to be enforced and it can rely on the default values to
prevent loading lazy fields.

review284001
2012-03-12 22:31:15 +01:00
Cédric Krier 1b0a713dad New autoreload that restarts the server instead of reloading modules
issue2417
review283001
2012-03-12 22:27:59 +01:00
Cédric Krier 56eb3e283c Remove unused CONTEXT_CACHE_SIZE constant 2012-03-12 15:34:53 +01:00
Cédric Krier 62b8321101 Don't use LRUCache as context cache to allow to clean it
References to the cursor cache are kept on BrowseRecord, we must be sure that
this cache will be cleaned.

review272001
2012-03-12 15:33:43 +01:00
Giedrius Slavinskas 2755bba988 Fix xml.dom.minidom import 2012-03-05 14:14:28 +02:00
Cédric Krier 29a474f669 Fix when searching global error message
Global error message must not be search by Model name.
2012-03-06 12:29:28 +01:00
Cédric Krier f2c24e3042 It is not possible to compare Sha fields with hash 2012-03-06 10:24:57 +01:00
Cédric Krier 6e88e99aae Add grouped calls to on_change_with
review251001
2012-03-05 23:39:58 +01:00
Cédric Krier af6e212aa5 Add missing sql_format in "like" clauses
issue2478
review270002
2012-03-05 11:45:51 +01:00
Cédric Krier 88569738bd merge 2012-03-05 11:17:33 +01:00
Mathias Behrle ab54a71984 Change select=1|2 to select=True
issue2305
review269003
2012-03-05 10:54:32 +01:00
Cédric Krier cee3ccb065 Fix computation of progress percentage in configuration wizard
issue2477
2012-03-05 10:53:55 +01:00
Cédric Krier cb71189b15 Sort actions by name in get_keyword
review268001
2012-03-05 10:33:58 +01:00
Cédric Krier 836d3c2b0b Allow to configure protocol to False
review267001
2012-03-05 10:23:34 +01:00
Cédric Krier b28f80fd36 Use relativedelta to make all the datetime computation
issue2469
review266001
2012-03-05 10:14:14 +01:00
Nicolas Évrard 61521a0f7b Do not search for deleted history records
review250003
2012-03-04 16:07:16 +01:00
Cédric Krier b81d596e1f Add missing space before AS
issue2345
2012-03-03 12:25:27 +01:00