Commit Graph

169 Commits

Author SHA1 Message Date
Olivier Dony f92f272130 [IMP] reports: support generic report_file field instead of report_xml ; add "file" attribute for <report> ; pending better refactoring after v6.0
bzr revid: odo@openerp.com-20101008142301-0os4ajp8xb9kt3cy
2010-10-08 16:23:01 +02:00
Olivier Dony 504c545cd7 [IMP] tools/convert: allow multiple root elements in view architectures (all fields with type=xml)
bzr revid: odo@openerp.com-20100916114726-9u10bm9k57nrwht5
2010-09-16 13:47:26 +02:00
Harry (OpenERP) cf86268416 [FIX] convert: after upgrade module, got error to parse menu
bzr revid: hmo@tinyerp.com-20100830140508-8mbnjtg5c970j3dt
2010-08-30 19:35:08 +05:30
Olivier Dony a33463b178 [IMP] tools/convert: small readability improvement in parent menu determination
bzr revid: odo@openerp.com-20100830102003-jmzq3vpuvhng1404
2010-08-30 12:20:03 +02:00
P. Christeas b68138961f convert: When loading menu, don't match by name
It is safer to create duplicate menus than assume the same name is the same
menu.

Solved strange case with 'Manufacturing', where it would falsely identify
the 'Manufacturing/Manufacturing' as its parent, and thus create a recursive
menu. If we are parsing the 'a/b/c' name syntax, we have to ommit "c" from
parent search.

Conflicts:

	bin/tools/convert.py

bzr revid: p_christ@hol.gr-20100830094806-3d4flzmp6vazdhtb
2010-08-30 12:48:06 +03:00
Olivier Dony fdabe0f0db [FIX] tools/convert: more lenient server-side parsing of context and domain attributes for <act_window>, in case the values are meant for client-side only. For regular <record> elements you can decide if you want server-side evaluation of context and domain by putting the value in an 'eval' attribute or as the text of the corresponding <field> element. Referenced bug contains some related discussion.
lp bug: https://launchpad.net/bugs/556517 fixed

bzr revid: odo@openerp.com-20100804104613-n5z9d5x3cnbky7cd
2010-08-04 12:46:13 +02:00
Mustufa Rangwala 7678e0bafc [FIX] Missing import in convert for yaml
bzr revid: mra@mra-laptop-20100714053557-b3s6jz1teb7lni70
2010-07-14 11:05:57 +05:30
Olivier Dony f61cf6facf [IMP] tools/convert: cleanup: removed some unused variables, moved imports at top
bzr revid: odo@openerp.com-20100713095605-0sp0agl5tl3678u7
2010-07-13 11:56:05 +02:00
pap (OpenERP) 6b2e5e14ac [IMP] data serialization/loading: support timedelta expressions in eval
bzr revid: odo@openerp.com-20100713084057-7rw6k62k49nrhlug
2010-07-13 10:40:57 +02:00
Olivier Dony 0961c0f5cd [ADD] safe_eval: final round of adjustments, seems stable AFAICT (please be careful if you notice any error due to it - contact me if on doubt on how to fix properly)
bzr revid: odo@openerp.com-20100604003940-e32elbetzxop8c3b
2010-06-04 02:39:40 +02:00
Olivier Dony c3397574ff [FIX] continuing implementation of safe_eval: fixed some evaluation contexts
bzr revid: odo@openerp.com-20100601082829-n6iqqm8f0wuscvtm
2010-06-01 10:28:29 +02:00
Olivier Dony b020dc8363 [IMP] work-in-progress: initial version of safe_eval implementation -- still need fixing
bzr revid: odo@openerp.com-20100503234953-qgbk64bmir95jvzd
2010-05-04 00:49:53 +01:00
Anup (OpenERP) 67277f6f3d [MERGE] Merged from the main trunk server branch.
bzr revid: ach@tinyerp.com-20100520050727-zdkp6mp65kmfm66o
2010-05-20 10:37:27 +05:30
Jay (Open ERP) 0a0103521c [FIX] Bad code reverted for domain under act_window tag
bzr revid: jvo@tinyerp.com-20100514132934-0tsikhuwts7y0t0k
2010-05-14 18:59:34 +05:30
Anup (OpenERP) c3c52f6631 [FIX] Evaluate domain in act_window element is now possible
bzr revid: ach@tinyerp.com-20100513101827-cnd58xsa5itvhj0m
2010-05-13 15:48:27 +05:30
Anup (OpenERP) db035455a3 [FIX] Export translations + Cache on translations + Resynchronization wizard Corrections
bzr revid: ach@tinyerp.com-20100512104249-pqdbofr2xikw59l9
2010-05-12 16:12:49 +05:30
Jay (Open ERP) 4f5be5aa54 [FIX] importation of time lib was missing for eval()
bzr revid: jvo@tinyerp.com-20100512103229-lusl8l48x3fwuzf2
2010-05-12 16:02:29 +05:30
Jay (Open ERP) 97f2647309 [FIX] [FIX] Menu attribute to report/wizard/url made behaving correctly
lp bug: https://launchpad.net/bugs/425350 fixed

