Commit Graph

490 Commits

Author SHA1 Message Date
Vo Minh Thu d8db9e6b1d [REF] web_services: removed unused new_dispatch method.
bzr revid: vmt@openerp.com-20110728120754-deq2a4jiyhne1ynv
2011-07-28 14:07:54 +02:00
Vo Minh Thu 5c24a193f7 [REF] web_services: removed unused class.
bzr revid: vmt@openerp.com-20110728120204-ezzhvkbvlw134n2b
2011-07-28 14:02:04 +02:00
Launchpad Translations on behalf of openerp b3b00733af Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110726043915-2jf6htp0r7lwtog2
bzr revid: launchpad_translations_on_behalf_of_openerp-20110727043303-c8vlizlwvgk8nbpy
bzr revid: launchpad_translations_on_behalf_of_openerp-20110729044742-d00u9akz8kbon8bv
2011-07-29 04:47:42 +00:00
Antony Lesuisse 3b9b028c1e [FIX] remove customer flag from company 1
bzr revid: al@openerp.com-20110725142831-gttjdyeh9trtna0w
2011-07-25 16:28:31 +02:00
Launchpad Translations on behalf of openerp d48e423d98 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110723045453-us0p45bu4q22m1a3
bzr revid: launchpad_translations_on_behalf_of_openerp-20110724043404-725zd4wwz2ia1q5c
2011-07-24 04:34:04 +00:00
Raphael Collet ad067eff7a [MERGE] from trunk
bzr revid: rco@openerp.com-20110722150218-by322dfid2sz3k30
2011-07-22 17:02:18 +02:00
Hardik Ansodariy (OpenERP) cc7f29d0d2 [IMP]: rename action sms send
bzr revid: han@tinyerp.com-20110720110257-8lyh37dv9l5ttidq
2011-07-20 16:32:57 +05:30
Raphael Collet a98c391fdd [IMP] name_get of res.partner.address
bzr revid: rco@openerp.com-20110719144429-eceyu7akt2t9np1b
2011-07-19 16:44:29 +02:00
Raphael Collet 74448ac422 [FIX] addresses in demo data, allow default addresses where it makes sense
bzr revid: rco@openerp.com-20110719142802-i4p0l1nykvi1iv6q
2011-07-19 16:28:02 +02:00
Vo Minh Thu f59a0b6025 [MERGE] import: support for comma-separated ids in one2many, actually link the records.
- not a real merge, as I just recovered the diff. original code by tfr.

bzr revid: vmt@openerp.com-20110719122802-64jxm0h5uftsf94k
2011-07-19 14:28:02 +02:00
Olivier Dony cc81a21ab8 [MERGE] latest 6.0 fixes
bzr revid: odo@openerp.com-20110719113630-dvhg0cvh59r0oiiq
2011-07-19 13:36:30 +02:00
Hardik Ansodariy (OpenERP) 30784d14ab [IMP]:removed comment from res_partner_address
bzr revid: han@tinyerp.com-20110719105736-3icdgm513i3rll2i
2011-07-19 16:27:36 +05:30
Raphael Collet f79756c167 [FIX] put default address in _defaults of res.partner, and adapt data files
bzr revid: rco@openerp.com-20110719103425-lalon5psyia14nbp
2011-07-19 12:34:25 +02:00
Hardik Ansodariy (OpenERP) 7c16706c7b [IMP]:improved name_get in res_partner_address
bzr revid: han@tinyerp.com-20110719093444-n918l10kuk9ifctx
2011-07-19 15:04:44 +05:30
Olivier Dony fb0c0e8d90 [IMP] safe_eval: allow 'max' builtin
bzr revid: odo@openerp.com-20110718145322-wid88kpg568xyxu7
2011-07-18 16:53:22 +02:00
Raphael Collet 9988ce5b33 [FIX] create default partner address only when an empty list is given
bzr revid: rco@openerp.com-20110718142930-0cp8fdbnme17vpl6
2011-07-18 16:29:30 +02:00
Raphael Collet 8e47890f19 [MERGE] from trunk
bzr revid: rco@openerp.com-20110718083252-4phjgbo7fbxoeots
2011-07-18 10:32:52 +02:00
Launchpad Translations on behalf of openerp 8b2c200e93 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110716045334-iu1jo5qb555tfjwy
2011-07-16 04:53:34 +00: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
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
Tejas (OpenERP) 2ae545a397 [usability] fix the server crash problems of merge
bzr revid: tta@openerp.com-20110714072830-e1dbm9pkcnlawh2l
2011-07-14 12:58:30 +05:30
Tejas (OpenERP) 00ab78871b [usability] fix the server crash problems of merge
bzr revid: tta@openerp.com-20110714071707-i9g7lh2yqgt2a8ke
2011-07-14 12:47:07 +05:30
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
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 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 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
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
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
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 9fcea81c1c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110712043523-jj2h4fyxgaev36dr
2011-07-12 04:35:23 +00:00
Vo Minh Thu cadfd7d85f [FIX] fields.property: typos/misnamed variables.
bzr revid: vmt@openerp.com-20110711161558-kac442kzcu3ujvj4
2011-07-11 18:15:58 +02:00
Quentin (OpenERP) 9c3534843d [IMP] base, rng: allowed name attribute on separator tag
bzr revid: qdp-launchpad@openerp.com-20110711160137-d5thipksjw7e8vqn
2011-07-11 18:01:37 +02:00
Vo Minh Thu e3725cb3a6 [FIX] fields.property: set the m2o fields as False instead of browse_null.
bzr revid: vmt@openerp.com-20110711142503-pokzph1wgo2j3223
2011-07-11 16:25:03 +02:00
Vo Minh Thu 0568b08bea [FIX] loading: pool.get("ir.module.module") was done before it was available.
bzr revid: vmt@openerp.com-20110711141045-c3pyqe0zuwxlljip
2011-07-11 16:10:45 +02:00
Vo Minh Thu 5265ceeffc [IMP] fields.py: removed unnecessary initialization.
bzr revid: vmt@openerp.com-20110711131804-1p9qk2j9zp2uuevy
2011-07-11 15:18:04 +02:00
Olivier Dony cc7fae257f [IMP] module.loading: attempt to load each module atomically within load_module_graph (untested, work-in-progress)
bzr revid: odo@openerp.com-20110711124958-p91752exwv21sdf8
2011-07-11 14:49:58 +02:00
Vo Minh Thu 2fe91df6ad [IMP] fields.py: tidying up before merging in trunk.
bzr revid: vmt@openerp.com-20110711123414-5nf29awpui5x0pp6
2011-07-11 14:34:14 +02:00
Quentin (OpenERP) dae911decc [FIX] tools: get_and_sort_by_field function fixed and cleaned as asked in merge proposal
- fixed error of undefined variable set_field
- improved docstring to follow standard RST formatting
- renamed function into get_and_group_by_field to depict more precisely what it's doing
- created a specific function get_and_group_by_company to hide the complexity

