Olivier Dony
79cd0848c1
[FIX] ir_attachment: typo introduced in previous fix (3318)
...
Original revision: 3318 - nel@tinyerp.com-20110121084241-10kfmgd16vt19vkv
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-20110127154532-v18l28qk8ysi02sb
2011-01-27 16:45:32 +01:00
nel@tinyerp.com
e72427f7c0
[FIX] attachment
...
bzr revid: nel@tinyerp.com-20110121084241-10kfmgd16vt19vkv
2011-01-21 09:42:41 +01:00
Christophe Simonis
5b08fe4d6d
[FIX] base: ir.model.data:call_cache_clearing_methods is tolerant to unknow objects
...
ir.ui.menu: remove __del__ method as this can forbid the python gc to break the pool cycle
bzr revid: chs@openerp.com-20110120160020-t1bfkpjgeqpa5vsw
2011-01-20 17:00:20 +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
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
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
P. Christeas
d187fa7bf8
ir_cron: some port to pythonic logging
...
bzr revid: p_christ@hol.gr-20110117213108-u0k7n9y4xmtudvnk
2011-01-17 23:31:08 +02:00
P. Christeas
e29e641514
[MERGE] osv,ir_model: fixes for fnct_search implementations returning [] + ir.model.data passing browse_records to create()
...
bzr revid: odo@openerp.com-20110117204932-8ldxndduwqsdyofc
2011-01-17 21:49:32 +01:00
Olivier Dony
1896ef488b
[FIX] ir.model.data: ensure cache of known "model data reference ids" is not lost after osv inheritance
...
By storing this cache in the pool and only referencing it in the instance we ensure that it is not lost
when the osv instance is replaced in the pool, e.g. as soon as on osv object inherits from ir.model.data.
This is now needed, as the module data cleanup is now done globally at the end of all module installation,
while it was done on a smaller scale before (leading to other kinds of issues).
lp bug: https://launchpad.net/bugs/704051 fixed
lp bug: https://launchpad.net/bugs/701644 fixed
bzr revid: odo@openerp.com-20110117184453-kxvbuzmuge6u1mh4
2011-01-17 19:44:53 +01:00
Yogesh (OpenERP)
ba2ee50c84
[MERGE] workflow: correctly pass ids as list when printing workflows with subflows
...
lp bug: https://launchpad.net/bugs/701058 fixed
bzr revid: odo@openerp.com-20110117170525-bbqh6k584k6ssa0g
2011-01-17 18:05:25 +01:00
P. Christeas
c180358e30
ir.model: fix loading of data, for inheriting models
...
Since a recent commit, non (long, int) values will propagate, so we'd
better not use inherit_id = browse_record(...) as a value in create()'s
dict.
Previously, it did work because we define __int__() so that:
int(browse_record(...)) == browse_record(...).id
bzr revid: p_christ@hol.gr-20110117084054-8qv5uc4vt4w9aygv
2011-01-17 10:40:54 +02:00
Fabien Pinckaers
8bc146d459
fix_logging
...
bzr revid: fp@tinyerp.com-20110115170802-n8o5kmx9vblfn0jw
2011-01-15 18:08:02 +01:00
Olivier Dony
c2af4fde4f
[FIX] ir.ui.view_sc: shortcuts are now translated, and using the name_get() of the linked resource
...
lp bug: https://launchpad.net/bugs/699858 fixed
bzr revid: odo@openerp.com-20110115045058-d7iqs6himuf2kyps
2011-01-15 05:50:58 +01:00
Fabien Pinckaers
fd9c04edcd
fix
...
bzr revid: fp@tinyerp.com-20110114190038-0h62306fd35pe0sp
2011-01-14 20:00:38 +01:00
Yogesh Sakhreliya
5d41cd9cf4
[FIX] workflow:- Subflow id pass in list in graph_get method.
...
bzr revid: ysa-openerp@ysa-openerp-20110112085442-cqt90cpii138q5jy
2011-01-12 14:24:42 +05:30
Olivier Dony
74cdbb4d9c
[REM] ir.ui.menu: removed create_menu() shortcut, as the feature was broken and was removed from GTK too
...
This feature was only ever supported in GTK client, and was not working very well.
It may be re-introduced later, but needs a deeper set of changes in the code.
bzr revid: odo@openerp.com-20110110182130-a6ire0yf2196sfo4
2011-01-10 19:21:30 +01:00
Jacques-Etienne Baudoux
de013193a6
[FIX] list only installed modules
...
bzr revid: jba@openerp.com-20110107114233-f5p2h1rasyoxwfdp
2011-01-07 12:42:33 +01:00
Jacques-Etienne Baudoux
e6cddbf400
[FIX] inherited view in "Model Overview" report
...
bzr revid: jba@openerp.com-20110107103335-2kqmt5g4bue52sge
2011-01-07 11:33:35 +01:00
Jacques-Etienne Baudoux
76430dba34
[FIX] list of views function in ir.model
...
bzr revid: jba@openerp.com-20110107101919-bei5x77fl98432jy
2011-01-07 11:19:19 +01:00
Olivier Dony
423bf21213
[FIX] ir.ui.view_sc: ref_id cannot be a m2o as it can reference different resources
...
bzr revid: odo@openerp.com-20110110135517-wi3dfqqzvfhx5n9f
2011-01-10 14:55:17 +01:00
Olivier Dony
41bf6551bd
[MERGE] ir.model.fields: changes to custom fields now take effect immediately (courtesy of xrg)
...
lp bug: https://launchpad.net/bugs/631547 fixed
bzr revid: odo@openerp.com-20110110123302-weq6zt1ivshhgogq
2011-01-10 13:33:02 +01:00
Olivier Dony
530704a349
[FIX] ir.ui.view,ir.ui.view.custom: cleanup handling of customized views + add menu and views
...
Custom views are used when users reorganize their dashboards (drag and drop in web), but this should not be
special-cased for board.board model in the core. The web client will instead directly write to the ir.ui.view.custom
table, and the board module will override board.board.fields_view_get to take custom views into account.
The only responsibility of the core is to drop custom views when the original view is updated, to be sure there
are no outdated customizations that remain.
bzr revid: odo@openerp.com-20110107160337-0rovd484id4gfc16
2011-01-07 17:03:37 +01:00
Olivier Dony
8edba174ce
[MERGE] translations: refactoring/deferral of translated resource id resolution, fixing several translation issues
...
lp bug: https://launchpad.net/bugs/696760 fixed
bzr revid: odo@openerp.com-20110107151735-agubxu82g0ursdbh
2011-01-07 16:17:35 +01:00
P. Christeas
89ec68926d
ir.model.fields: implement the write(), allow custom fields to change
...
Implement the missing feature of being able to modify those custom
fields in the database, through the ORM interface. Now, using the
ir.model or ir.model.fields forms, the admin is able to alter properties
of custom fields on a live server (without server restart).
In the future, we may even remove the fuse for base fields and allow
them to change, too.
bzr revid: p_christ@hol.gr-20110107092917-xh00qjbap7ixggwr
2011-01-07 11:29:17 +02:00
P. Christeas
1a3432b439
ir.model: move the check inside create() and write(), simplfy defaults.
...
Since the create() function does call cr.commit(), the validity check
for selection options shall happen before the call to orm._auto_init().
bzr revid: p_christ@hol.gr-20110107092655-kokkx3pz2ilawyc0
2011-01-07 11:26:55 +02:00
Olivier Dony
7d3375f49f
[MERGE] bugfixes: default language for partners, password change, validation of custom selection fields, ...
...
See the bug links
lp bug: https://launchpad.net/bugs/670264 fixed
lp bug: https://launchpad.net/bugs/692891 fixed
lp bug: https://launchpad.net/bugs/695678 fixed
lp bug: https://launchpad.net/bugs/631547 fixed
lp bug: https://launchpad.net/bugs/632927 fixed
bzr revid: odo@openerp.com-20110106173828-kdv1gtdvbws1ceb5
2011-01-06 18:38:28 +01:00
Vo Minh Thu
052f6caeaa
[IMP] ir_translation: added help messages and comments.
...
bzr revid: vmt@openerp.com-20110106132830-l0jynvpdd49xurm6
2011-01-06 14:28:30 +01:00
Vo Minh Thu
4629c7af78
[IMP] translation: Added two columns to ir_translation to fix the res_ids after loading is done.
...
Currently res_ids are resolved and written to ir_translation on the fly, as
the .po are loaded, line by line. Doing this in a second step should resolve
a translation bug and make things faster too.
bzr revid: vmt@openerp.com-20110106105021-xj9vah5oz0ceto7i
2011-01-06 11:50:21 +01:00
Jacques-Etienne Baudoux
0849ba9d6f
[ADD] ir.model : list of modules in which the object is defined
...
[ADD] ir.model.fields : list of modules in which the field is defined
[IMP] ir.model : aligned field form view with ir.model.fields
[ADD] ir.model : list of views
[ADD] ir.model : report "Model Overview"
bzr revid: jba@openerp.com-20110105140708-qrby7d6trhjw7vs5
2011-01-05 15:07:08 +01:00
Tristan Hill
0319803c53
[FIX] add missing import for previous commit
...
bzr revid: tristan.hill@credativ.co.uk-20110105093426-oel96wxnzdpmd14c
2011-01-05 09:34:26 +00:00
Tristan Hill
aeae9be58f
[IMP] Log exception message in same error message as title. Log traceback when debugging.
...
bzr revid: tristan.hill@credativ.co.uk-20110105092606-xt4z6r7cundidtg8
2011-01-05 09:26:06 +00:00
Tristan Hill
0a29f54262
[FIX] rollback transaction on exception to keep database in expected state
...
bzr revid: tristan.hill@credativ.co.uk-20110105092348-l6354716s7yf7sup
2011-01-05 09:23:48 +00:00
Olivier Dony
bf16725dc8
[FIX] all: ensure all open files are closed (partial patch courtesy of Lampman Trading)
...
lp bug: https://launchpad.net/bugs/676931 fixed
bzr revid: odo@openerp.com-20110104101335-964sl0e71zsgzfjw
2011-01-04 11:13:35 +01:00
Yogesh Sakhreliya
d6290ccd82
[FIX] assign default value in icon_image variable in ir.ui.menu.
...
bzr revid: ysa@tinyerp.com-20110104043415-vt2br30i3esqwhm7
2011-01-04 10:04:15 +05:30
Yogesh Sakhreliya
4e806c6d30
[FIX] add constraints in ir.model.fields for selection values.
...
bzr revid: ysa@tinyerp.com-20110103110333-xb8lm08mejv8nn4i
2011-01-03 16:33:33 +05:30
Yogesh Sakhreliya
d4b2226607
[FIX] fixed error if user assign wrong image path.
...
bzr revid: ysa@tinyerp.com-20101231093240-2m7eg0bpre7x3xsb
2010-12-31 15:02:40 +05:30
Fabien Pinckaers
3e55b9fc15
[IMP] better menu tips
...
bzr revid: fp@tinyerp.com-20101230102234-z4w3hgxiave7h9e1
2010-12-30 11:22:34 +01:00
Olivier Dony
cb93fbf97b
[FIX] ir.translation: coerce source terms into unicode, to avoid transmitting invalid UTF-8 bytes
...
This may happen when trying to translate already translated terms, such as the locale-dependen values provided by strftime
lp bug: https://launchpad.net/bugs/610883 fixed
bzr revid: odo@openerp.com-20101230032017-g2r9xx1mu1u5w94g
2010-12-30 04:20:17 +01:00
Fabien Pinckaers
d2bcd1e0ef
merge
...
bzr revid: fp@tinyerp.com-20101229183007-mlroj1fky2b7opxr
2010-12-29 19:30:07 +01:00
Fabien Pinckaers
0e387e388d
[IMP] better error message on access rights
...
bzr revid: fp@tinyerp.com-20101229124427-a0yr0pfaimnplz22
2010-12-29 13:44:27 +01:00
Olivier Dony
0e00f5c5a6
[FIX] ir.ui.menu: typos introduced recently
...
bzr revid: odo@openerp.com-20101229094754-c9od7rd0xlvk9h08
2010-12-29 10:47:54 +01:00
Fabien Pinckaers
54b0cbdc1f
[IMP] access rights
...
bzr revid: fp@tinyerp.com-20101228083020-si4yr34cb46cmjof
2010-12-28 09:30:20 +01:00
Vir (Open ERP)
d528bc6f81
[Merge]
...
bzr revid: vir@tinyerp.com-20101119044839-8cwlqycamcae42n6
bzr revid: vir@tinyerp.com-20101122044725-weeo06d2b5s2op3f
bzr revid: vir@tinyerp.com-20101123044335-es0ltyh2128liyea
bzr revid: vir@tinyerp.com-20101124050116-dd0n5f6ypvk58gtx
2010-11-24 10:31:16 +05:30
Olivier Dony
6ff627d275
[IMP] ir.model.data,res.log: allow marking res.log entries as read upon creation via context + do it during module install to avoid useless log spam
...
bzr revid: odo@openerp.com-20101123160506-qsxa7gm5j8scphdz
2010-11-23 17:05:06 +01:00
Harry (OpenERP)
061a71aef8
[MERGE]
...
bzr revid: hmo@tinyerp.com-20101119072750-ii5127c3olbl0zzv
2010-11-19 12:57:50 +05:30
Vir (Open ERP)
4f1e113160
[Merge]
...
bzr revid: amp@tinyerp.com-20101028045857-j82tmesmh5t8jat6
bzr revid: amp@tinyerp.com-20101029051607-93mbt6kw40n95bf0
bzr revid: amp@tinyerp.com-20101030053305-52a94rx6sb0oi8vt
bzr revid: amp@tinyerp.com-20101101045243-zwnmc82cfmrvk12m
bzr revid: vir@tinyerp.com-20101102043603-a8tjpen4iyne6xql
bzr revid: vir@tinyerp.com-20101103044658-8la6t189ejys3fq5
bzr revid: vir@tinyerp.com-20101104045230-kdlty17bhf7ptska
bzr revid: vir@tinyerp.com-20101110050419-v4fo3sahj3fagfvx
bzr revid: vir@tinyerp.com-20101111053716-vfedljjc4ex1lqz8
bzr revid: vir@tinyerp.com-20101115042342-vmk5szk7imfxrbu4
bzr revid: vir@tinyerp.com-20101116043547-ieo3mgxwlc3icw7x
bzr revid: vir@tinyerp.com-20101118044503-zwz24srpiahxw2te
2010-11-18 10:15:03 +05:30
Don Kirkby
0eaa680c1f
[FIX] ir.cron: always reschedule tasks even when one of them takes too long (courtesy of Don Kirkby)
...
lp bug: https://launchpad.net/bugs/677257 fixed
bzr revid: odo@openerp.com-20101223112824-uvqpfn31g1va3yce
2010-12-23 12:28:24 +01:00
Olivier Dony
ef47084aa4
[FIX] ir.property: record rules should only allow reading current company properties, not child ones as well
...
lp bug: https://launchpad.net/bugs/691541 fixed
bzr revid: odo@openerp.com-20101222175258-8aesquwk6v9d4lv4
2010-12-22 18:52:58 +01:00
Fabien Pinckaers
3df9607a60
fix
...
bzr revid: fp@tinyerp.com-20101221201517-286g910bux4jas0o
2010-12-21 21:15:17 +01:00