Commit Graph

32148 Commits

Author SHA1 Message Date
Vo Minh Thu 2f5e8d48b3 [REF] osv: moved (and adapted) vacuum code to osv_memory.
bzr revid: vmt@openerp.com-20110812113355-lylavdsc3mqjovrj
2011-08-12 13:33:55 +02:00
Vo Minh Thu 44d41334d7 [REF] osv: osv_memory is really just osv,
the change is not enough as we still want to differentiate between regular osv and osv
that should be wiped from the db from time to time.

bzr revid: vmt@openerp.com-20110728082752-39jur9oo0m93ebzh
2011-07-28 10:27:52 +02:00
Olivier Dony 8504e6158b [IMP] sql_db: default cursor = serialized, deprecate serialized_cursor, add doc
In the context of OpenERP transaction, we really need the
'snapshot isolation' level provided by PostgreSQL because
not being able to make repeatable reads within the same
transaction is a very dangerous source of corrupted data,
especially in a very concurrent system.
The performance impact of switching from the default
read_committed level to serializable/repeatable_read level
has been measured and and was not distinguishable from 
the standard deviation - so it seems quite acceptable.
User of PostgreSQL 9.1 might want to update to psycopg2
version 2.4.2 or later to properly use the regular 
snapshot isolation level, and not the newer, more
expensive serializable level (see comments in Cursor
docstring).

bzr revid: odo@openerp.com-20110714105552-9tgofrjtdgjmgc4b
2011-07-14 12:55:52 +02:00
Fabien Meghazi e32df7bb5d [ADD] Add a dialog function + xml view debug mode
bzr revid: fme@openerp.com-20110714100933-ce42j7ca2yzw0bsr
2011-07-14 12:09:33 +02:00
Xavier Morel 9d814c830b [FIX] remove bloody crazy (and useless) indirection keys in DataSet.call and DataSet.get_result RPC methods
bzr revid: xmo@openerp.com-20110714100522-94rp1otj1n4hrf2x
2011-07-14 12:05:22 +02:00
Xavier Morel 7578658e69 [FIX] indentation in Session.rpc and Session.rpc_ajax, use early bailout to make code flow simpler and reduce indentation significantly
bzr revid: xmo@openerp.com-20110714095731-2kuqyl0p289ouut7
2011-07-14 11:57:31 +02:00
Xavier Morel c6bcc855e1 [FIX] DataSet.read_slice needs to return the relevant deferred so callers can add new callbacks or use $.when multiplexing
bzr revid: xmo@openerp.com-20110714095619-4owz98azxy9xkpi0
2011-07-14 11:56:19 +02:00
Vo Minh Thu 7c9ec513b1 [MERGE] ir_config_parameter: added optional default argument to get_param.
bzr revid: vmt@openerp.com-20110714074940-r86xcpjjjo61xv90
2011-07-14 09:49:40 +02:00
Antony Lesuisse 3c985b0201 [FIX] remove incorrect res_currency name_get
bzr revid: al@openerp.com-20110713153712-j2v1nlm9q5e2319d
2011-07-13 17:37:12 +02:00
Xavier Morel 3496acfab4 [FIX] reintroduce little arrows indicating the current sorting orientation in list views
bzr revid: xmo@openerp.com-20110713111815-v0rhnt31vykx2xcu
2011-07-13 13:18:15 +02:00
Xavier Morel d1209c847b [FIX] sorting list views
lp bug: https://launchpad.net/bugs/809309 fixed