bzr revid: jvo@tinyerp.com-20100512064959-1tyns9iy96fhk9rx
2010-05-12 12:19:59 +05:30
Anup (OpenERP) 17b9f5802f [FIX] bin/tools/convert.py: no need to import time since the eval(domain) is probably going to be removed or wrapped in an exception handler
bzr revid: ach@tinyerp.com-20100511144427-nw2b9c8fu4p39rfg
2010-05-11 20:14:27 +05:30
Rvo (Open ERP) 5d1e3ffb3f [IMP]:improved code to allow ref=res_partner_asus with ref=base.res_partner_asus
bzr revid: rvo@tinyerp.co.in-20100504085128-4hgjn365kjhryat5
2010-05-04 14:21:28 +05:30
Rvo (Open ERP) e6131ae55e [IMP]: improved the code, added model_id_get() to support ref attribute for reference fields
bzr revid: rvo@tinyerp.co.in-20100429055448-ozeuc3ssv6mtpqiy
2010-04-29 11:24:48 +05:30
Rvo (Open ERP) a076f056f1 [ADD]:ref attribute support in demo files for reference fields
bzr revid: rvo@tinyerp.co.in-20100426052345-s351m4qjr717o3m0
2010-04-26 10:53:45 +05:30
Julien Thewys 3f8b66799f [REF] Cleanup ir_model_data._unlink
bzr revid: jth@openerp.com-20100402081546-deiqbx40q2hkucck
2010-04-02 10:15:46 +02:00
Harry (Open ERP) 197f89966b [FIX] convert: set uid variable which are used in view domain
bzr revid: hmo@tinyerp.com-20100331053241-o5mb3tfpx7upuwx1
2010-03-31 11:02:41 +05:30
Harry (Open ERP) 41ce0509ac [IMP] act_window: Add new options in act_window to set key2 value
bzr revid: hmo@tinyerp.com-20100311072430-m2lmwng09vmdsrtu
2010-03-11 12:54:30 +05:30
Julien Thewys a17092ba94 [REF] Renamed file and moved import statement.
bzr revid: jth@openerp.com-20100307164907-t1cevokp7u1zz2tx
2010-03-07 17:49:07 +01:00
HDA (OpenERP) 4873dd2e23 Merged
bzr revid: hda@tinyerp.com-20100303072255-5opkt86b0kqlagj9
2010-03-03 12:52:55 +05:30
HDA (OpenERP) bca733707d added noupdate=1 if csv is in init_xml
bzr revid: hda@tinyerp.com-20100303072109-qoi1h70ohfsjq96h
2010-03-03 12:51:09 +05:30
Fabien Pinckaers faefdc22e5 merge
bzr revid: fp@tinyerp.com-20100228080214-zhgkweltq2lv75xy
2010-02-28 09:02:14 +01:00
Harry (Open ERP) 8898d430e2 [FIX] tools: In convert, return false if record is not found
bzr revid: hmo@tinyerp.com-20100208135003-6fv2rcxedcv9wuyh
2010-02-08 19:20:03 +05:30
Xavier Morel b4f3dcde7e [merge] mx.DateTime-removal branch by rvalyi
https://code.launchpad.net/~openerp-commiter/openobject-server/server-mxdatetime-free/+merge/16099

