Commit Graph
43431 Commits
Author SHA1 Message Date
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
Xavier Morel 239a744948 [FIX] IE8 does not like it very much when we try to appendChild on an iframe, nosir
bzr revid: xmo@openerp.com-20120118114518-hrotf7hzkddx1hyr
2012-01-18 12:45:18 +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
Xavier Morel 31e8d0f843 [FIX] if a text node is composed only of whitespace, IE<=8 just throws the fucking thing out. Add @xml:space to "fix".
It does not just collapse the whitespace, it does not even insert the
node into its XML DOM unless said node is within the scope of an
@xml:space="preserve" (which mandates that the parser leaves all text
unmolested).

Added that in the foreach test case (which makes use of significant
whitespace), but we may have to add it to templates as well in some
cases (since whitespace is significant in HTML)..

bzr revid: xmo@openerp.com-20120118112538-ju4kxfz154qm8yny
2012-01-18 12:25:38 +01:00
Xavier Morel 00af91057f [FIX] Internet Explorer can't CDATA in HTML documents, convert XML CDATA sections into TEXT html sections
bzr revid: xmo@openerp.com-20120118112451-f7sbhzalhl2vapmc
2012-01-18 12:24:51 +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
Xavier Morel d5a0079d09 [IMP] LOWERCASE ALL THE THINGS
MSIE serializes nodes to UPPERCASE EVERYTHING (unless the known are generic/unknown), which breaks tests as JS doesn't really have case-insensitive comparisons

bzr revid: xmo@openerp.com-20120118110118-pfiy1n2g4yhfjtso
2012-01-18 12:01:18 +01:00
Xavier Morel 80cc9c990f [FIX] XML serialization for MSIE8 (not by much, but now it kinda works again)
bzr revid: xmo@openerp.com-20120118105751-2jnwcilwc5p6kgth
2012-01-18 11:57:51 +01:00
Xavier Morel 45371d6e9c [IMP] qweb: switch is shorter than inline object + dispatch
bzr revid: xmo@openerp.com-20120118105720-g0zntwfqnxh5j4gf
2012-01-18 11:57:20 +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
Xavier Morel 44f4444807 [REM] incorrect link to local jQuery
bzr revid: xmo@openerp.com-20120118104646-2auwjwcr5lag2g5c
2012-01-18 11:46:46 +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
Xavier Morel 0694c25836 [FIX] convert XML documents to HTML in MSIE so jQuery does not bork its parsing
done via DOM traversal, slow as shit and currently drops half the attributes

bzr revid: xmo@openerp.com-20120118104015-ot102e8yniqjd4bf
2012-01-18 11:40:15 +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
Bharat Devnani (OpenERP) 3b7fef4217 [FIX] fixed the TypeError and improved the code
bzr revid: bde@tinyerp.com-20120118101848-w8gu81v0zsz9gijq
2012-01-18 15:48:48 +05:30
Jagdish Panchal (Open ERP) 3bc2de99d2 [FIX] account_invoice.py: Replace the domain on partner_bank_id in customer refund and supplier refund
lp bug: https://launchpad.net/bugs/914282 fixed

bzr revid: jap@tinyerp.com-20120118101428-dxv29dtld7ufhqb7
2012-01-18 15:44:28 +05:30
Vo Minh Thu 75b3fc0907 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20120118101252-e81nlyzym2nkebf4
2012-01-18 11:12:52 +01:00
Bharat Devnani (OpenERP) c38b686d5f [IMP] removed unused attributes from IntraConsignment tag, added <ReplacedIntraListing> tag and improved the code
bzr revid: bde@tinyerp.com-20120118094549-7brcez5af6g43oop
2012-01-18 15:15:49 +05:30
Mayur Maheshwari (OpenERP) 26e17799a4 [FIX]stock: set a read rights to the user in stock.move
lp bug: https://launchpad.net/bugs/917333 fixed