bzr revid: xmo@openerp.com-20110713103725-y9fnpp36z78bjbhn
2011-07-13 12:37:25 +02:00
tfr@openerp.com 822b393669 [RM] remove get hostname
bzr revid: tfr@openerp.com-20110712153730-u29ss55hee7qs1et
2011-07-12 17:37:30 +02:00
tfr@openerp.com a5b3d431a9 [MERGE]
bzr revid: tfr@openerp.com-20110712152132-q2m2o852q52qybnk
2011-07-12 17:21:32 +02:00
tfr@openerp.com f6acf31295 [IMP] get hostname using get_param + add default value in get_param
bzr revid: tfr@openerp.com-20110712152027-oj6b42o0bttijkst
2011-07-12 17:20:27 +02:00
Antony Lesuisse cea05b572e [MERGE] modifiers: fields state attribute support (niv)
bzr revid: al@openerp.com-20110712143816-b81j6qi418v2kir3
2011-07-12 16:38:16 +02:00
Antony Lesuisse 7c01ea22f3 [FIX] apply some merge review feeback
bzr revid: al@openerp.com-20110712143532-s0jeuh5rglzwijpn
2011-07-12 16:35:32 +02:00
Xavier Morel 9e0738b97d [FIX] column visibility, due to removal of attribute computation and replacement with modifiers mapping
bzr revid: xmo@openerp.com-20110712143408-tv1wlyfolfj0qish
2011-07-12 16:34:08 +02:00
Xavier Morel 17d87a9599 [FIX] group titles should display 'Undefined' for false values, rather than 'false'
bzr revid: xmo@openerp.com-20110712141934-qk3zfckzh32b8xu1
2011-07-12 16:19:34 +02:00
Fabien Meghazi ab755d5000 [FIX] Form layout. Allocated space for labels should be computed with original field widget's colspan
bzr revid: fme@openerp.com-20110713151816-6hkid04t2tlarq9d
2011-07-13 17:18:16 +02:00
Fabien Meghazi 595496206c [IMP] Improved action buttons for wizards
bzr revid: fme@openerp.com-20110713142502-r9xzs6crfusu5ccl
2011-07-13 16:25:02 +02:00
Antony Lesuisse a2e890635b db filter typo
bzr revid: al@openerp.com-20110713120411-tm9j4x9tmgw08mdy
2011-07-13 14:04:11 +02:00
niv-openerp 16d5b55a7a [imp] used form open popup in o2m
bzr revid: nicolas.vanhoren@openerp.com-20110713110532-fp6n7gm52e1zrinq
2011-07-13 13:05:32 +02:00
Fabien Meghazi 13cf80a229 [IMP] graph&dashboard: do not instantiate ActionManager directly anymore
bzr revid: fme@openerp.com-20110713104351-wy7dwm2v8ywsz2tf
2011-07-13 12:43:51 +02:00
Fabien Meghazi 98cd4261d2 [IMP] Dashboard: do not instantiate ActionManager, use ViewManagerAction instead
bzr revid: fme@openerp.com-20110713103500-v5w0lnskfj1w3r5x
2011-07-13 12:35:00 +02:00
Antony Lesuisse 3acbdf8153 add --db-filter option
bzr revid: al@openerp.com-20110713102612-0lu8s1ausql3j07s
2011-07-13 12:26:12 +02:00
niv-openerp 0485c630de [imp] used the form open popup in m2m
bzr revid: nicolas.vanhoren@openerp.com-20110713095949-242ibznw1f0qfwet
2011-07-13 11:59:49 +02:00
niv-openerp 289ec3545b [fix] when modify a record in a m2o, does not reload the name of the record
bzr revid: nicolas.vanhoren@openerp.com-20110713095352-qcbmhca6r4bvx1j3
2011-07-13 11:53:52 +02:00
niv-openerp b29106581f [imp] added popup to read & modify a record and used it in m2o (also some fix related to relations)
bzr revid: nicolas.vanhoren@openerp.com-20110713094411-wrbaa6m4zewm521m
2011-07-13 11:44:11 +02:00
Xavier Morel d45e291329 [FIX] name of ordering param in read_group docstring: it's orderby not order
bzr revid: xmo@openerp.com-20110713092003-83ot1xsivziy4p33
2011-07-13 11:20:03 +02:00
Launchpad Translations on behalf of openerp 68a34fa59b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110713043624-31prq4kedswel384
2011-07-13 04:36:24 +00:00
niv-openerp 97966e8eff [imp] some improvements to display in relation popups
bzr revid: nicolas.vanhoren@openerp.com-20110712161610-iduz56dva4iwcfhq
2011-07-12 18:16:10 +02:00
Vo Minh Thu 622e58b183 [MERGE] fields.py: cleaned a bit fields.property.
bzr revid: vmt@openerp.com-20110712153056-r02ulhgq8gnorinr
2011-07-12 17:30:56 +02:00
Antony Lesuisse ab3cab8955 [FIX] hr_timesheet_sheet test fix, marital is a selection
bzr revid: al@openerp.com-20110712145726-6zv3ip3qvtpmdtbb
2011-07-12 16:57:26 +02:00
niv-openerp e96243a12b [fix] some bug related to 'enter' button in m2o & editable lists
bzr revid: nicolas.vanhoren@openerp.com-20110712141610-o6h1xa9zb8vfgygi
2011-07-12 16:16:10 +02:00
tfr@openerp.com 4937b6bdd6 [IMP] get_hostname tools function based on ir.config_parameter on the key network.hostname
bzr revid: tfr@openerp.com-20110712140703-gvfnjs1y3r51kagn
2011-07-12 16:07:03 +02:00
Antony Lesuisse d3d8c5762c [FIX] hr_evaluation test fix, marital is a selection
bzr revid: al@openerp.com-20110712134615-huxbhop8wjryfqb5
2011-07-12 15:46:15 +02:00
Olivier Dony d2c3678335 [IMP] base_setup: avoid remultiple, useless restarts of osv pool
bzr revid: odo@openerp.com-20110712133843-15gxpmao4e62pn59
2011-07-12 15:38:43 +02:00
Fabien Meghazi 3e79375a01 [FIX] clean_action not always return action
bzr revid: fme@openerp.com-20110712133430-l55d0bwxwb0znke1
2011-07-12 15:34:30 +02:00
Olivier Dony 8874fb058f [FIX] module.loading: ensure installed modules are all loaded before installing new ones
After the recent change to make module install
atomically (code *and* data), we ran into issues
when installing a new module indirectly triggers
code of a not-yet-loaded-but-installed module,
via its data that is already in the database
(e.g. worflows or reports modified by this module
within another module, that now refer to its
code).
To avoid this, we now make sure that we only
install new modules on top of a consistent system
(code *and* data), by loading all installed or
'to upgrade' modules *before* starting to install
new ones.