bzr revid: xmo@tinyerp.com-20100202073928-xcnqd57l10jd3dg1
2010-02-02 08:39:28 +01:00
Raphaël Valyi a638f8aaba [MERGE]
bzr revid: rvalyi@gmail.com-20091217232137-y7gb1lvi3vyjbvtn
2009-12-17 21:21:37 -02:00
Raphaël Valyi 1cbec3a642 [REF] changed coding style from datetime.datime.foo to datetime.foo, changing the import accordingly
bzr revid: rvalyi@gmail.com-20091214152104-evcck2uv66bbulnf
2009-12-14 13:21:04 -02:00
Cristian Salamea (GnuThink) f41e524133 [REF] get rid of the mx.Datetime C dependency, meaning better portability, especially to alternative Python interpreters, better maintainability; implements this blueprint: https://blueprints.launchpad.net/openobject-server/+spec/get-rid-of-mx-datetime-dependency; largely the work of Cristian Salamea (GnuThink)
bzr revid: rvalyi@gmail.com-20091213181601-4k4mhtgnv2qynrjo
2009-12-13 16:16:01 -02:00
Xavier Morel d980d96150 [merge] from trunk
bzr revid: xmo@tinyerp.com-20091207144452-lwnkx46om3a21b94
bzr revid: xmo@tinyerp.com-20091208151256-lq7n9r51e99pfkxg
bzr revid: xmo@tinyerp.com-20091210111114-zoaop8nqhpfd8j22
bzr revid: xmo@tinyerp.com-20091211090051-9und4m828igz0q54
bzr revid: xmo@tinyerp.com-20091214083220-ki7zuginy2467h4h
bzr revid: xmo@tinyerp.com-20091214132934-p732a77qq6zo261s
2009-12-14 14:29:34 +01:00
Harry (Open ERP) ac8e7946f5 [FIX] convert: fix problem in eval
bzr revid: hmo@tinyerp.com-20091207090411-mkgxhkxz7zwdemrr
2009-12-07 14:34:11 +05:30
Xavier Morel 91c515382c [merge] 5.0-lxml-fixes into trunk
bzr revid: xmo@tinyerp.com-20091202092042-36gz0wkbu27aetvc
bzr revid: xmo@tinyerp.com-20091202093008-9uwo63c0bwdh8eaw
2009-12-02 10:30:08 +01:00
Xavier Morel 70ab8c4607 [IMP] removal of usages of the deprecated node.getchildren call, better usage of the attributes & tostring ET APIs, style fixes
bzr revid: xmo@tinyerp.com-20091128115809-pk5zqrc3zp8h6pir
2009-11-28 12:58:09 +01:00
Harry (Open ERP) 3ac7d15820 [merge] merge from lp:~openerp/openobject-server/5.0/
bzr revid: hmo@tinyerp.com-20091128104436-nryf42nmutq0s2ig
2009-11-28 16:14:36 +05:30
Xavier Morel 752e88e521 [FIX] Remove leftover instances of libxslt and libxml2, replace them by lxml
bzr revid: xmo@tinyerp.com-20091128100104-n0s3sv3p1601mn50
2009-11-28 11:01:04 +01:00
xrg dad1ff955b [merge] merge from lp:~xrg/openobject-server/optimize-5.0 and removed some confilts
bzr revid: hmo@tinyerp.com-20091120143104-tb6136unkdw7yfy9
2009-11-20 20:01:04 +05:30
DSH (Open ERP) 2cb4136c9f [FIX] act_window False domain problem - produce after dom to lxml conversion
bzr revid: dsh@tinyerp.com-20091117091218-4mvoqnf76o7mc0an
2009-11-17 14:42:18 +05:30
HDA (OpenERP) 5ea54704ea Merge and bugfixes from jvo
bzr revid: hda@tinyerp.com-20091105063915-kju1oce56t9g20g5
2009-11-05 12:09:15 +05:30
rpa-openerp 5561c46196 [IMP]able to pass context into record tag in xml file and pass context {"noadmin":True} in extended group data for not allocate that group to admin user
bzr revid: hmo@tinyerp.com-20091103064636-0v855wtnh06l0zop
2009-11-03 12:16:36 +05:30
Raphaël Valyi ece8b2918a [MERGE] bzr merge -r 1847..1848 lp:openobject-server ([FIX] Prevent etree deprication warnings)
lp bug: https://launchpad.net/bugs/429519 fixed

bzr revid: rvalyi@gmail.com-20091028200703-u7298esyxktryqyk
2009-10-28 18:07:03 -02:00
Raphaël Valyi c9d35c7012 [MERGE] lxml+etree instead of deprecated XML libs which prevent install on Ubuntu. Merged from old_trunk branch because on ne trunk, commits were not atomics anymore (after pig merge + bzr unability to track partial merge origins).
merge directive used was: bzr merge -r 1825..1826 lp:~openerp/openobject-server/old_trunk
tested main flows on manufacturing database + French -> no bug found; still will commit a few more commits related to trunk + etree

lp bug: https://launchpad.net/bugs/429519 fixed

bzr revid: rvalyi@gmail.com-20091028200443-2ciyhqaz7rczdusy
2009-10-28 18:04:43 -02:00
P. Christeas 6affaee1ab [IMP] Convert: two minor typos and tab expansion.
bzr revid: p_christ@hol.gr-20091027201244-1qiwghq61o3a6cq8
2009-10-27 22:12:44 +02:00
pap(openerp) 251b6720ca Changed encoding to coding ref: PEP: 0263
bzr revid: hda@tinyerp.com-20091020105223-2o94yr2iv2v10axr
2009-10-20 16:22:23 +05:30
PSO(OpenERP) 4d7134cd99 Changed licencing
bzr revid: hda@tinyerp.com-20091014123215-nuyqs18090whzt5o
2009-10-14 18:02:15 +05:30
NCH 5611bd4332 [FIX] Prevent etree deprication warnings
bzr revid: hda@tinyerp.com-20090925124045-5nwmi6v6ubtpywlz
2009-09-25 18:10:45 +05:30