Commit Graph

42346 Commits

Author SHA1 Message Date
Launchpad Translations on behalf of openerp abdd7ee80a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120120043919-2ocn475pp0mg6lxi
bzr revid: launchpad_translations_on_behalf_of_openerp-20120120050547-7tx0jp1f156n2hxu
2012-01-20 05:05:47 +00:00
Xavier Morel ccde5e2f5e [REM] unused imports mistakenly added in revision xmo@openerp.com-20120119144837-dp6r7vqx581b4mrt
bzr revid: xmo@openerp.com-20120119155425-kud19lwt56du1ym9
2012-01-19 16:54:25 +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
Xavier Morel f9cbad5bf6 [FIX] correctly display crash manager in case of report error
lp bug: https://launchpad.net/bugs/917227 fixed

bzr revid: xmo@openerp.com-20120119144837-dp6r7vqx581b4mrt
2012-01-19 15:48:37 +01:00
Christophe Simonis c078d23d16 [FIX] avoid blank page when the database assigned to the session has been removed
bzr revid: chs@openerp.com-20120119143057-pbqdh15jptyc7y0a
2012-01-19 15:30:57 +01:00
Xavier Morel 766c664d6d [FIX] extend revid:fme@openerp.com-20120117124417-k3vdiktc93gl99fi to all instances of Firefox
bug randomly happens on FF 9.0.1/OSX as well

bzr revid: xmo@openerp.com-20120119114614-6br6qj4byhy0ct1a
2012-01-19 12:46:14 +01:00
Olivier Dony c5845be244 [FIX] report_webkit: translations lookup should ignore report name for webkit reports
Webkit/Mako translations are quite different from RML
report translations, and very similar to translations
for Python code terms, i.e. with _(). The method to
lookup the translations at rendering time should thus
be similar to what _() does for Python code terms, and
not depend on the name of the report, which is not
known when exporting the translation template, and is
therefore not available in POT meta-data.
This bears no performance penalty, as we are still
only looking inside 'report'-typed translations with
the matching 'source term'.
The only downside is that this prevents per-report
translations, but this is not supported by our
translation import/export system anyway, so it 
does not matter (msgid strings must be unique
within a PO file, and we don't support context-
sensitive PO files yet).

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

bzr revid: odo@openerp.com-20120119102145-tp3w80bhjwq11q84
2012-01-19 11:21:45 +01:00
Olivier Dony 5d743ccc53 [FIX] report_webkit: avoid using report name in temp file path, breaks with non-ASCII (translated) report names
bzr revid: odo@openerp.com-20120119101149-6npyju87vz2mi5c2
2012-01-19 11:11:49 +01:00
Vo Minh Thu 8568e89ddf [FIX] document_ftp: break self-import (which is causing a segfault since the import-hook has been merged in the server).
bzr revid: vmt@openerp.com-20120119095724-wkbu8oewdxzbvwxd
2012-01-19 10:57:24 +01:00
Xavier Morel 03c5fd00a2 [MERGE] various style and code improvements, and overly broad exception handlers fixes
bzr revid: xmo@openerp.com-20120119095236-0ge089y2yhpcz8h3
2012-01-19 10:52:36 +01:00
Xavier Morel 06fccf455d [IMP] avoid creating and discarding OpenERPSession instances on each request which already uses a valid session
bzr revid: xmo@openerp.com-20120119094315-7sz1rqno09i6gv3b
2012-01-19 10:43:15 +01:00
Florent Xicluna b540f5ad3f [REF] the openerplib should be fixed upstream.
bzr revid: florent.xicluna@gmail.com-20120119093520-92udlqrq8ufyw43s
2012-01-19 10:35:20 +01:00
Florent Xicluna 4b65b076f0 [REF] do not create useless OpenERPSession objects on each request.
bzr revid: florent.xicluna@gmail.com-20120119090648-jck7ggaigy6zaalw
2012-01-19 10:06:48 +01:00
Florent Xicluna 3ec4ad3201 [REF] code review.
bzr revid: florent.xicluna@gmail.com-20120119085213-94b2p3268q25bni2
2012-01-19 09:52:13 +01:00
Launchpad Translations on behalf of openerp d49c7de24d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120119045114-1uzft0w0d45gb143
2012-01-19 04:51:14 +00:00
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
Olivier Dony f1dc3773b8 [FIX] email_template: properly pass target model in composition wizard reloading action
This fixes reloading of the composition wizard after selecting
templating options in the new web client.

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