bzr revid: mma@tinyerp.com-20120118084854-rpq7u420uxdvcepy
2012-01-18 14:18:54 +05:30
Bharat Devnani (OpenERP) 966f688c3c [IMP] improved and modified the Partner VAT Intra wizard of l10n_be module
bzr revid: bde@tinyerp.com-20120118051256-wm9n4rp0ypmjcuiq
2012-01-18 10:42:56 +05:30
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
Yannick Vaucher d70db933c3 [IMP] l10n_ch - bank form view
bzr revid: yannick.vaucher@camptocamp.com-20120117173326-cpjbxxgzukqa7a3c
2012-01-17 18:33:26 +01:00
Yannick Vaucher a6532d1c67 [IMP] l10n_ch - default accounts of sterchi chart template
bzr revid: yannick.vaucher@camptocamp.com-20120117173010-fccer78tdi2ntdbe
2012-01-17 18:30:10 +01:00
Yannick Vaucher 61c3841ed7 [MRG] from c2c swiss localization
bzr revid: yannick.vaucher@camptocamp.com-20120117172153-elginy094q5rvt7s
2012-01-17 18:21:53 +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
Xavier Morel b9a290a38b [FIX] avoid losing all available views when switching from graph to list via clicking on graph item
bzr revid: xmo@openerp.com-20120117164337-tuh1tkjra0drvg7r
2012-01-17 17:43:37 +01:00
Paulius Sladkevičius f554ff1086 [FIX] account_asset, _compute_entries method depreciation line search
bzr revid: paulius@inovera.lt-20120117164318-oqko4wba68577hpz
2012-01-17 18:43:18 +02:00
Olivier Dony 387c476a1d [FIX] l10n_multilang: account.account.name needs to be translatable, courtesy of Nicolas Bessi (Camptocamp)
The translatable flag in account.account.name was
lost during a failed merge operation, so it needs
to be restored.

bzr revid: odo@openerp.com-20120117161935-vdfz38w97undmvi2
2012-01-17 17:19:35 +01:00
Xavier Morel 68c97bd36b [FIX] buttons order in dialog confirming actions
bzr revid: xmo@openerp.com-20120117153333-6cuih7w3iuuv1mlk
2012-01-17 16:33:33 +01:00
Xavier Morel 48d63ff9c6 [FIX] missing translation mark
bzr revid: xmo@openerp.com-20120117153232-7232xrscs016o150
2012-01-17 16:32:32 +01:00
Xavier Morel 8da5428006 [FIX] re-fix weird behavior of Firefox where text punches out of buttons if white-space nowrap and width 100% but not enough room
lp bug: https://launchpad.net/bugs/917551 fixed

bzr revid: xmo@openerp.com-20120117151051-m3l2lo7fiykcbv4t
2012-01-17 16:10:51 +01:00
Xavier Morel 517862aa45 [FIX] some MSIE8 stuff
bzr revid: xmo@openerp.com-20120117144359-k9l1289wq8ngb3pr
2012-01-17 15:43:59 +01:00
Xavier Morel c82878388a [FIX] qweb: benchmark on browsers without console.time & console/timeEnd
bzr revid: xmo@openerp.com-20120117143806-x5hqclaw6a8hdu98
2012-01-17 15:38:06 +01:00
Xavier Morel 98f0b22d9a [MERGE] qweb casing fix
bzr revid: xmo@openerp.com-20120117140254-ans3ugulji5h61vw
2012-01-17 15:02:54 +01:00
Xavier Morel aeebcf3dcc [FIX] un-nivity call of WebClient, IE8 does not like nobody to mess with its body:
bzr revid: xmo@openerp.com-20120117140213-u2n1l4cg1nz1xrea
2012-01-17 15:02:13 +01:00
Fabien Meghazi 425b6b4b33 [FIX] QWeb: Internet Explorer DOM converts tags to uppercase
bzr revid: fme@openerp.com-20120117135958-gv2iv4ixomqzcnny
2012-01-17 14:59:58 +01:00
Xavier Morel 7d305cbbee [FIX] MSIE does not like calling .html on the page's title, set the string on the document's title directly (as a property)
bzr revid: xmo@openerp.com-20120117135817-t3ggfjp71r6io6b4
2012-01-17 14:58:17 +01:00
Xavier Morel 439f23d77b [FIX] root css on .openerp, not body.openerp
bzr revid: xmo@openerp.com-20120117135312-f9pmqgmy4704vfyh
2012-01-17 14:53:12 +01:00
Fabien Meghazi a76f9d6112 [ADD] Add write_date to hr.employee and product.product in order to allow image reloading in kanban views
bzr revid: fme@openerp.com-20120117134713-uewdqmv08r6r5hmq
2012-01-17 14:47:13 +01:00