bzr revid: qdp-launchpad@openerp.com-20110708132537-d7c4trk0nl5ngny0
2011-07-08 15:25:37 +02:00
niv-openerp 98bc95933f [merge]
bzr revid: nicolas.vanhoren@openerp.com-20110708130857-t879euj78qqb01v6
2011-07-08 15:08:57 +02:00
Quentin (OpenERP) b363bfb392 [FIX] openerp/osv/fields.py: _get_defaults() and _fnct_read() of property fields cleaned and fixed as requested on merge proposal
-_get_defaults(): improved docstring in order to follow RST docstring format
-_get_defaults(): removed weird loop in _get_defaults as there is always 1 element only
-_fnct_read(): make name_get as root
-_fnct_read(): check existence for m2o fields (as root)
-_fnct_read(): check for type of property field is now done on reliable information

bzr revid: qdp-launchpad@openerp.com-20110708125106-0q0wj5zncaa7yp0w
2011-07-08 14:51:06 +02:00
Raphael Collet be455d5d56 [MERGE] add field 'complexity' in ir.module.module
bzr revid: rco@openerp.com-20110708095942-ghzdubw16iji4v34
2011-07-08 11:59:42 +02:00
Raphael Collet d3154c3c90 [MERGE] from trunk
bzr revid: rco@openerp.com-20110708091337-5km1ln555uv0cddf
2011-07-08 11:13:37 +02:00
niv-openerp 4793c68939 [imp] Improved modifiers algorithm to also take the "states" attribute into account.
bzr revid: nicolas.vanhoren@openerp.com-20110707155135-jjinihfc6kylwf9k
2011-07-07 17:51:35 +02:00
Quentin (OpenERP) 760471863a [FIX] fields.py: reading and writing on ir.property fields
bzr revid: qdp-launchpad@openerp.com-20110707140359-mxj1or10gzvde3te
2011-07-07 16:03:59 +02:00
Quentin (OpenERP) 1e57f21cb7 [IMP] openerp/osv/fields.py: reading a property field is now using the function get() of ir.property object.
bzr revid: qdp-launchpad@openerp.com-20110707133733-aua4dygdjjmhryap
2011-07-07 15:37:33 +02:00
Quentin (OpenERP) 242a9e9b05 [IMP] tools: added a function to get and sort by field
bzr revid: qdp-launchpad@openerp.com-20110707132614-c6letgrkz4d6vm0i
2011-07-07 15:26:14 +02:00
Raphael Collet ab62650245 [IMP] remove unwanted domain on supplier list action
bzr revid: rco@openerp.com-20110707121952-42uxzl730l1q67gd
2011-07-07 14:19:52 +02:00
Raphael Collet 262c411a53 [IMP] create a default address in partner if none is given
bzr revid: rco@openerp.com-20110707115942-7f1wz4x3lwrl2cag
2011-07-07 13:59:42 +02:00