Commit Graph
1758 Commits
Author SHA1 Message Date
Florent Xicluna 9d2ccc5aef [FIX] eval(label) fails if label is not a str.
bzr revid: florent.xicluna@gmail.com-20120119215758-yflsp1cjz997o2r8
2012-01-19 22:57:58 +01:00
Florent Xicluna f65509f1ce [FIX] AttributeError, 'module' has no attribute 'ext_eval'
bzr revid: florent.xicluna@gmail.com-20120119215553-qlb4992c37vi6cuh
2012-01-19 22:55:53 +01:00
nicolas.bessi@camptocamp.com dcc993443a [IMP] webkit_header attribute support in report tag
bzr revid: nicolas.bessi@camptocamp.com-20120119154448-59md8t416xrlpvx1
2012-01-19 16:44:48 +01:00
nicolas.bessi@camptocamp.com d87ee3e162 [IMP] webkit_header attribute support in report tag
bzr revid: nicolas.bessi@camptocamp.com-20120119152732-dbn48789auu009r4
2012-01-19 16:27:32 +01:00
Olivier Dony c68045e497 [FIX] expression: properly care for implicitly defined m2m fields used in search() domains
Now that m2m fields may be defined without explicitly
specifying the name of the relationship table and its
foreign key columns, all access to these internal
names should be done via m2m._sql_names().
This seems better than lazily initializing these
internal names and hoping that nothing accesses
them before the init.

bzr revid: odo@openerp.com-20120119151012-c38k5zl7rqherhth
2012-01-19 16:10:12 +01:00
Jagdish Panchal (Open ERP) 272b5f9db5 [FIX] res_bank.py: set the prefix on bank
lp bug: https://launchpad.net/bugs/918120 fixed

bzr revid: jap@tinyerp.com-20120119095106-3ukg6cabh3kejf0e
2012-01-19 15:21:06 +05:30
Launchpad Translations on behalf of openerp 035b5b8bd5 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120119045028-1hxblsnuw1g2r2vj
2012-01-19 04:50:28 +00:00
Vo Minh Thu 418739cf3e [MERGE] cleaned some imports, removed some code for older python versions.
bzr revid: vmt@openerp.com-20120118160305-ucennaoqehjuut1z
2012-01-18 17:03:05 +01:00
Vo Minh Thu 5b57b7c5a9 [MERGE] added --db-template option.
bzr revid: vmt@openerp.com-20120118145334-sa190ihcos9iflcu
2012-01-18 15:53:34 +01:00
Olivier Dony fbc0545842 [IMP] base: change conflicting address-related "State" fields to "Fed. State"
This will avoid ambiguous translations, until we can
implement some sort of context-sensitive translation
system.

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

bzr revid: odo@openerp.com-20120118132900-427nc6j0p4h25bdn
2012-01-18 14:29:00 +01:00
Vo Minh Thu 0f9721533d [IMP] fields: use simplejson instead of json (for consistency with orm.py).
bzr revid: vmt@openerp.com-20120118123334-xxunyo1ph8jiwxc0
2012-01-18 13:33:34 +01:00
Vo Minh Thu c7094ab49f [IMP] tools: removed our copy of the copy module.
bzr revid: vmt@openerp.com-20120118115743-ce6p993l8v2kqlux
2012-01-18 12:57:43 +01:00
Vo Minh Thu a236a3ac75 [IMP] tools: removed deprecated debug() function.
bzr revid: vmt@openerp.com-20120118114910-xrynwguzu0e5zsng
2012-01-18 12:49:10 +01:00
Vo Minh Thu 8c3daeea12 [IMP] tools: removed __builtin__.{all,any} (they were there for previous python versions).
bzr revid: vmt@openerp.com-20120118114640-sm71f9fi48n4qn3q
2012-01-18 12:46:40 +01:00
Vo Minh Thu b5caa70b83 [IMP] tools: removed some functools functions (they were there for previous python versions).
bzr revid: vmt@openerp.com-20120118114109-txh1cjv503xautty
2012-01-18 12:41:09 +01:00
Vo Minh Thu 4d77130107 [IMP] tools: removed literal_eval as we drop python 2.6 support.
bzr revid: vmt@openerp.com-20120118112400-n7uulbbwm7wr5lpu
2012-01-18 12:24:00 +01:00
Vo Minh Thu ec597e354d [MERGE] cleaned imports.
bzr revid: vmt@openerp.com-20120118111226-an43skezei7dla2v
2012-01-18 12:12:26 +01:00
Vo Minh Thu 14acff6cc4 [MERGE] use an import hook instead of appending to sys.path.
This replaces sys.path mutation with an import hook. It removes the clash 
between our own 'resource' addons and the standard Python resource module. It
provides a transition between our current practice and a cleaner
'openerp.addons' namespace.

