Thibault Delavallée [Tue, 11 Feb 2014 10:04:45 +0000 (11:04 +0100)]
[IMP] web_kanban_gauge: udpated parameters
- new parameters: input_value_field is now called gauge_value_field, this is the field
displayed under the gauge
- new parameter: force_set: whether to force setting a value when the value is nul
- new parameter: on_click_label: label under the input when editing the gauge value
- action_change renamed on_click_action
bzr revid: tde@openerp.com-
20140211100445-289mvmr8grcgns8x
Turkesh Patel (Open ERP) [Mon, 10 Feb 2014 08:53:13 +0000 (14:23 +0530)]
[MRG] merge with lp:openerp-web
bzr revid: tpa@tinyerp.com-
20140210085313-gr6191npb2j1fktf
Antony Lesuisse [Mon, 10 Feb 2014 00:50:08 +0000 (01:50 +0100)]
[IMP] phantomjs helper simplification
bzr revid: al@openerp.com-
20140210005008-0vmwbofnfnuqaj3d
Antony Lesuisse [Mon, 10 Feb 2014 00:45:17 +0000 (01:45 +0100)]
[IMP] phantomjs testing add an easy phantom_js helper
self.phantom_js(<page_to_load>, <code_to_run>, <global_object_to_wait>, **options)
example:
self.phantom_js("/", "openerp.module.mytest()", "openerp.module.mytest");
console.log('ok') or console.log('error') should be used to signal success or
failure. Other console.log's will be passed to the test logger.
bzr revid: al@openerp.com-
20140210004517-jc2cobc31qshxchm
Antony Lesuisse [Sun, 9 Feb 2014 23:47:43 +0000 (00:47 +0100)]
[IMP] test_ui shorter code
bzr revid: al@openerp.com-
20140209234743-n3015x520z9zs4qz
Antony Lesuisse [Sun, 9 Feb 2014 23:47:14 +0000 (00:47 +0100)]
[IMP] test_ui shorter code
bzr revid: al@openerp.com-
20140209234714-bq5w2zo9v402x87v
Antony Lesuisse [Sun, 9 Feb 2014 23:45:31 +0000 (00:45 +0100)]
[IMP] website test shorter code
bzr revid: al@openerp.com-
20140209234531-0i2xgr94yjaqzen8
Antony Lesuisse [Sun, 9 Feb 2014 23:20:40 +0000 (00:20 +0100)]
[IMP] test_ui conversion, needs validation from chm
bzr revid: al@openerp.com-
20140209232040-12uq85pseheth8z0
Antony Lesuisse [Sun, 9 Feb 2014 23:20:01 +0000 (00:20 +0100)]
[IMP] add test_ui
bzr revid: al@openerp.com-
20140209232001-1efvws2pzeldbuhb
Antony Lesuisse [Sun, 9 Feb 2014 23:19:48 +0000 (00:19 +0100)]
[IMP] rename into test_ui like addons
bzr revid: al@openerp.com-
20140209231948-5tqj0nndsod0gyb1
Antony Lesuisse [Sun, 9 Feb 2014 22:39:17 +0000 (23:39 +0100)]
[IMP] phantomtest helper
bzr revid: al@openerp.com-
20140209223917-vruzjvl0mtsqoo87
Antony Lesuisse [Sun, 9 Feb 2014 15:18:22 +0000 (16:18 +0100)]
[IMP] move test cases to tests.py remove deprecated wsgi import
bzr revid: al@openerp.com-
20140209151822-cgk0wibqe1kfd42w
Antony Lesuisse [Sun, 9 Feb 2014 14:33:26 +0000 (15:33 +0100)]
[FIX] re-enable test func and qweb
bzr revid: al@openerp.com-
20140209143326-mitb5g9sdsll9arj
Antony Lesuisse [Sun, 9 Feb 2014 14:19:50 +0000 (15:19 +0100)]
[FIX] disable http test before conversion
bzr revid: al@openerp.com-
20140209141950-o9sf0jual07y315f
Antony Lesuisse [Sun, 9 Feb 2014 14:19:12 +0000 (15:19 +0100)]
[FIX] restore testing after patching runbot
bzr revid: al@openerp.com-
20140209141912-rh3yedrmjudv8jif
Antony Lesuisse [Sun, 9 Feb 2014 14:03:15 +0000 (15:03 +0100)]
[MERGE] saas-3
bzr revid: al@openerp.com-
20140209140315-ukqlf90ngy6ycu2k
Antony Lesuisse [Sun, 9 Feb 2014 13:37:18 +0000 (14:37 +0100)]
[MERGE] trunk-test-al easier http testing
bzr revid: al@openerp.com-
20140209133718-yhjoyue8ke4i8d10
Antony Lesuisse [Sun, 9 Feb 2014 13:28:30 +0000 (14:28 +0100)]
[MERGE] trunk-test-al easier http testing
bzr revid: al@openerp.com-
20140209132830-gm3lh535tq814jvi
Launchpad Translations on behalf of openerp [Sun, 9 Feb 2014 06:19:40 +0000 (06:19 +0000)]
Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-
20140209061940-1k5bgmpbfdd62e2y
Antony Lesuisse [Sun, 9 Feb 2014 03:02:17 +0000 (04:02 +0100)]
remove run_tests command, use -d -u modname --test-enable or --test-file
bzr revid: al@openerp.com-
20140209030217-16i0ze18dr473ecx
Antony Lesuisse [Sun, 9 Feb 2014 02:25:20 +0000 (03:25 +0100)]
fix try to fix runbot oe command
bzr revid: al@openerp.com-
20140209022520-p55nlctjru58ans5
Antony Lesuisse [Sun, 9 Feb 2014 01:46:36 +0000 (02:46 +0100)]
add python --test-file support
bzr revid: al@openerp.com-
20140209014636-2fbl15q8wrubmiup
Antony Lesuisse [Sun, 9 Feb 2014 00:43:10 +0000 (01:43 +0100)]
fix web tests
bzr revid: al@openerp.com-
20140209004310-0jpc29beh7k1e27c
Antony Lesuisse [Sun, 9 Feb 2014 00:40:05 +0000 (01:40 +0100)]
new test execution engine
remove deprecated zipfile support
add preload_registry option when server is running
allow registries to be used in contruction in test mode
add a rollback test case for http tests
add a phantomjs helper
bzr revid: al@openerp.com-
20140209004005-p5pwym4sqc23vw5b
Antony Lesuisse [Sun, 9 Feb 2014 00:37:45 +0000 (01:37 +0100)]
move tests
move test modules
remove xml test
add phantomjs test
readd remove uninstall test (currently disabled because of cr.commit)
bzr revid: al@openerp.com-
20140209003745-ehrx8ikwkmusa644
Fabien Pinckaers [Sat, 8 Feb 2014 12:01:51 +0000 (13:01 +0100)]
[IMP] less black snippet border
bzr revid: fp@tinyerp.com-
20140208120151-l43xf7kamhmmxejr
Fabien Pinckaers [Sat, 8 Feb 2014 11:47:50 +0000 (12:47 +0100)]
[IMP] Buttons snippet
bzr revid: fp@tinyerp.com-
20140208114750-jgtx0h5oevqjz4zm
Fabien Pinckaers [Sat, 8 Feb 2014 10:15:53 +0000 (11:15 +0100)]
[IMP] small useability trick to avoid people writing several keywords in the same input
bzr revid: fp@tinyerp.com-
20140208101553-i6l27e6hpy0d0h3n
al@openerp.com [Sat, 8 Feb 2014 00:47:31 +0000 (01:47 +0100)]
dirty fix for auth_signup
bzr revid: al@openerp.com-
20140208004731-atwco93ghwspmlh3
Fabien Pinckaers [Fri, 7 Feb 2014 21:32:54 +0000 (22:32 +0100)]
[IMP] tutorial banner
bzr revid: fp@tinyerp.com-
20140207213254-jxw1fwplg3kjbm78
Christophe Simonis [Fri, 7 Feb 2014 18:48:29 +0000 (19:48 +0100)]
[FIX] auth_oauth_signup: handle the case when there is no providers
bzr revid: chs@openerp.com-
20140207184829-qdy0jbx5pku1z072
Denis Ledoux [Fri, 7 Feb 2014 17:21:57 +0000 (18:21 +0100)]
[FIX] website: config settings does write the values on the website model
This config contains only related fields of the website_id many2one.
The problem is that applying the change CREATE a res config settings
And the create orm method does not forward and write the values on the related fields.
Write does.
The best fix should be to change all these related fields to char fields,
and to create the set_ method who will acutally set the value to the website_id.
But, unfortunately, this is a stable branch
And we cannot alter the database structure in stable branches.
bzr revid: dle@openerp.com-
20140207172157-6upyhuin93qlkrfa
Fabien Pinckaers [Fri, 7 Feb 2014 16:14:10 +0000 (17:14 +0100)]
[IMP] reduced image size
bzr revid: fp@tinyerp.com-
20140207161410-22evlc2nz2buud2y
Christophe Matthieu [Fri, 7 Feb 2014 15:54:54 +0000 (16:54 +0100)]
[FIX] website test: remove hack for runbot
bzr revid: chm@openerp.com-
20140207155454-jf3pwp3hl9nvay6m
Christophe Matthieu [Fri, 7 Feb 2014 15:51:13 +0000 (16:51 +0100)]
[FIX] website: enable test tour; + translate; + fixes
bzr revid: chm@openerp.com-
20140207155113-honsvx545awa3rcp
Christophe Simonis [Fri, 7 Feb 2014 15:47:03 +0000 (16:47 +0100)]
[FIX] ensure_db():
When user ask a specific database on a new session, the nodb router
has been used to find the route.
Depending on installed module in the database, the rendering of the page
may depend on data injected by the database route dispatcher.
Thus, we redirect the user to the same page but with the session cookie set.
This will force using the database route dispatcher...
bzr revid: chs@openerp.com-
20140207154703-o0gl58i2b56eridx
Christophe Matthieu [Fri, 7 Feb 2014 15:45:20 +0000 (16:45 +0100)]
[FIX] website snippet drop for rte; remove dependence to qweb template (remove popover from tours); fx import file with ajax
bzr revid: chm@openerp.com-
20140207154520-2injapzg9lgrdbvc
Thibault Delavallée [Fri, 7 Feb 2014 15:13:20 +0000 (16:13 +0100)]
[MERGE] [IMP] product: added data for american units of measure + 1 yml test
bzr revid: tde@openerp.com-
20140207151320-gw84zrmq5ifl9rdy
Thibault Delavallée [Fri, 7 Feb 2014 15:12:35 +0000 (16:12 +0100)]
[MERGE] [IMP] account: payment term configuration: do not fool people by
telling them to enter a percentage when openerp actually waits for a decimal.
Therefore removed the percentage symbol.
bzr revid: tde@openerp.com-
20140207151235-0bt3sm2li3jlkzo3
Xavier Morel [Fri, 7 Feb 2014 15:06:23 +0000 (16:06 +0100)]
[IMP] make page lookup case-insensitive during completion
bzr revid: xmo@openerp.com-
20140207150623-vevnuswi9gx0bqeb
Xavier Morel [Fri, 7 Feb 2014 14:51:49 +0000 (15:51 +0100)]
[FIX] page creation broken because what is grep
bzr revid: xmo@openerp.com-
20140207145149-fem1wnr0t10rcgsn
Christophe Simonis [Fri, 7 Feb 2014 14:53:02 +0000 (15:53 +0100)]
[FIX] auth_oauth_signup: show providers on signup page
bzr revid: chs@openerp.com-
20140207145302-o2erxe3mxjvzqst5
Christophe Matthieu [Fri, 7 Feb 2014 14:34:37 +0000 (15:34 +0100)]
[FIX] website tour test: import with ajax insead of jquery (and auto load jquery)
bzr revid: chm@openerp.com-
20140207143437-uptdehmpegzze61y
Christophe Matthieu [Fri, 7 Feb 2014 14:32:41 +0000 (15:32 +0100)]
[FIX] website: for activate test on runbot
bzr revid: chm@openerp.com-
20140207143241-e4u7ikvgbl0f980d
Christophe Matthieu [Fri, 7 Feb 2014 14:09:12 +0000 (15:09 +0100)]
[MERGE] from saas-3
bzr revid: chm@openerp.com-
20140207140912-2tu1bhpvlap0fa4m
Antony Lesuisse [Fri, 7 Feb 2014 14:05:03 +0000 (15:05 +0100)]
[FIX] website ir.ui.view render
bzr revid: al@openerp.com-
20140207140503-doolcovzuce4m6i4
Fabien Pinckaers [Fri, 7 Feb 2014 13:59:46 +0000 (14:59 +0100)]
[IMP] insert a banner --> build a page
bzr revid: fp@tinyerp.com-
20140207135946-7gkzt6zodhf0hdxi
Fabien Pinckaers [Fri, 7 Feb 2014 13:48:36 +0000 (14:48 +0100)]
[IMP] logo by default (easier to configure)
bzr revid: fp@tinyerp.com-
20140207134836-pjub0d84nxmgb560
Christophe Matthieu [Fri, 7 Feb 2014 13:45:48 +0000 (14:45 +0100)]
[FIX] tour test log error
bzr revid: chm@openerp.com-
20140207134548-lr2563gtlgjphxrp
Christophe Matthieu [Fri, 7 Feb 2014 13:37:12 +0000 (14:37 +0100)]
[FIX] website: snippet: display baner in mobile view; background cover insead of 100%; paralax scrolling
bzr revid: chm@openerp.com-
20140207133712-srtik2knhwyybgse
Christophe Matthieu [Fri, 7 Feb 2014 13:01:04 +0000 (14:01 +0100)]
[FIX] website: test tour: use admin insead of tools.config['admin_passwd']
bzr revid: chm@openerp.com-
20140207130104-nuwurzlsvt4cu1jr
Christophe Matthieu [Fri, 7 Feb 2014 12:52:31 +0000 (13:52 +0100)]
[ADD] website: test login, backend, go back, branding, edit, logout
bzr revid: chm@openerp.com-
20140207125231-3zd0i1axdwuht5g4
Christophe Simonis [Fri, 7 Feb 2014 12:28:37 +0000 (13:28 +0100)]
[FIX] website: do not force uneditable templates
bzr revid: chs@openerp.com-
20140207122837-ysfss4khpt2hsau1
Martin Trigaux [Fri, 7 Feb 2014 12:16:37 +0000 (13:16 +0100)]
[FIX] gamification: various fixes
- generates automatically goals when adding somebody to a challenge
- when serialising data, skip lines and challenges with no generated goals
- hr_gamification as auto install (when get hr and gamification)
- related field challenge_id on gamification.goal is always readonly, add helper
- convert missed type->definition conversion in filter name (goal history menu will group by user and definition)
- invert challenges and goals menus in setting list (as encourage people to create challenges instead of goals)
bzr revid: mat@openerp.com-
20140207121637-73a4lhvk7bonibiu
Christophe Matthieu [Fri, 7 Feb 2014 11:59:03 +0000 (12:59 +0100)]
[FIX] website test phantomjs login
bzr revid: chm@openerp.com-
20140207115903-kzf9ikk37xvtq0ef
Christophe Matthieu [Fri, 7 Feb 2014 11:37:21 +0000 (12:37 +0100)]
[MERGE] Microformats (microdata) support for improved SEO.
Supported formats:
- Organization
https://support.google.com/webmasters/answer/146861?hl=en&ref_topic=1088474
http://schema.org/Organization
- Event
https://support.google.com/webmasters/answer/164506?hl=en&ref_topic=1088474
http://schema.org/Event
- Product+Offer
https://support.google.com/webmasters/answer/146750#offer_properties
http://schema.org/Product
http://schema.org/Offer
Tested with http://www.google.com/webmasters/tools/richsnippets
bzr revid: chm@openerp.com-
20140207113721-klunj6bf9qp4b2cx
Christophe Matthieu [Fri, 7 Feb 2014 10:57:22 +0000 (11:57 +0100)]
[FIX] website: snippet option: background style is required
bzr revid: chm@openerp.com-
20140207105722-6wfbfw5mj5937t03
Martin Trigaux [Fri, 7 Feb 2014 10:55:29 +0000 (11:55 +0100)]
[IMP] gamification: put challenge list above goals to be more user friendly
bzr revid: mat@openerp.com-
20140207105529-4a95snjwpc11he6k
Fabien Pinckaers [Fri, 7 Feb 2014 10:48:31 +0000 (11:48 +0100)]
[FIX] layout bug, right alignment of blocks incorrect
bzr revid: fp@tinyerp.com-
20140207104831-s52wrim8r8k7eqox
Denis Ledoux [Fri, 7 Feb 2014 10:46:37 +0000 (11:46 +0100)]
[FIX] mail: create and edit of template_id in compose message now works, as we pass the template model in context (among others useful default value)
bzr revid: dle@openerp.com-
20140207104637-lkx5am24608n8jka
Martin Trigaux [Fri, 7 Feb 2014 10:33:57 +0000 (11:33 +0100)]
[FIX] gamification: convert missed type to definition filter (goal history menu will group by user and definition)
bzr revid: mat@openerp.com-
20140207103357-7v8seoqgq9rokhhi
Martin Trigaux [Fri, 7 Feb 2014 10:27:05 +0000 (11:27 +0100)]
[IMP] gamification: related field challenge_id is always readonly, add helper
bzr revid: mat@openerp.com-
20140207102705-cf5aue57qzo03rlq
Martin Trigaux [Fri, 7 Feb 2014 10:20:29 +0000 (11:20 +0100)]
[FIX] hr_gamification: add auto_install to attribute, when get gamification and hr, automatically installed
bzr revid: mat@openerp.com-
20140207102029-6y45r4cmrc1h8kx7
Christophe Matthieu [Fri, 7 Feb 2014 10:07:34 +0000 (11:07 +0100)]
[FIX] website snippet: reset snippet-editor and overlay because the rte re-generate the dom and cancelled all snippet datas
bzr revid: chm@openerp.com-
20140207100734-pdzr0qz8mtmha96m
Martin Trigaux [Fri, 7 Feb 2014 09:36:43 +0000 (10:36 +0100)]
[FIX] gamification: when serialising data, skip lines and challenges with no goals
bzr revid: mat@openerp.com-
20140207093643-vr1on5oxqtzkalj9
Martin Trigaux [Fri, 7 Feb 2014 09:24:11 +0000 (10:24 +0100)]
[FIX] gamification: automatically generates goals for users when adding them to a new challenge
bzr revid: mat@openerp.com-
20140207092411-yju3pif1ibipcff8
Christophe Matthieu [Fri, 7 Feb 2014 07:47:45 +0000 (08:47 +0100)]
[IMP] website test: add a timeout in phantom js to raise a better error and improve log error
bzr revid: chm@openerp.com-
20140207074745-ffrcoi2aj5m67i8m
Christophe Matthieu [Thu, 6 Feb 2014 17:51:13 +0000 (18:51 +0100)]
[IMP] website test_ui: add a try catch in run and run_test to display error
bzr revid: chm@openerp.com-
20140206175113-w0qscfngebnn7718
Christophe Simonis [Thu, 6 Feb 2014 16:40:20 +0000 (17:40 +0100)]
[FIX] auth_signup: keep query when generating links
bzr revid: chs@openerp.com-
20140206164020-2yuf5xdciabt4zsp
Christophe Simonis [Thu, 6 Feb 2014 16:38:11 +0000 (17:38 +0100)]
[MERGE] fix template rendering
bzr revid: chs@openerp.com-
20140206163811-i43srg7hd4yqzzo3
Christophe Matthieu [Thu, 6 Feb 2014 16:16:14 +0000 (17:16 +0100)]
[IMP] website: reduce run test of banner
bzr revid: chm@openerp.com-
20140206161614-afam16q12ci0kr7l
Fabien Meghazi [Thu, 6 Feb 2014 16:13:16 +0000 (17:13 +0100)]
[IMP] Move some qweb rendering context vars from website#ir.qweb to server#ir.ui.view
bzr revid: fme@openerp.com-
20140206161316-jw7luqon476widcm
Fabien Meghazi [Thu, 6 Feb 2014 16:12:04 +0000 (17:12 +0100)]
[IMP] Move some qweb rendering context vars from website#ir.qweb to server#ir.ui.view
bzr revid: fme@openerp.com-
20140206161204-vp6kydvdxhg5qykx
Christophe Matthieu [Thu, 6 Feb 2014 15:47:11 +0000 (16:47 +0100)]
[FIX] website: create event, product
bzr revid: chm@openerp.com-
20140206154711-vwvw7g1wo1fd1h1y
Christophe Matthieu [Thu, 6 Feb 2014 15:46:46 +0000 (16:46 +0100)]
[FIX] website.tour.blog
bzr revid: chm@openerp.com-
20140206154646-fth0k220okdgsckk
Christophe Matthieu [Thu, 6 Feb 2014 15:01:21 +0000 (16:01 +0100)]
[MERGE] from saas-3
bzr revid: chm@openerp.com-
20140206150121-drs3ybhgx5837zt2
Thibault Delavallée [Thu, 6 Feb 2014 14:56:38 +0000 (15:56 +0100)]
[FIX] website: fixed call to slugify
- python-slugify: max_length is an optional keyword
- slugify library also exists and does not accepts max_length -> if this very simple library is used, fall
back on our own implementation
bzr revid: tde@openerp.com-
20140206145638-entdcqsawrqf1nnq
Christophe Matthieu [Thu, 6 Feb 2014 14:52:36 +0000 (15:52 +0100)]
[FIX] tour and translate title
bzr revid: chm@openerp.com-
20140206145236-vwdq74yyz21qvyzu
Fabien Meghazi [Thu, 6 Feb 2014 14:39:19 +0000 (15:39 +0100)]
[FIX] ir ui view should have rendering context on request.website_enabled
bzr revid: fme@openerp.com-
20140206143919-f6vz8rpx9mb4798g
Christophe Matthieu [Thu, 6 Feb 2014 14:07:46 +0000 (15:07 +0100)]
[FIX] website: tour, test and test_runner
bzr revid: chm@openerp.com-
20140206140746-jmeyx8q9qxv7sz1j
Christophe Matthieu [Thu, 6 Feb 2014 14:06:43 +0000 (15:06 +0100)]
[FIX] website tours: fix and translate
bzr revid: chm@openerp.com-
20140206140643-z3b2fu2v9uaozc1z
Christophe Matthieu [Thu, 6 Feb 2014 14:02:58 +0000 (15:02 +0100)]
[FIX] website_sale template; snippet editor
bzr revid: chm@openerp.com-
20140206140258-l3hriceuksx0c061
Christophe Matthieu [Thu, 6 Feb 2014 13:50:36 +0000 (14:50 +0100)]
[IMP] website: add debugger template used to create nex tours/tests (display in customize menu in debug mode)
bzr revid: chm@openerp.com-
20140206135036-geq8fubtz39pxp20
Christophe Simonis [Thu, 6 Feb 2014 13:20:39 +0000 (14:20 +0100)]
[MERGE] backport trunk revisions
* 9094 fva@openerp.com-
20140203144847-21cv7pt7lnlxdsve
* 9095 fva@openerp.com-
20140203153233-zj12w2o1uxyz5hoq
bzr revid: chs@openerp.com-
20140206132039-y1whtc8qqqs8ey92
Christophe Simonis [Thu, 6 Feb 2014 13:12:19 +0000 (14:12 +0100)]
[MERGE] forward port of branch saas-3 up to revid 5060 chs@openerp.com-
20140206131116-we6rlic5fu09xh8q
bzr revid: chs@openerp.com-
20140206131219-9rpwsfe9vc7uf0cr
Christophe Simonis [Thu, 6 Feb 2014 13:11:16 +0000 (14:11 +0100)]
[MERGE] backport trunk revision 5053 fva@openerp.com-
20140206110134-jk5zbd8cc6x1ebh5
bzr revid: chs@openerp.com-
20140206131116-we6rlic5fu09xh8q
Christophe Simonis [Thu, 6 Feb 2014 13:03:49 +0000 (14:03 +0100)]
[FIX] ir.ui.view: avoid infinite loop when applying multiple inheritance inside a single view (use of <data> tag)
bzr revid: chs@openerp.com-
20140206130349-19v4ah0lwy87t50o
Antony Lesuisse [Thu, 6 Feb 2014 12:40:19 +0000 (13:40 +0100)]
[IMP] sale_eval break continue raise control flow opcodes
bzr revid: al@openerp.com-
20140206124019-07in9p9capmznlo2
Christophe Simonis [Thu, 6 Feb 2014 11:52:53 +0000 (12:52 +0100)]
[IMP] extract save/get session actions as methods on session object
bzr revid: chs@openerp.com-
20140206115253-ed7ahi6j83mgpw4y
Christophe Simonis [Thu, 6 Feb 2014 11:52:09 +0000 (12:52 +0100)]
[IMP] http: extract save/get session actions as methods on session object
bzr revid: chs@openerp.com-
20140206115209-naleunin0mleghda
Christophe Simonis [Thu, 6 Feb 2014 11:04:23 +0000 (12:04 +0100)]
[MERGE] forward port of branch saas-2 up to revid 5007 chs@openerp.com-
20140206110220-myn57cryam1y4k9v
bzr revid: chs@openerp.com-
20140206110423-qe4h5ip2dg6dm7ph
Christophe Simonis [Thu, 6 Feb 2014 11:02:20 +0000 (12:02 +0100)]
[MERGE] forward port of branch 7.0 up to revid 5224 chs@openerp.com-
20140206105141-7e8bv8ordqqsswh7
bzr revid: dle@openerp.com-
20140205105045-j95kduyjiq83e57z
bzr revid: dle@openerp.com-
20140114173613-ruxye1m7fxtcjfim
bzr revid: dle@openerp.com-
20140116161158-u95vcs3os4tk2zob
bzr revid: dle@openerp.com-
20140121172737-gzawfi3ssg7xifef
bzr revid: chs@openerp.com-
20140129094554-c3abc8x3qz9mpszr
bzr revid: chs@openerp.com-
20140129140159-9vwkpr078shoonum
bzr revid: chs@openerp.com-
20140206110220-myn57cryam1y4k9v
Frédéric van der Essen [Thu, 6 Feb 2014 11:01:34 +0000 (12:01 +0100)]
[IMP] cors rpc: enable preflight request caching, vastly improves rpc performance
bzr revid: fva@openerp.com-
20140206110134-jk5zbd8cc6x1ebh5
Christophe Simonis [Thu, 6 Feb 2014 10:51:41 +0000 (11:51 +0100)]
[FIX] _(): avoid useless warning where translating string without a cursor
bzr revid: chs@openerp.com-
20140206105141-7e8bv8ordqqsswh7
Denis Ledoux [Thu, 6 Feb 2014 10:39:29 +0000 (11:39 +0100)]
[FIX] website: urljoin from urlparse cannot handle unicode. Therefore, We decode before passing the arg to urljoin then we (re-)encode the result
bzr revid: dle@openerp.com-
20140206103929-oe289oilz08n1msk
Martin Trigaux [Thu, 6 Feb 2014 10:24:09 +0000 (11:24 +0100)]
[IMP] reference fields: display a more user-friendly window title when open a chosen many2one record in reference field
bzr revid: mat@openerp.com-
20140206102409-4lbx7ofsgz8speni
Martin Trigaux [Thu, 6 Feb 2014 09:46:28 +0000 (10:46 +0100)]
[IMP] ir_fields: no need to sanitize the _str_to_html as it is already done in the _symbol_set of html fields. This avoids doing twice the sanitization.
bzr revid: mat@openerp.com-
20140206094628-umx2rfb9rcim7v82
Martin Trigaux [Thu, 6 Feb 2014 08:47:08 +0000 (09:47 +0100)]
[MERGE] [FIX] ir_fields: allow convertion from string to html using sanitize function
This is required to be able to import csv file containing html fields
lp bug: https://launchpad.net/bugs/1093800 fixed
bzr revid: mat@openerp.com-
20140206084708-j63kpkr9apd3j01j
Thibault Delavallée [Thu, 6 Feb 2014 08:39:38 +0000 (09:39 +0100)]
[MERGE] [IMP] ir_actions: server action: the context used to evaluate python code (condition, code server action) is prepared in its own method. This eases the inheritance process and allow s other modules to add new items in the evaluation context. An example of use is to add the request object in the website module, allowing some server action to be accessible through the website front-end.
bzr revid: tde@openerp.com-
20140206083938-byoxo7o0uvcmj18d
Thibault Delavallée [Thu, 6 Feb 2014 08:39:23 +0000 (09:39 +0100)]
[MERGE] [ADD] website: added support for calling a server action through a new controller, allowing to build website pages through server action.
website: added website/action/<id_or_xml_id> route, that runs the server action designed by its id or xml_id. Only published code server action are run. If the server action returns a response (for example the result of a template rendering), it is returned as result of the controller. This allows to have server action returning a rendered template, to display custom website pages based on some computation.
website: added an override of ir_actions_server:
- added website_published field: only published server action can be run + view update
- evaluation context gets request for evaluation, to enable request.render(template) or request.params.get(key) in order to retrieve the result of a form
- code server action returns 'response' the same way 'action' can be returned for classic code server action
bzr revid: tde@openerp.com-
20140206083923-3ealsxehyicr2la1