lp bug: https://launchpad.net/bugs/809168 fixed

bzr revid: odo@openerp.com-20110712133343-unf610k23fa6d3pk
2011-07-12 15:33:43 +02:00
niv-openerp 65190b7f8c [imp] cosmetic change in m2o
bzr revid: nicolas.vanhoren@openerp.com-20110712130910-akmszcbyjwugkkk7
2011-07-12 15:09:10 +02:00
Fabien Meghazi 24e3ab4f07 [IMP] Improved & fixed some action dialogs problems. Added openerp.base.ActionDialog
bzr revid: fme@openerp.com-20110712124714-9jj58xrzi97negug
2011-07-12 14:47:14 +02:00
Antony Lesuisse 3ef156beda [FIX] hr_timesheet test fix, marital is a selection
bzr revid: al@openerp.com-20110712120748-q9l7tj38a0ehuk9d
2011-07-12 14:07:48 +02:00
Xavier Morel 9d2e29795e [IMP] only compute invisible attrs/modifier in list view, as for non-editable lists we may be missing fields required to compute required and readonly
and it's not like the list view needs those anyway: the handling of required and readonly in editable lists is performed solely by the form view embedded in each row, the list itself does not care at all

bzr revid: xmo@openerp.com-20110712095459-l8hkm6d0vg1ynb07
2011-07-12 11:54:59 +02:00
niv-openerp 287ed124d5 [imp] some imp to previous imp
bzr revid: nicolas.vanhoren@openerp.com-20110712091431-uf3o5z017c399izp
2011-07-12 11:14:31 +02:00
niv-openerp 2b47b7f69a [imp] added some debugging tools
bzr revid: nicolas.vanhoren@openerp.com-20110712091131-ixr36d9dyilfnoyj
2011-07-12 11:11:31 +02:00
Fabien Meghazi 8c761e24be [IMP] Better default action flags
bzr revid: fme@openerp.com-20110712091110-wa1v3s3p148g2nig
2011-07-12 11:11:10 +02:00
Vo Minh Thu 1f6833e708 [IMP] fields.py: removed unused import (and cyclic dependency!).
bzr revid: vmt@openerp.com-20110712083711-6serbntp8y5fn3qy
2011-07-12 10:37:11 +02:00
Launchpad Translations on behalf of openerp d335a858bf Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110712043923-dd4xl3470offf67p
2011-07-12 04:39:23 +00:00
Launchpad Translations on behalf of openerp 9fcea81c1c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110712043523-jj2h4fyxgaev36dr
2011-07-12 04:35:23 +00:00
Quentin (OpenERP) 406c263cb5 [IMP] account_asset demo data improved
bzr revid: qdp-launchpad@openerp.com-20110711224750-jjxa3f6odywwif99
2011-07-12 00:47:50 +02:00