Olivier Dony
8f03564334
[FIX] res.currency: make code->name change more explicit, plus fix sample currency names
...
bzr revid: odo@openerp.com-20110221101549-vp0ha2g91yl30cmk
2011-02-21 11:15:49 +01:00
Launchpad Translations on behalf of openerp
698cf71dcc
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110219151700-ii7rijowfg3tsh52
bzr revid: launchpad_translations_on_behalf_of_openerp-20110221054420-5jxr5u4720nlqtmq
bzr revid: launchpad_translations_on_behalf_of_openerp-20110219151759-31ubz5n3dvyoqqyr
bzr revid: launchpad_translations_on_behalf_of_openerp-20110220055913-v8xfcniiufvbk0e1
bzr revid: launchpad_translations_on_behalf_of_openerp-20110221054448-5twe13tpw94r8klj
2011-02-21 05:44:48 +00:00
Olivier Dony
2dd77dd687
[FIX] ir.attachment: search() must filter out all records that are not accessible
...
Due to the way ir.attachment permissions depend on the permissions of the
document they are attached too, normal filtering rules do not work for all
cases and a correct search() method is needed. This patch fixes some cases
that were not covered by search() yet.
An additional patch will be needed in the document module to also check
for access rights of the parent directory (a concept that does not exist
without the document module).
bzr revid: odo@openerp.com-20110218131454-0y4czja86w3ynaxb
2011-02-18 14:14:54 +01:00
Olivier Dony
6fe5728c46
[FIX] ir.cron: avoid starting cron engine too early during server startup when ir.cron records are touched
...
bzr revid: odo@openerp.com-20110216142242-gzd3029jq0le5cb0
2011-02-16 15:22:42 +01:00
Olivier Dony
44b019bf76
[FIX] orm.browse_record: fields prefetching should ignore m2o pointing to models not loaded yet
...
This situation can occur due to custom fields (x_...) that are creating shortcuts between
objects without respecting the module dependencies. For example a custom m2o fields
connecting a partner and a product would fail to be loaded at server startup when only
base is loaded, because product.product is not yet available.
This can usually be simply ignored, as the prefetching is just an optimization.
The custom fields should never be accessed during startup (e.g not function field
should use them), so that should never cause any issue.
bzr revid: odo@openerp.com-20110216142128-a9f4um5ky8cetl38
2011-02-16 15:21:28 +01:00
Launchpad Translations on behalf of openerp
958038785b
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110209060136-nfjweh4nw0sfdtyb
bzr revid: launchpad_translations_on_behalf_of_openerp-20110210053441-nhro56vsok1xjorb
bzr revid: launchpad_translations_on_behalf_of_openerp-20110211062554-w9k6gkzfxorm7alk
bzr revid: launchpad_translations_on_behalf_of_openerp-20110211062659-b0a6mwp18ipvn64n
bzr revid: launchpad_translations_on_behalf_of_openerp-20110212060645-t8l1wzw8znrsi1ze
bzr revid: launchpad_translations_on_behalf_of_openerp-20110213053327-7uwmixbkd8pmy53a
bzr revid: launchpad_translations_on_behalf_of_openerp-20110214054817-4wgpcwobeghg1dht
bzr revid: launchpad_translations_on_behalf_of_openerp-20110215053913-nqwsr2zc5fhc1prr
2011-02-15 05:39:13 +00:00
Olivier Dony
4d735c9a73
[FIX] osv_memory: expire records only based on age by default + provide configurable settings
...
This revision introduces two new config parameters and the corresponding
server startup parameters:
- osv_memory_count_limit: limit on number or records in each osv_mem table
- osv_memory_age_limit: limit on maximum age of records in each osv_mem table
The default values have been changed to count=False (disabled), age=1 (hour),
so that in the default config the server will only expire osv_memory records
that are 1 hour old or more, avoiding problems related with some
osv_memory classes that instantiate a large number of short-lived objects.
A corresponding set of YAML tests has been added to test the proper behaviour
of the new parameters, and check the various use cases.
lp bug: https://launchpad.net/bugs/555271 fixed
lp bug: https://launchpad.net/bugs/709559 fixed
bzr revid: odo@openerp.com-20110208140924-0bgxqgt1oyrxwz3z
2011-02-08 15:09:24 +01:00
Launchpad Translations on behalf of openerp
7980675a67
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110204141027-7fjkptadcn3xocbk
bzr revid: launchpad_translations_on_behalf_of_openerp-20110206061518-2d22gwew0c23msm1
bzr revid: launchpad_translations_on_behalf_of_openerp-20110207062348-rcrsq83p1141xqat
bzr revid: launchpad_translations_on_behalf_of_openerp-20110208055858-29gz4zyz9o39uv73
bzr revid: launchpad_translations_on_behalf_of_openerp-20110208055933-yutvcfmjc2d00l37
2011-02-08 05:59:33 +00:00
Olivier Dony
22a2fc6aa6
[FIX] orm.write: avoid miscalculation of parent_left/right when moving multiple records under same parent
...
This issue caused the parent_left and parent_right values to be correct
only for the first record being update as part of a batch update on several
children from the same parent. An example of the consequences is the linked
bug 708503.
lp bug: https://launchpad.net/bugs/708603 fixed
bzr revid: odo@openerp.com-20110203225102-a7v8bv90l2ph5ujh
2011-02-03 23:51:02 +01:00
Launchpad Translations on behalf of openerp
1474483553
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110203061642-vso4sr14t1g3p5sa
bzr revid: launchpad_translations_on_behalf_of_openerp-20110203061718-vr6gj90b3pov038j
2011-02-03 06:17:18 +00:00
Olivier Dony
145c74b270
[REVERT] fields: revert previous fix, until tests and addons are checked for compatibility
...
bzr revid: odo@openerp.com-20110201130721-q368qznven3vbmty
2011-02-01 14:07:21 +01:00
Olivier Dony
3ec7a4b2d9
[FIX] many2one: return (id,name) instead of only id also for osv_memory
...
By doing this small change we save clients the trouble of explicitly having to call
name_get() for each m2o field in osv_memory objects, which they cannot trivially batch
and represents a large dealy for wizards with possibly large numbers of child o2m records.
An example is the linked bug, where partial picking of several hundred move lines would
lead to as many separate name_get RPC calls, causing a noticeable delay.
lp bug: https://launchpad.net/bugs/709567 fixed
bzr revid: odo@openerp.com-20110201112447-i00sn3ih6qgj3wlh
2011-02-01 12:24:47 +01:00
Jay Vora (OpenERP)
d562af0f5c
[FIX] Export : _rec_name should be used instead of hardcoded name for relational records (Ref: SaaS Maintenance case 3921)
...
bzr revid: jvo@tinyerp.com-20110201100358-330mo3u3ufbycelv
2011-02-01 15:33:58 +05:30
Launchpad Translations on behalf of openerp
b3f4b680dc
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110201054444-0s528mxehfn4ilub
bzr revid: launchpad_translations_on_behalf_of_openerp-20110201054516-iib39rgdhv8qkmt8
2011-02-01 05:45:16 +00:00
Launchpad Translations on behalf of openerp
7a59b73896
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110131060829-cw2n1p0rxt186agi
bzr revid: launchpad_translations_on_behalf_of_openerp-20110129054416-mqjy6dbh74m5srtu
bzr revid: launchpad_translations_on_behalf_of_openerp-20110130055001-gehu37plrrjaogxb
bzr revid: launchpad_translations_on_behalf_of_openerp-20110131060928-xs2u6nr3y2x0h9db
2011-01-31 06:09:28 +00:00
Olivier Dony
482f07f717
[FIX] orm: incorrect braces when processing default values for o2m/m2m (backport from trunk)
...
lp bug: https://launchpad.net/bugs/704311 fixed
bzr revid: odo@openerp.com-20110128160419-kospojyqffcs7u40
2011-01-28 17:04:19 +01:00
Launchpad Translations on behalf of openerp
ecb6b6f527
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110128053653-049dtejg2tclii63
bzr revid: launchpad_translations_on_behalf_of_openerp-20110126055017-ulxyki7050s7grep
bzr revid: launchpad_translations_on_behalf_of_openerp-20110127054451-b5yoejbvso0zunmz
bzr revid: launchpad_translations_on_behalf_of_openerp-20110128053714-zb3yb4h7fkbmlqk9
2011-01-28 05:37:14 +00:00
Olivier Dony
412d1766e2
[FIX] ir_attachment: typo introduced in previous fix (3319) (backport of trunk)
...
Original revision: 3319 - olt@tinyerp.com-20110125142329-x1sf2qlazfiy6bdw
The consequence is that access rights on attachments would be incorrectly checked, using the
intersection of the attachment IDs and the resource IDs.
bzr revid: odo@openerp.com-20110127155158-p9cn2vtqaqb914jn
2011-01-27 16:51:58 +01:00
Olivier Dony
d20312211d
[FIX] addons: restore proper loading of custom osv models (manual customizations) - backport from trunk
...
bzr revid: odo@openerp.com-20110127095654-z5c87abnzpjqsnag
2011-01-27 10:56:54 +01:00
Launchpad Translations on behalf of openerp
c1c5909f2d
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110126054943-lzfn9m8gszjly9mp
bzr revid: launchpad_translations_on_behalf_of_openerp-20110127054419-mldra6zs7zr5fkic
2011-01-27 05:44:19 +00:00
olt@tinyerp.com
be6165db94
[FIX] base: backport from trunk (r3318): fixed ir.attachment
...
bzr revid: olt@tinyerp.com-20110125142329-x1sf2qlazfiy6bdw
2011-01-25 15:23:29 +01:00
Launchpad Translations on behalf of openerp
3d4a03d845
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110121055828-58dc2mksw0l3tsea
bzr revid: launchpad_translations_on_behalf_of_openerp-20110125060451-odllrb8doqa559kr
2011-01-25 06:04:51 +00:00
Olivier Dony
151ac3fa6c
[REL] bumped up version number for 6.0.1 release
...
bzr revid: odo@openerp.com-20110120191959-tawyea9r4h2cdn2x
2011-01-20 20:19:59 +01:00
Christophe Simonis
247b1247ab
[merge from trunk][FIX] base: res.config.installer replace the self.pool when restarting it
...
bzr revid: chs@openerp.com-20110120162737-yceq133ev7ncdbsp
2011-01-20 17:27:37 +01:00
Christophe Simonis
91e26e7b1b
[merge from trunk][FIX] base: ir.model.data:call_cache_clearing_methods is tolerant to unknow objects
...
bzr revid: chs@openerp.com-20110120162706-0fpt9a1ofvn2txtf
2011-01-20 17:27:06 +01:00
Olivier Dony
5dbe10136c
[MERGE] backport fix for translation bug 704894
...
lp bug: https://launchpad.net/bugs/704894 fixed
bzr revid: odo@openerp.com-20110120125758-s3alb3447gc5yw5j
2011-01-20 13:57:58 +01:00
Olivier Dony
65bf939dc9
[MERGE] backported fix for Popen and update of PKGINFO from trunk
...
bzr revid: odo@openerp.com-20110120124020-t13fdv206iwcvs7f
2011-01-20 13:40:20 +01:00
Launchpad Translations on behalf of openerp
f2ac23ee70
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110120061247-zy9gogdwensch4jn
2011-01-20 06:12:47 +00:00
Antony Lesuisse
103bbf4437
[RELEASE] version 6.0.0
...
bzr revid: al@openerp.com-20110119043715-9dznk1wka21b1smw
2011-01-19 05:37:15 +01:00
Fabien Pinckaers
f80fe2a66d
fix
...
bzr revid: fp@tinyerp.com-20110119013810-9g4ds1vf37yzpext
2011-01-19 02:38:10 +01:00
Fabien Pinckaers
d78d7106c0
[FIX] plugin
...
bzr revid: fp@tinyerp.com-20110119012935-u1o20rr46vh88frp
2011-01-19 02:29:35 +01:00
Antony Lesuisse
12e4cdf71b
[IMP] rpc send, reduce the number of write (reducing the number of packets)
...
bzr revid: al@openerp.com-20110118235238-qwpur4srw9d75nx5
2011-01-19 00:52:38 +01:00
Antony Lesuisse
62e28bf1af
revert commit 3298, 3299. This will be revised after 6.0.
...
bzr revid: al@openerp.com-20110118235033-r3n38tu482krm173
2011-01-19 00:50:33 +01:00
Antony Lesuisse
e38669677b
[FIX] deprecate picture widget, hide pict icon from ir.ui.view menu
...
bzr revid: al@openerp.com-20110118224040-i3pg9rc7gcn5iifq
2011-01-18 23:40:40 +01:00
Olivier Dony
0e28c6a591
[MERGE] ir.cron: rollback db transaction upon job execution failure (courtesy of Tristan Hill (credativ))
...
Tristan's original patch included better debugging, but the logging has been improved recently,
and moved to pythonic logging, so this part was removed during the merge.
bzr revid: odo@openerp.com-20110118211230-z1gipsfeq2tna210
2011-01-18 22:12:30 +01:00
Olivier Dony
437e29f39a
[FIX] res.partner.bank.type: everyone should be able to read bank account types
...
bzr revid: odo@openerp.com-20110118193116-zp7dh7rp8ad66wg8
2011-01-18 20:31:16 +01:00
Christophe Simonis
6d97e2c0ab
[FIX] stop related crons when closing a database
...
bzr revid: chs@openerp.com-20110118192637-i0yyyo86pa2hzq1d
2011-01-18 20:26:37 +01:00
P. Christeas
0d691b2230
[FIX] netsvc.Agent, ir.cron: pythonic logging instead of legacy netsvc logging
...
bzr revid: odo@openerp.com-20110118180154-1ek9mmf8yarh4se5
2011-01-18 19:01:54 +01:00
Olivier Dony
cb5ebabbf6
[FIX] base_data: fix GBP currency sign (courtesy of Vadim - SmartMode LTD)
...
lp bug: https://launchpad.net/bugs/704138 fixed
bzr revid: odo@openerp.com-20110118171503-0mw03ediw8ayu4vm
2011-01-18 18:15:03 +01:00
Julien Thewys
0a71cd2982
[MERGE] netrpc: disable TCP "Nagle" algorithm to minimize RPC delays, especially on windows
...
bzr revid: odo@openerp.com-20110118155946-9h207h8np16bplqh
2011-01-18 16:59:46 +01:00
P.Christeas
fe2e83e5a8
[MERGE] xmlrpc,netrpc: try to minimize number of network packets sent for each RPC call
...
bzr revid: odo@openerp.com-20110118155743-uq0llrmz1zn9fr3p
2011-01-18 16:57:43 +01:00
J-E Baudoux
483b7ed193
[MERGE] orm,base: added ir.model introspection OOo report, made orm._get_xml_ids() private (return type incompatible with XML-RPC)
...
bzr revid: odo@openerp.com-20110118155219-z02i8o5oz0q2vd09
2011-01-18 16:52:19 +01:00
Fabien Pinckaers
3f18729893
[IMP] comment for later use
...
bzr revid: fp@tinyerp.com-20110118131247-5pe69he7962q64p9
2011-01-18 14:12:47 +01:00
P. Christeas
e82fca056d
websrv_lib: flush at plain http, too
...
Since the write-buffering was enabled, it is now needed to flush.
Fixes static http, at least.
bzr revid: p_christ@hol.gr-20110118130005-tk5rz84po3q7qofu
2011-01-18 15:00:05 +02:00
P. Christeas
6e2fee84f8
http_server: enable write-buffering for TCP sockets
...
When sending http data, we need to minimize the number of TCP packets.
By enabling write-buffering, we can achieve that. However, we need to
make sure that buffers will properly be flushed, not linger.
Conflicts:
bin/service/http_server.py
bzr revid: p_christ@hol.gr-20110118125959-vk0gzx30bwykn18s
2011-01-18 14:59:59 +02:00
P. Christeas
5168d0bd09
websrv_lib: defer one socket.flush(), keep packets minimum.
...
bzr revid: p_christ@hol.gr-20110118125907-t7dz40a40pj6k8gs
2011-01-18 14:59:07 +02:00
P. Christeas
06b0cdbfaa
net-rpc: Send all data in one TCP packet
...
This optimises the TCP layer significantly, avoids ACK delays.
Inspired by: Julien Thewys
bzr revid: p_christ@hol.gr-20110118125903-5hrg89kpi1vuadv9
2011-01-18 14:59:03 +02:00
qdp-launchpad@tinyerp.com
adf47cf279
[IMP] base: improved view of wizards 'Load an Official Translation' and 'Register a Contract'
...
bzr revid: qdp-launchpad@tinyerp.com-20110118125751-9jys0rj1i41elyp1
2011-01-18 13:57:51 +01:00
Julien Thewys
996c6602a4
[FIX] typo
...
bzr revid: jth@openerp.com-20110118101441-tx27olsxkkl3m0vs
2011-01-18 11:14:41 +01:00
Launchpad Translations on behalf of openerp
1be56517a3
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110118043543-u6cex00pklf16ba4
2011-01-18 04:35:43 +00:00