bzr revid: odo@openerp.com-20120118162203-17d1tug4lw40wpex
2012-01-18 17:22:03 +01:00
niv-openerp 3e7c98f5e5 [imp] cleared main html
bzr revid: nicolas.vanhoren@openerp.com-20120118161735-2yuxisndfq92ctoi
2012-01-18 17:17:35 +01:00
niv-openerp 5182408541 [imp] added id to fields values to please tfr
bzr revid: nicolas.vanhoren@openerp.com-20120118161517-dz9nwcgp49vbqgwj
2012-01-18 17:15:17 +01: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 8ffac09200 [MERGE] tools.literal_eval -> ast.literal_eval (as we drop python 2.5 support).
bzr revid: vmt@openerp.com-20120118160153-o2nbgxwndhfh3yc0
2012-01-18 17:01:53 +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
Xavier Morel f1e60702e3 [FIX] re-add auto_search
lp bug: https://launchpad.net/bugs/908696 fixed

bzr revid: xmo@openerp.com-20120118144826-3aio04bfrf35wx7i
2012-01-18 15:48:26 +01:00
Quentin (OpenERP) 448555efbc [MERGE] lp:916704
bzr revid: qdp-launchpad@openerp.com-20120118133834-33e48s20r11zc2ct
2012-01-18 14:38: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
Minh Tran 34c7e0b08d [FIX] Fixed transparent login pane issue in IE8
bzr revid: mit@openerp.com-20120118130403-5nfselwnwtkad4q4
2012-01-18 14:04:03 +01:00
Quentin (OpenERP) 7e64d5270e [MERGE] lp:915426
bzr revid: qdp-launchpad@openerp.com-20120118125046-rlre1oheeuwfepwh
2012-01-18 13:50:46 +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 a3c18f3173 [IMP] tools.literal_eval -> ast.literal_eval (as we drop python 2.5 support).
bzr revid: vmt@openerp.com-20120118111855-he177la0butae3jr
2012-01-18 12:18:55 +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 110e826252 [MERGE] changes required for the "import hook" commit in the server.
bzr revid: vmt@openerp.com-20120118104708-wqa2fam7qnaw3jdk
2012-01-18 11:47:08 +01:00
Vo Minh Thu 7f6df68536 [MERGE] changes required for the "import hook" commit in the server.
bzr revid: vmt@openerp.com-20120118104635-mn4vca0xw2b9s8w2
2012-01-18 11:46:35 +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
Vo Minh Thu 75b3fc0907 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120118101252-e81nlyzym2nkebf4
2012-01-18 11:12:52 +01:00
Launchpad Translations on behalf of openerp 8fc14b07fc Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20120118044449-u5o363u389ur3ajo
2012-01-18 04:44:49 +00: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
Fabien Meghazi 152f92916b [FIX] QWeb: well... ahem... This is embarassing...
bzr revid: fme@openerp.com-20120117215949-36uxh7r1izvah35l
2012-01-17 22:59:49 +01:00
Fabien Meghazi ad3604737d [FIX] Fix QWeb default dict extend
bzr revid: fme@openerp.com-20120117215542-2j31xq9iovu2z0cv
2012-01-17 22:55:42 +01:00
Fabien Meghazi 182c88b4fb [REM] Forgot a console.log
bzr revid: fme@openerp.com-20120117215255-2klsb78lfor3y6jb
2012-01-17 22:52:55 +01:00
Fabien Meghazi ebb62abe7a [FIX] QWeb: fix 2 unit tests
bzr revid: fme@openerp.com-20120117212234-u4wo2m9c3ew2t6ej
2012-01-17 22:22:34 +01:00
Fabien Meghazi da0522edb7 [REV] Revert Revision#6353: Will use __last_update instead of write_date
bzr revid: fme@openerp.com-20120117202859-uoo6jw9nilfxs33b
2012-01-17 21:28:59 +01:00
Fabien Meghazi 360d738788 [IMP] Kanban: use __last_update instead of write_date
bzr revid: fme@openerp.com-20120117202607-sj6v29istbkxt9rq
2012-01-17 21:26:07 +01:00
Christophe Simonis 031f85a37a [FIX] correct session cleaning
bzr revid: chs@openerp.com-20120117170636-7z6epwzt7rlrtaip
2012-01-17 18:06:36 +01: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