The import hook makes it possible to either 'import openerp.addons.hr' or 
'import hr' in the addons (ie. both paths are set in sys.modules). When trying 
to import an already existing (non-openerp) Python module (e.g. resource), it
will indeed load the Python module and print a warning (to invite you to use
openerp.addons.resource if this is the one you want).

Unfortunately, the import hook doesn't support self-referential imports. E.g. 
hr.wizard.xxx can't use 'import hr.yyy' or 'from hr import yyy'. Python will
fail to load hr with cryptic error messages or even a segmentation fault.

Beginning with this patch, 'import openerp.addons.xxx' is the way to go, 
'import xxx' is deprecated. Once 'import xxx' support can be removed, we will
probably support pkgutil or setuptool namespaces.

bzr revid: vmt@openerp.com-20120118104505-tns626ga47dwl7it
2012-01-18 11:45:05 +01:00
Vo Minh Thu 7e18a0c31d [MERGE] added missing import, removed unused vars, corrected unnused variable (typo).
bzr revid: vmt@openerp.com-20120118103306-2eqsl07suw33mqyn
2012-01-18 11:33:06 +01:00
Launchpad Translations on behalf of openerp 76cb307537 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120117044453-wdb803waqsh0uaxt
bzr revid: launchpad_translations_on_behalf_of_openerp-20120118044346-uk3yo505jmw90sxa
2012-01-18 04:43:46 +00:00
nicolas.bessi@camptocamp.com 8d826cc07d [IMP] database template in commande line, you can now use --db_template=my_template, default is template0
bzr revid: nicolas.bessi@camptocamp.com-20120117164940-i3g1zcu49x0g60t5
2012-01-17 17:49:40 +01:00
Xavier Morel b1985884fb [FIX] link between binary field and file name is @filename, not @fieldname
lp bug: https://launchpad.net/bugs/915537 fixed

bzr revid: xmo@openerp.com-20120116140158-8tah34gwy01967u8
2012-01-16 15:01:58 +01:00
Vo Minh Thu 0ed4377cf8 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120112155027-u3bagec0g9fqr0yi
bzr revid: vmt@openerp.com-20120116110434-ckhp01ze83cwm32y
2012-01-16 12:04:34 +01:00
Florent Xicluna f51dc9a0bd [FIX] handle correctly the case when the PATH_INFO ends with a slash.
bzr revid: florent.xicluna@gmail.com-20120115235235-kw4vvmp622q8843f
2012-01-16 00:52:35 +01:00
Florent Xicluna 9f3096d31f [FIX] missing import and remove unused vars.
bzr revid: florent.xicluna@gmail.com-20120115235215-6dgoxyu270bsquba
2012-01-16 00:52:15 +01:00
Florent Xicluna 290961f08a [REF] consistently use simplejson as json library.
bzr revid: florent.xicluna@gmail.com-20120115214702-dh7i7w17ubepc6eo
2012-01-15 22:47:02 +01:00
Florent Xicluna 40c1de87d8 [REF] remove unused import, always import literal_eval from tools.safe_eval.
bzr revid: florent.xicluna@gmail.com-20120115214214-0rjwn80choc9g0fs
2012-01-15 22:42:14 +01:00
Launchpad Translations on behalf of openerp 9b02aed518 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120114051038-jxxvburcw1gihii5
2012-01-14 05:10:38 +00:00
Raphael Collet 3e59fe9556 [IMP] base: remove menuitem 'Import Module', as the feature is deprecated
bzr revid: rco@openerp.com-20120113140647-31tmnpqye7sdeh6u
2012-01-13 15:06:47 +01:00
Raphael Collet 615e65094a [IMP] base: hide field 'street2' from company form view
bzr revid: rco@openerp.com-20120113135206-m3y3pwa3i2dqz23c
2012-01-13 14:52:06 +01:00
Launchpad Translations on behalf of openerp bb0aba6522 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120113043914-p7g5d8l3yp5zvxhs
2012-01-13 04:39:14 +00:00
Olivier Dony 0b0f083f91 [REL] OpenERP 6.1rc1
bzr revid: odo@openerp.com-20120112192107-884x8kz4gxju1g9u
2012-01-12 20:21:07 +01:00
Olivier Dony e216218f44 [FIX] res.partner.category: merge the 2 classes bearing the same name
The name conflict causes the second class to
shadow the first one, thus breaking future
references to the first one, including any
super() call inside it!
6.1 has 2-pass loading of models so we can
simply merge the two classes now, and get
rid of the issue.

bzr revid: odo@openerp.com-20120112105043-ij740gptzu4gv6tw
2012-01-12 11:50:43 +01:00
Vo Minh Thu 5089a678cb [IMP] res_users.login(): eliminate a possibility to get a transaction rollbacked
because of concurrent access. This can happen when the same user is trying to log in
from many clients concurrently.

