Jay Vora (OpenERP)
1673f215a2
[MERGE] Merged the branch for the fix of creation of x2many values.(ref: Case 4364)
...
bzr revid: jvo@tinyerp.com-20110304141515-t4d8hebruerfevjt
2011-03-04 19:45:15 +05:30
Olivier Dony
2094a6aa50
[FIX] res_partner: extend default security rule to show partners from ancestors companies too
...
This rules is not suited for most OpenERP objects, but it works
well for partners and products as these records are usually
shared between companies, and all company-specific data (such as
acounting data is set as per-company properties). A partner or
product can thus be shared cleanly between companies.
This was already possible before by just removing the company
assigned to the partner, making it globally visible.
bzr revid: odo@openerp.com-20110303155918-zjdgwnorsiex8y8u
2011-03-03 16:59:18 +01:00
Jay Vora (OpenERP)
51e59890e0
[FIX] orm: _add_missing_default_values: Allowing only valid x2m default values (Ref : Case 4364)
...
bzr revid: jvo@tinyerp.com-20110303142425-fmsk891658mmwbez
2011-03-03 19:54:25 +05:30
Vo Minh Thu
c2ac4494a5
[MERGE] workflow/print: fixes multiple identical subflow occurences.
...
lp bug: https://launchpad.net/bugs/405962 fixed
bzr revid: vmt@openerp.com-20110303132007-6z9cl03i738ax2lr
2011-03-03 14:20:07 +01:00
Vo Minh Thu
00220a6fc9
[FIX] workflow/print: changed wording for recursive cluster representation.
...
bzr revid: vmt@openerp.com-20110303125506-pk1hh1oynlz3ssf7
2011-03-03 13:55:06 +01:00
Vo Minh Thu
df27a58160
[MERGE] merge changes/bugfixes to ir_rules (multicompany and blank domain).
...
bzr revid: vmt@openerp.com-20110303122046-onihimxqxoy6gvty
2011-03-03 13:20:46 +01:00
Vo Minh Thu
9534f9ffbf
[FIX] res_company: browse (selectable) companies as superuser when choosing user preferences.
...
bzr revid: vmt@openerp.com-20110303105239-wy9bgdf94irweukh
2011-03-03 11:52:39 +01:00
Vo Minh Thu
c36f481194
[FIX] ir_rule: forgot to add the id child_of user.company_id rule.
...
Also, changed the context={} to context=None.
bzr revid: vmt@openerp.com-20110302110816-09nslq9snkd0rp4r
2011-03-02 12:08:16 +01:00
Vo Minh Thu
a5bb7c001f
[FIX] ir_rule: fix the recursive checking of a rule applied to res_company.
...
lp bug: https://launchpad.net/bugs/720175 fixed
bzr revid: vmt@openerp.com-20110302083538-0dnp74tas6wg9zhn
2011-03-02 09:35:38 +01:00
Vo Minh Thu
741b5def48
[ADD] ir_rule: added some test cases.
...
bzr revid: vmt@openerp.com-20110301102501-2vv5gyh51zxekjre
2011-03-01 11:25:01 +01:00
Launchpad Translations on behalf of openerp
b4a966d0dd
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110301060015-g4fb6kfszjwqs9f8
2011-03-01 06:00:15 +00:00
Vo Minh Thu
1c7f70e245
[FIX] correct two problems with domains:
...
- an empty domain is treated as equivalent to []
- AND and OR symbols are introduced more carefully
lp bug: https://launchpad.net/bugs/719406 fixed
bzr revid: vmt@openerp.com-20110228114420-pdk1x41b55flx2y7
2011-02-28 12:44:20 +01:00
Vo Minh Thu
435b61c90e
[FIX] pydot for workflow instance: render only once each subflow.
...
bzr revid: vmt@openerp.com-20110228095335-7cnrh571vq5wkvxh
2011-02-28 10:53:35 +01:00
Vo Minh Thu
4569d7856e
[MERGE] from the 6.0 branch
...
bzr revid: vmt@openerp.com-20110228090850-g127ghkht08s60tu
2011-02-28 10:08:50 +01:00
Launchpad Translations on behalf of openerp
eba20645f9
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110224061559-uvwy3pqqdo1gtgx8
bzr revid: launchpad_translations_on_behalf_of_openerp-20110225060457-5wocg4ecjy0vhxrl
bzr revid: launchpad_translations_on_behalf_of_openerp-20110227062217-eev5qb158tjq5t5h
bzr revid: launchpad_translations_on_behalf_of_openerp-20110228055344-2wm3uj29hj1f2lpa
2011-02-28 05:53:44 +00:00
Vo Minh Thu
4345d3ec36
[FIX] act_window access: corrected the access for normal users to read-only.
...
lp bug: https://launchpad.net/bugs/720277 fixed
bzr revid: vmt@openerp.com-20110223155833-q1ryj4hvdcfuyvmc
2011-02-23 16:58:33 +01:00
Launchpad Translations on behalf of openerp
8d31c8ade6
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110222142616-1uc1dvj7yaw8uixg
bzr revid: launchpad_translations_on_behalf_of_openerp-20110223061737-ofljr9cn5d3t258w
bzr revid: launchpad_translations_on_behalf_of_openerp-20110223061809-i6xdjp6w7uflik05
2011-02-23 06:18:09 +00:00
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