Thibault Delavallée
c63ffed24d
[IMP] tools: mail: the cleaner, by parsing and serializing the html content,
...
encapsulatse the whole content inside a div. This means that html fields are
not editor-clean after being sanitized, because a div has been inserted as root
element. Removing this element allows to have snippets that can be dragged,
dropped, or to insert new snippets inside edited html content in html fields.
[IMP] tools: tests: mail: updated a test accordingly
bzr revid: tde@openerp.com-20140115142709-e4951b4nc06sfxf0
2014-01-15 15:27:09 +01:00
Thibault Delavallée
2c4600f242
[IMP] [READD] [IMP] tools: mail: have a strict mode for html_sanitizer (not default) with
...
options before website: without frames, with safe attributes only.
We will have to find a way to use the strict mode when parsing incoming
emails, but not when sending or storing openerp content.
Currently the not strict mode is the default one, to avoid side-effects with
the website.
bzr revid: tde@openerp.com-20140115141319-g15zl1kqrp8sgoa3
2014-01-15 15:13:19 +01:00
Xavier Morel
58ff276887
[FIX] pillow-compatible import
...
bzr revid: xmo@openerp.com-20140114124843-zpg2qzua90uq1pxu
2014-01-14 13:48:43 +01:00
Christophe Matthieu
a02797b26b
[FIX] base.language.install remove explicit access access_base_language_install_group_user
...
bzr revid: chm@openerp.com-20140113173509-4syed8md6drifv2q
2014-01-13 18:35:09 +01:00
Thibault Delavallée
fe0af74eab
[REV] Reverted last commit.
...
bzr revid: tde@openerp.com-20140113165423-8nu3838d4yj3h3j4
2014-01-13 17:54:23 +01:00
Thibault Delavallée
94357739bc
[IMP] tools: mail: have a strict mode for html_sanitizer (not default) with
...
options before website: without frames, with safe attributes only.
We will have to find a way to use the strict mode when parsing incoming
emails, but not when sending or storing openerp content.
Currently the not strict mode is the default one, to avoid side-effects with
the website.
bzr revid: tde@openerp.com-20140113085701-f2bzu94cq1z3tl10
2014-01-13 09:57:01 +01:00
Christophe Matthieu
bad16022e8
[FIX] base_language_install: add access right: access for group_user
...
bzr revid: chm@openerp.com-20140113082826-glv3v4pum6k4l1hh
2014-01-13 09:28:26 +01:00
Christophe Matthieu
e82cb100bf
[FIX] res.font: add access right: read allow for all user and all allow for group_user
...
bzr revid: chm@openerp.com-20140113082004-x494blqy2xjfc4wl
2014-01-13 09:20:04 +01:00
Xavier Morel
d80afb469f
[FIX] avoid crashing on fonts which reportlab can't load yet does not throw a TTFError on
...
bzr revid: xmo@openerp.com-20140109103040-2i5prvhoag33ij1g
2014-01-09 11:30:40 +01:00
Xavier Morel
43bc13de27
[REM] datetime pattern conversion tests
...
locales are a pain in the ass, there doesn't seem to be any locale
which all machines are guaranteed to have (except maybe C), and some
systems reject encoding-less locales while babel rejects encodings.
bzr revid: xmo@openerp.com-20140109081731-uryy2aa2odc7ud2g
2014-01-09 09:17:31 +01:00
Xavier Morel
23b8f160d3
[IMP] attempt (again) to fix testing of datetime pattern conversions tests
...
In order to ensure that the conversion is at least sensible, we test
the output of strftime and babel on the same pattern (after conversion
from POSIX to LDML for Babel). This requires that both use the same
locale.
Previously, the default locale was being used(-ish), but it turns out
when the locale is unset (getdefaultlocale() returns (None, None)
``strftime`` still manages to use some sort of default locale (C?),
whereas Babel will yield the locale None. It turns out the runbot
executes the server with no locale-related envvar set, and thus hits
this very issue.
Assume there are no concurrent tests being run and use setlocale to
try and ensure strftime and babel see the same locale.
Also, remove tests on %x and %X, turns out libc and babel generally
have very different ideas about what constitutes a "national
representation" of a date or time, so the patterns don't match in the
first place. And I found no way to expand %x/%X into its sub-patterns.
bzr revid: xmo@openerp.com-20140108162817-n5gd2oryaszf099k
2014-01-08 17:28:17 +01:00
Xavier Morel
6aa79d8cb3
[IMP] attempt to improve yaml test message in order to make its errors somewhat less cryptic
...
and make it easier to understand why it's whining.
bzr revid: xmo@openerp.com-20140108133722-9ac9l3w7wij0pl1i
2014-01-08 14:37:22 +01:00
Xavier Morel
4a3a7130fb
[IMP] replace setattr with direct attribute setting
...
bzr revid: xmo@openerp.com-20140108102118-virpiwarr0t0ojek
2014-01-08 11:21:18 +01:00
Christophe Matthieu
3d618cd6b4
[IMP] ir_qweb: add groups evaluation when a qweb view is rendered
...
bzr revid: chm@openerp.com-20140107151227-837ecc075be2prp8
2014-01-07 16:12:27 +01:00
Fabien Meghazi
51c53cb396
[IMP] QWeb: set template information on 'iterator not found' exception
...
bzr revid: fme@openerp.com-20140107105452-qrthkboh5wearljb
2014-01-07 11:54:52 +01:00
Thibault Delavallée
7a72d858cb
[MERGE] Sync with trunk
...
bzr revid: tde@openerp.com-20140103151324-jk0u8vmrxxomy5vx
2014-01-03 16:13:24 +01:00
Launchpad Translations on behalf of openerp
a5f3084ac4
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140101052634-06unjy412n3xm508
bzr revid: launchpad_translations_on_behalf_of_openerp-20140106043902-000yyr2clg1qc9lb
2014-01-06 04:39:02 +00:00
Launchpad Translations on behalf of openerp
ced63415b7
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20140103054140-sxa6ru24qvhgz2ve
bzr revid: launchpad_translations_on_behalf_of_openerp-20140104054255-7o6b0x7c1vifv0do
bzr revid: launchpad_translations_on_behalf_of_openerp-20140105052647-pckbu2ehnp5l8217
2014-01-05 05:26:47 +00:00
Thibault Delavallée
2488f78e6d
[FORWARD] Forward port of latest saas-2 fixes, until revision 9062 (revid tde@openerp.com-20140102124143-m1qv8koovjcl8mah)
...
bzr revid: tde@openerp.com-20140102133028-xhvkzstqy5t8dquh
2014-01-02 14:30:28 +01:00
Thibault Delavallée
5e7fdb5bcc
[MERGE] [IMP] hr: changed some pictures of employees in demo data to avoid copyright issues
...
bzr revid: tde@openerp.com-20140102125858-b2r3mntmj5uu15nl
2014-01-02 13:58:58 +01:00
Thibault Delavallée
c243854aae
[FIX] account_anglo_saxon: fixed yml tests using an hardocded year instead of the current year.
...
bzr revid: tde@openerp.com-20140102124143-m1qv8koovjcl8mah
2014-01-02 13:41:43 +01:00
Thibault Delavallée
737be08fbf
[MERGE] account: cash register view improvements
...
- now looking like cash control methods from the point of sale module.
point of sale: improved some tooltips + cash control form view improvements
bzr revid: tde@openerp.com-20140102113009-lb1vv2w3g4dz2oqw
2014-01-02 12:30:09 +01:00
Martin Trigaux
0bd968a801
[MERGE] [FIX] ir_translation: backport of rev 5018 from trunk
...
rename method load to load_module_terms to avoid name clash with load call from base_import (opw 602531)
bzr revid: mat@openerp.com-20131231140358-ldh0snu9zmcs3tpw
2013-12-31 15:03:58 +01:00
Launchpad Translations on behalf of openerp
d963fa888c
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131231050201-641kcunlgq2qa0ux
2013-12-31 05:02:01 +00:00
Launchpad Translations on behalf of openerp
67e479e96e
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131225060225-zss93rqqqz3holkp
bzr revid: launchpad_translations_on_behalf_of_openerp-20131226060540-odnnltlm0bobiqp9
bzr revid: launchpad_translations_on_behalf_of_openerp-20131227052235-xq201ghozcgucfuq
bzr revid: launchpad_translations_on_behalf_of_openerp-20131228051943-jo247cfuiyx4w767
bzr revid: launchpad_translations_on_behalf_of_openerp-20131230043947-d1jcf2vpf9go93ec
bzr revid: launchpad_translations_on_behalf_of_openerp-20131231044745-8v24a0fydnvde3js
2013-12-31 04:47:45 +00:00
Martin Trigaux
216303c2fa
[FIX] ir_translation: rename method load to load_module_terms to avoid name clash with load call from base_import
...
bzr revid: mat@openerp.com-20131230125307-kald7ir36bvq3o7c
2013-12-30 13:53:07 +01:00
Martin Trigaux
8146a3ed43
[FIX] note: revert rev 9055 as made impossible to change stage if no rights on other users' relations
...
bzr revid: mat@openerp.com-20131230104045-2h070kuouz4msz1x
2013-12-30 11:40:45 +01:00
Paramjit Singh Sahota
87291ef069
[MERGE] Merged lp:openobject-addons
...
bzr revid: psa@tinyerp.com-20131230072718-um169nlnfdblzzyx
2013-12-30 12:57:18 +05:30
Paramjit Singh Sahota
7980ac78ae
[IMP] Improved code as per the suggestions on the Merge proposal.
...
bzr revid: psa@tinyerp.com-20131230072452-zew8ys6lqomzxcsm
2013-12-30 12:54:52 +05:30
Quentin (OpenERP)
f3737b122c
[IMP] kanban_gauge: allow to set levelcolors in widget options instead of taking the default ones
...
bzr revid: qdp-launchpad@openerp.com-20131227164911-tk7og4pf37jmvj0c
2013-12-27 17:49:11 +01:00
Thibault Delavallée
0bcd78116f
[MERGE] Sync with trunk
...
bzr revid: tde@openerp.com-20131227153517-j278y3hrjj2nzw79
2013-12-27 16:35:17 +01:00
Launchpad Translations on behalf of openerp
1e3ebc0285
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131220051750-c2x3cf7wrd35we7a
bzr revid: launchpad_translations_on_behalf_of_openerp-20131227052617-sg1lzd37c8fk1pgm
2013-12-27 05:26:17 +00:00
Martin Trigaux
aba5888a34
[MERGE] [ADD] gamification
...
New modules gamification, hr_gamification, gamification_sale_crm, portal_gamification.
Merry Christmas OpenERP
bzr revid: mat@openerp.com-20131224155138-3bbp8m3gyrfsb3ni
2013-12-24 16:51:38 +01:00
Martin Trigaux
a42bf998e2
[MERGE] sync with trunk
...
bzr revid: mat@openerp.com-20131224154340-pwtp292xac5eodci
2013-12-24 16:43:40 +01:00
Martin Trigaux
90ebde3676
[FIX] gamification: remove old calls to action_close
...
bzr revid: mat@openerp.com-20131224152902-i2ozrf41y1ou2vdm
2013-12-24 16:29:02 +01:00
Martin Trigaux
13bfaef3a3
[FIX] gamification: remove old calls to action_start
...
bzr revid: mat@openerp.com-20131224151543-oofn9wc2w3933gjy
2013-12-24 16:15:43 +01:00
Martin Trigaux
58994713d8
[FIX] gamification: move template block before challenge declaration
...
bzr revid: mat@openerp.com-20131224150549-uafyr7lyva3u9k8n
2013-12-24 16:05:49 +01:00
Martin Trigaux
ff83d9eb4d
[FIX] gamification: remove import data, add trackvisibility on challenge instead of sending message
...
bzr revid: mat@openerp.com-20131224145449-93b3z97lagu12yri
2013-12-24 15:54:49 +01:00
Martin Trigaux
be7bc54edc
[REF] gamification: use m2o to email.template for report progress, create new field report_template_id, cleaning code
...
bzr revid: mat@openerp.com-20131224144514-lmbhw88nj7aa3r8i
2013-12-24 15:45:14 +01:00
Martin Trigaux
25117ca97f
[REF] gamification: use statusbar instead of action buttons
...
bzr revid: mat@openerp.com-20131224141140-vc0v5lpm0ivfl6i4
2013-12-24 15:11:40 +01:00
Martin Trigaux
22a291d47a
[REF] gamification: use sass files instead of native css
...
bzr revid: mat@openerp.com-20131224134405-9k4potbzq7ea20p4
2013-12-24 14:44:05 +01:00
Martin Trigaux
aefd64e8cf
[REF] gamification: compute_code is now similar to ir.actions, cleanup code
...
bzr revid: mat@openerp.com-20131224130023-e4gc91ell38zdtfj
2013-12-24 14:00:23 +01:00
Denis Ledoux
1508c5dd00
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9718 rev-id: dle@openerp.com-20131224103535-rhtje7dnq1ie7jtb
...
bzr revid: tde@openerp.com-20131220162158-hbgktly09dv37958
bzr revid: dle@openerp.com-20131223155041-8zp8e08fihbr0ie2
bzr revid: dle@openerp.com-20131224112407-aw6dq2q92312kjbk
2013-12-24 12:24:07 +01:00
Denis Ledoux
d1b4aa974d
[FIX] account_voucher: computed writeoff and invoices selected were not right on partial invoice payment in account voucher wizard.
...
Due to the algorithm which did not handle the fact that an invoice could have several move lines
bzr revid: dle@openerp.com-20131224103535-rhtje7dnq1ie7jtb
2013-12-24 11:35:35 +01:00
Gery Debongnie
68795d8a10
[IMP] changes the rng description of the xml grammar to add a 'stacked' attribute to the tag 'graph'
...
bzr revid: ged@openerp.com-20131224103207-48jd6gh78xmri8wd
2013-12-24 11:32:07 +01:00
Launchpad Translations on behalf of openerp
87aae0efca
Launchpad automatic translations update.
...
bzr revid: launchpad_translations_on_behalf_of_openerp-20131224055213-dm6b0zx4e0fn18ex
2013-12-24 05:52:13 +00:00
Martin Trigaux
6f5815f44d
[REF] gamification: cahnge some tde remarks, Long live Cthulhu
...
bzr revid: mat@openerp.com-20131223163214-f6yp2yxf5ja1wq22
2013-12-23 17:32:14 +01:00
Martin Trigaux
7c6a6b26f1
[FIX] gamification: goal.condition -> goal.definition_condition, user_ids not in vals -> not vals.get(user_ids)
...
bzr revid: mat@openerp.com-20131223161229-lpoevttkt6ezt2ia
2013-12-23 17:12:29 +01:00
Martin Trigaux
f4e42879d3
[REF] gamification: rename user_from_id -> sender_id, move constants
...
bzr revid: mat@openerp.com-20131223160143-8mgmwrgf6i3wo8ku
2013-12-23 17:01:43 +01:00
Martin Trigaux
c0eef31160
[REF] gamification: add user_from_id on badge, remove outdated-doc, remove useless message_post call
...
bzr revid: mat@openerp.com-20131223155404-h4in4ocr8jakq3ff
2013-12-23 16:54:04 +01:00