bzr revid: vmt@openerp.com-20120112084030-kkz1aztp5t6vkbh9
2012-01-12 09:40:30 +01:00
Launchpad Translations on behalf of openerp a2895b719f Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120111044006-ehpf8voofuo20mzc
bzr revid: launchpad_translations_on_behalf_of_openerp-20120112054003-82qy0l7x1jbboc9r
bzr revid: launchpad_translations_on_behalf_of_openerp-20120112054058-8hdv1vhku59lbgb3
bzr revid: launchpad_translations_on_behalf_of_openerp-20120112060622-vns7g4vc2v6thkme
2012-01-12 06:06:22 +00:00
Vo Minh Thu daa41b61c1 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120110154333-kdwsff0faftcwvku
2012-01-10 16:43:33 +01:00
Vo Minh Thu 013794b978 [IMP] orm: cosmetics (and the runbot will build this branch again).
bzr revid: vmt@openerp.com-20120110153448-ot1vpcmwjbeykx9t
2012-01-10 16:34:48 +01:00
Vo Minh Thu 6c1ad196bf [IMP] openerp.modules: updated initialize_sys_path() docstring (although its name is now inaccurate).
bzr revid: vmt@openerp.com-20120110092730-rqewzuo1wa5wy2q5
2012-01-10 10:27:30 +01:00
Olivier Dony 8ac7936990 [MERGE] fix o2m: respect static @domain when clearing a field (writing [(5,..)])
bzr revid: odo@openerp.com-20120109142610-31uunv7ktz3iwcds
2012-01-09 15:26:10 +01:00
Olivier Dony 356e4ed9bd [FIX] translation: remove calls to trans_update_res_ids
Calling this method is no longer required since the
merge of the new code for loading translations using
a temporary table. The method itself has been removed
at revision 3919, so all calls to it should have been
cleaned up as well.
Rev.3919 = rco@openerp.com-20111223104824-fup1cjbjni1fsty1

bzr revid: odo@openerp.com-20120109140958-10i1ti16tw327580
2012-01-09 15:09:58 +01:00
Olivier Dony 4dfc1e53f5 [FIX] fields.o2m: respect static @domain when clearing a field (writing [(5,..)])
bzr revid: odo@openerp.com-20120109140432-3np49l2esds0l1yb
2012-01-09 15:04:32 +01:00
Vo Minh Thu d348a0de79 [IMP] import hook: moved to a proper location (openerp.modules.module instead of openerp-server).
bzr revid: vmt@openerp.com-20120109125243-qhtr070dvtc3akb5
2012-01-09 13:52:43 +01:00
Vo Minh Thu 455e47e5e8 [IMP] openerp.addons: openerp.addons is used instead of
openerp.modules as the namespace of the OpenERP addons.

bzr revid: vmt@openerp.com-20120109124120-06gguu3lzxv49i3j
2012-01-09 13:41:20 +01:00
Vo Minh Thu 1560538f8a [IMP] module: use the openerp.addons. namespace to load addons.
(openerp.modules will be changed in openerp.addons in the next commit).

bzr revid: vmt@openerp.com-20120109123123-jt3canjbg0ozs05j
2012-01-09 13:31:23 +01:00
Vo Minh Thu f24a29717e [FIX] orm: correctly set the module name on the model, even when imported with
`import openerp.modules.<module_name>`.

bzr revid: vmt@openerp.com-20120109101647-4hvy3n6eifzeozzq
2012-01-09 11:16:47 +01:00
Vo Minh Thu 34a3991174 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120109083957-06ahuojw1d4m954g
2012-01-09 09:39:57 +01:00
Vo Minh Thu 64ec5f36df [IMP] modules: began to replace sys.path appending with an import hook.
bzr revid: vmt@openerp.com-20120109081206-p10yack8lhip11gt
2012-01-09 09:12:06 +01:00
Launchpad Translations on behalf of openerp fba1686a78 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120107052041-yb9lin8pt6fiktit
bzr revid: launchpad_translations_on_behalf_of_openerp-20120108050339-3f9e3szj5cywz6d3
bzr revid: launchpad_translations_on_behalf_of_openerp-20120109044946-zcolka6mpokbp60m
2012-01-09 04:49:46 +00:00
Olivier Dony cf113c2316 [FIX] base: module sequence number removed from XML data, moved to individual module manifests
Having the sequence number living outside the module itself
causes various problems at initialization when modules are
missing (e.g. if creating a database with `base` only).
It is also cleaner to have the module sequence in the
module manifest, like other module metadata.
A corresponding commit in the addons project adds the
`sequence` field in the manifest of all modules who
have a non-default sequence (the main apps).

bzr revid: odo@openerp.com-20120107041745-tik3iu1b2qs4ym85
2012-01-07 05:17:45 +01:00
Olivier Dony 9099fca5f6 [FIX] openerp.wsgi: missing system-wide addons loading in on_starting()
bzr revid: odo@openerp.com-20120106132418-jrr7i7l0el0ig2ry
2012-01-06 14:24:18 +01:00