Olivier Dony
c8e48449b3
[FIX] orm.read_group: fix group_by for date[time]s, currently showing duplicate groups
...
bzr revid: odo@openerp.com-20110411100847-va4ok35jx3tohor6
2011-04-11 12:08:47 +02:00
Launchpad Translations on behalf of openerp
326fc1420b
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110411054240-glbtpl72fmw06spz
bzr revid: launchpad_translations_on_behalf_of_openerp-20110409061637-9s5h5adu95tabmbp
bzr revid: launchpad_translations_on_behalf_of_openerp-20110410060107-yhr6iuxpvirpqo8l
bzr revid: launchpad_translations_on_behalf_of_openerp-20110411054315-0ka0kjfhsys3iuf4
2011-04-11 05:43:15 +00:00
P. Christeas
3fcd4d6112
bin: non-scripts must be -x, scripts +x
...
This should solve the corresponding rpmlint errors. Python files with a
shebang must be executable. Non-standalone python shall not have a shebang.
(cherry picked from commit d44bd2dcc03a75864cae7c93020537ac573999fe)
bzr revid: p_christ@hol.gr-20110408102058-mt1xaka350dwm32x
2011-04-08 13:20:58 +03:00
Launchpad Translations on behalf of openerp
2b369e9ae2
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110407055442-dotyi6bfnw93g9da
bzr revid: launchpad_translations_on_behalf_of_openerp-20110408061243-1m5svyo5s9ect6av
2011-04-08 06:12:43 +00:00
Olivier Dony
3ea48a453d
[FIX]: evaluate one2many domains instead of using them as string.
...
lp bug: https://launchpad.net/bugs/715654 fixed
bzr revid: vmt@openerp.com-20110406150525-hnmq4wsfbmfwgxpl
2011-04-06 17:05:25 +02:00
Vo Minh Thu
b1ffebe9a2
[FIX] ir_ui_view.py: get_sc only returns shortcuts for existing menu items.
...
lp bug: https://launchpad.net/bugs/727730 fixed
bzr revid: vmt@openerp.com-20110406100507-8t9bs4k31hz4n4ru
2011-04-06 12:05:07 +02:00
Launchpad Translations on behalf of openerp
9edd27860c
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110405060613-znuiqfpohhkrrz6m
bzr revid: launchpad_translations_on_behalf_of_openerp-20110406060153-tore9cn05qw7ill1
2011-04-06 06:01:53 +00:00
Stephane Wirtel
4ea4f3a917
[RELEASE] OpenERP 6.0.2
...
bzr revid: stephane@openerp.com-20110401142528-pwf4wbs9l58ika4z
2011-04-01 16:25:28 +02:00
Launchpad Translations on behalf of openerp
9e3f4506ab
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110331063510-f4p831lra5n96r8x
bzr revid: launchpad_translations_on_behalf_of_openerp-20110401060423-9z5xbnnjsvzoc5t5
bzr revid: launchpad_translations_on_behalf_of_openerp-20110401060529-0fxur0o8m2j8ttu2
2011-04-01 06:05:29 +00:00
Launchpad Translations on behalf of openerp
92709d6285
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110328052414-ldks5d5gysmxmsce
bzr revid: launchpad_translations_on_behalf_of_openerp-20110329062032-lv5ynteyc5ihd9xl
bzr revid: launchpad_translations_on_behalf_of_openerp-20110330055722-x8k70arv54qt2ms1
2011-03-30 05:57:22 +00:00
Launchpad Translations on behalf of openerp
e5dba215cb
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110325061354-c6zd2r6xvvedc4cc
2011-03-25 06:13:54 +00:00
Jay Vora,Olivier Dony
0f1b126f37
[MERGE] Merged the branch for the fix of handling ir_model_data and ir_values on unlink(),raising ValueError on call of removed reference
...
bzr revid: jvo@tinyerp.com-20110323194923-wm8h0epe1dpws4l7
2011-03-24 01:19:23 +05:30
Jay Vora (OpenERP)
5025d54c6f
[FIX] Deletion : Deletion of the records which are referring to any xml/csv record,should delete the relevant reference of ir_model_data and ir_values (Ref : Case 4630)
...
bzr revid: jvo@tinyerp.com-20110323192043-bg90mlsz2kmxtnt3
2011-03-24 00:50:43 +05:30
Launchpad Translations on behalf of openerp
06298aa8c4
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110323062406-jbhikbyt2r8jgb5l
2011-03-23 06:24:06 +00:00
Olivier Dony
3d2155b158
[FIX] ir.model.data.get_object(): raise ValueError when target record does not exist, for consistency
...
bzr revid: odo@openerp.com-20110322210522-os9qaarl6l9uuq41
2011-03-22 22:05:22 +01:00
Olivier Dony
969d390126
[FIX] orm.unlink(): properly remove ir.values entries upon deletion
...
bzr revid: odo@openerp.com-20110322163007-sb1h5h7egp14nrwd
2011-03-22 17:30:07 +01:00
Jay Vora (OpenERP)
63ace375f0
Fix in final mode
...
bzr revid: jvo@tinyerp.com-20110322151506-o6f3m3ps4m8ew8q9
2011-03-22 20:45:06 +05:30
Jay Vora (OpenERP)
af3000b6ec
correction to above commit
...
bzr revid: jvo@tinyerp.com-20110322151043-j33dnwn03tk4h6tv
2011-03-22 20:40:43 +05:30
Jay Vora (OpenERP)
d7f66c0ddd
[FIX] Deletion : Deletion of the records which are referring to any xml/csv record,should delete the relevant reference of ir_model_data and ir_values (Ref : Case 4630)
...
bzr revid: jvo@tinyerp.com-20110322144333-ic5hn3kexkoytgmo
2011-03-22 20:13:33 +05:30
Vo Minh Thu
65a3751613
[FIX] safe_eval: added time in the allowed modules.
...
- The reason is that on some older version of python (e.g. 2.5.2 on Windows),
datetime.datetime.now() is doing an import time on itws own.
lp bug: https://launchpad.net/bugs/703841 fixed
bzr revid: vmt@openerp.com-20110322140124-huqn504k0y5xrkwa
2011-03-22 15:01:24 +01:00
Launchpad Translations on behalf of openerp
7b3dce9787
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110318061636-higy4mnr4wi8fiin
bzr revid: launchpad_translations_on_behalf_of_openerp-20110319070912-wmsopsqlxkk2c1w0
bzr revid: launchpad_translations_on_behalf_of_openerp-20110321062158-ygzrrco3kgyof8sw
2011-03-21 06:21:58 +00:00
Launchpad Translations on behalf of openerp
7a1adb03b4
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110317061145-3pplszjo5qb5t1e9
2011-03-17 06:11:45 +00:00
Jenil(OpenERP)
136c0cc340
[FIX] Base : Currency MUR(Mauritius Rupees) Added(Ref : Case 4492)
...
bzr revid: jvo@tinyerp.com-20110316121733-v2ol96dq6m0xio8r
2011-03-16 17:47:33 +05:30
Launchpad Translations on behalf of openerp
acc99ffbf2
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110316054236-w4hl1mypm1x0n5rj
2011-03-16 05:42:36 +00:00
Olivier Dony
17ebdeb565
[FIX] tools.graph: stop useless recursions to make graph_get() faster
...
In some cases (depending on the kind of graph being rendered),
the recursive processing could lead to timings of 1 minute per
call to ir.ui.view.graph_get(), even for a relatively small
number of nodes (e.g. 10). By avoiding useless recursions in
head_component() it goes down to a few ms.
This patch also adds str() wrappers for __str__ and printing
of nodes labels, which are not necessarily strings (they
are often integers)
bzr revid: odo@openerp.com-20110315181019-3pi3j0ojg33wtv3z
2011-03-15 19:10:19 +01:00
Launchpad Translations on behalf of openerp
66593da253
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110313061511-jvtjcnik55c3w8oi
bzr revid: launchpad_translations_on_behalf_of_openerp-20110311060045-oohxcp59rfjyupno
bzr revid: launchpad_translations_on_behalf_of_openerp-20110312061606-qr2j5rp19gnj6br4
bzr revid: launchpad_translations_on_behalf_of_openerp-20110313061631-46enjiow45bz0e1g
bzr revid: launchpad_translations_on_behalf_of_openerp-20110314054009-6lolsrrru53t0anf
2011-03-14 05:40:09 +00:00
Xavier ALT
3755c34404
type break read for 'security by field'
...
Signed-off-by: P. Christeas <p_christ@hol.gr >
(cherry picked from commit 92051d61345431173fc9eafc4dc015c0fb6002e8)
bzr revid: p_christ@hol.gr-20110311082720-h30rd6iab9dihijk
2011-03-11 10:27:20 +02:00
Launchpad Translations on behalf of openerp
144292e286
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20110305063005-fzycex3mu1xfb0jw
bzr revid: launchpad_translations_on_behalf_of_openerp-20110307062047-n8j178a0s89erjma
bzr revid: launchpad_translations_on_behalf_of_openerp-20110308062757-8j0c4yyvv5vaiwa5
bzr revid: launchpad_translations_on_behalf_of_openerp-20110309061236-sqodh7t8rvcf6qaj
bzr revid: launchpad_translations_on_behalf_of_openerp-20110311060003-olc6n287sm2vrsqc
2011-03-11 06:00:03 +00:00
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