Commit Graph

81286 Commits

Author SHA1 Message Date
Antony Lesuisse 82372e6a02 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
2014-02-09 01:37:45 +01:00
Christophe Simonis 9289a2608d [MERGE] forward port of branch saas-3 up to revid 5060 chs@openerp.com-20140206131116-we6rlic5fu09xh8q
bzr revid: chs@openerp.com-20140206131219-9rpwsfe9vc7uf0cr
2014-02-06 14:12:19 +01:00
Christophe Simonis 5a022d6ab3 [MERGE] backport trunk revision 5053 fva@openerp.com-20140206110134-jk5zbd8cc6x1ebh5
bzr revid: chs@openerp.com-20140206131116-we6rlic5fu09xh8q
2014-02-06 14:11:16 +01:00
Christophe Simonis 73d675a73d [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
2014-02-06 14:03:49 +01:00
Antony Lesuisse 4a5b4a8c3f [IMP] sale_eval break continue raise control flow opcodes
bzr revid: al@openerp.com-20140206124019-07in9p9capmznlo2
2014-02-06 13:40:19 +01:00
Christophe Simonis 79caa8e186 [IMP] extract save/get session actions as methods on session object
bzr revid: chs@openerp.com-20140206115253-ed7ahi6j83mgpw4y
2014-02-06 12:52:53 +01:00
Christophe Simonis 94162667dd [IMP] http: extract save/get session actions as methods on session object
bzr revid: chs@openerp.com-20140206115209-naleunin0mleghda
2014-02-06 12:52:09 +01:00
Christophe Simonis 500fea28b7 [MERGE] forward port of branch saas-2 up to revid 5007 chs@openerp.com-20140206110220-myn57cryam1y4k9v
bzr revid: chs@openerp.com-20140206110423-qe4h5ip2dg6dm7ph
2014-02-06 12:04:23 +01:00
Christophe Simonis a69f789b41 [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
2014-02-06 12:02:20 +01:00
Frédéric van der Essen 13a4c3fec9 [IMP] cors rpc: enable preflight request caching, vastly improves rpc performance
bzr revid: fva@openerp.com-20140206110134-jk5zbd8cc6x1ebh5
2014-02-06 12:01:34 +01:00
Christophe Simonis c234d8547d [FIX] _(): avoid useless warning where translating string without a cursor
bzr revid: chs@openerp.com-20140206105141-7e8bv8ordqqsswh7
2014-02-06 11:51:41 +01:00
Denis Ledoux f487fbb298 [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
2014-02-06 11:39:29 +01:00
Martin Trigaux b75c52f3ed [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
2014-02-06 11:24:09 +01:00
Martin Trigaux 7950914c69 [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
2014-02-06 10:46:28 +01:00
Martin Trigaux 909ff6e368 [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
2014-02-06 09:47:08 +01:00
Thibault Delavallée 6280ba8f10 [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
2014-02-06 09:39:38 +01:00
Thibault Delavallée fd008435e0 [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
2014-02-06 09:39:23 +01:00
Thibault Delavallée 8860002d41 [IMP] website: demo: set new demo as noupdate + updated some action name
bzr revid: tde@openerp.com-20140206082105-vsmjn9c48a0hrfyo
2014-02-06 09:21:05 +01:00
Thibault Delavallée a769fb4111 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140206081947-7bf31snu1igkwz5x
2014-02-06 09:19:47 +01:00
Thibault Delavallée 91abbeda24 [DOC] website: ir_actions: added some comments
bzr revid: tde@openerp.com-20140206081921-vp22x256vkk3ea1o
2014-02-06 09:19:21 +01:00
Launchpad Translations on behalf of openerp 7c691e9e27 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140206062518-3g0oj0z7mlartzal
2014-02-06 06:25:18 +00:00
Launchpad Translations on behalf of openerp ffabcd257c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140206062321-j6cpns6xz3f81net
bzr revid: launchpad_translations_on_behalf_of_openerp-20140206062510-x502ahdwzezvea54
2014-02-06 06:25:10 +00:00
Launchpad Translations on behalf of openerp 509d354f60 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140206053323-d5lbziu86hn6qtds
2014-02-06 05:33:23 +00:00
Fabien Pinckaers 9ef5359477 [IMP] Reduce images, all images at same size for 3col snippets
bzr revid: fp@tinyerp.com-20140205220857-ckc5fzaop820ue7e
2014-02-05 23:08:57 +01:00
Fabien Pinckaers cd4060d373 [IMP] Simplify snippet so that they are useabile out-of-the-box
bzr revid: fp@tinyerp.com-20140205214151-s6narh04xsffjri2
2014-02-05 22:41:51 +01:00
Fabien Pinckaers 4dbcf24f19 [IMP] Empty product page
bzr revid: fp@tinyerp.com-20140205212452-ktjjx4qcufzlmlqc
2014-02-05 22:24:52 +01:00
Denis Ledoux 06d3ea03f8 [MERGE] crm: resolve group by in get bar values
bzr revid: dle@openerp.com-20140205165414-ttzjzmf6mjs9gr8e
2014-02-05 17:54:14 +01:00
Olivier Dony a6828aad29 [REM] remove empty modules after renaming the templates in Launchpad Translations
bzr revid: odo@openerp.com-20140205164619-nq0p9wmuodz0f9yr
2014-02-05 17:46:19 +01:00
Anael Closson 10dabcfd51 [FIX] datetime.strptime only accepts date format when used with tools.DEFAULT_SERVER_DATE_FORMAT as parameter, but both date and datetime fields can be used as parameters.
bzr revid: acl@openerp.com-20140205163313-xcob4funucvsfdmx
2014-02-05 17:33:13 +01:00
Thibault Delavallée 1b13217838 [MERGE] sales/crm: minor improvements in account_analytic_analysis, crm, event_sale, hr_timesheet_invoice, sale views
bzr revid: tde@openerp.com-20140205160347-nptajwoxfl5ylfa9
2014-02-05 17:03:47 +01:00
Denis Ledoux 62b317f7dc [FIX]crm: use DEFAULT_SERVER_DATETIME_FORMAT instead of just date_format, as the value could date + time
bzr revid: dle@openerp.com-20140205145049-g9ctnqjezz0eon73
2014-02-05 15:50:49 +01:00
Thibault Delavallée 9487dafd12 [IMP] website: server action in front-end: improved demo data, a mini posting mechanism
bzr revid: tde@openerp.com-20140205141515-z0yfu11iufq0qqdk
2014-02-05 15:15:15 +01:00
Thibault Delavallée 89d053111f [IMP] website: server action: response is a better keyworkd than template
bzr revid: tde@openerp.com-20140205140238-liili9v4l0a074zj
2014-02-05 15:02:38 +01:00
Thibault Delavallée 79d6a1a39a [IMP] website: server action controller: no need to add post, everything is on request
bzr revid: tde@openerp.com-20140205140216-r6oxlbbmypd3u5vf
2014-02-05 15:02:16 +01:00
Gery Debongnie 20c21873f0 [MERGE] adds excel export functionality to graph view (addon web_graph)
bzr revid: ged@openerp.com-20140205134926-k2gqetaksp6yse8u
2014-02-05 14:49:26 +01:00
Martin Trigaux 7c7081df56 [MERGE] [FIX] account: action 'Journal Items' on a journal entries should restrict by account.move and not journal (src_model) (opw 585153)
bzr revid: mat@openerp.com-20140205132057-jxxmmyhfk6c15w9o
2014-02-05 14:20:57 +01:00
Gery Debongnie d0961eb09e [FIX] many small tweaks, add some comment, rename variables to have better more informative names in excel export functionality in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140205131406-kdw5ht9u8gct9xbo
2014-02-05 14:14:06 +01:00
Thibault Delavallée ba962f9b1c [ADD] website: added forgottent view file for ir_actions
bzr revid: tde@openerp.com-20140205123737-o7btwj3xryosnayo
2014-02-05 13:37:37 +01:00
Thibault Delavallée 47309f045b [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140205115653-7ktnizsmvppv90wk
2014-02-05 12:56:53 +01:00
Thibault Delavallée 8d1713170a [FIX] website: server action demo data: ValueError is not defined, do something generic
bzr revid: tde@openerp.com-20140205110118-6c5mq24x8e806vvn
2014-02-05 12:01:18 +01:00
Thibault Delavallée 1c608569ca [IMP] website: server action in front-end: updated demo data
to show something vaguely complex that 'everyone' can do using 2 server actions
and 2 templates: a basic partner directory.

bzr revid: tde@openerp.com-20140205105555-hzpwwqgefdiy12jg
2014-02-05 11:55:55 +01:00
Xavier Morel c68c5837aa [FIX] avoid blowing up editor if run on non-updated editor_head template without a placeholder edition navbar
bzr revid: xmo@openerp.com-20140205103623-bk038voq3f8zj9vm
2014-02-05 11:36:23 +01:00
Martin Trigaux ea3c17a2e9 [MERGE] [FIX] search: make sure search view is not destroyed when starting SearchView widget
This avoids getting the error 'Cannot call method 'getParent' of undefined'

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

bzr revid: mat@openerp.com-20140205102107-5ggbbkyr172855uu
2014-02-05 11:21:07 +01:00
Fabien Meghazi 766f7d4808 [FIX] website.menu#url shall not be required=True
A parent node's url is not clickable in the website front-end

bzr revid: fme@openerp.com-20140205101500-ghmkfkpvkojv81kf
2014-02-05 11:15:00 +01:00
Thibault Delavallée 5ec4259a34 [IMP] website: removed dummy data used for testing, added a first
demo template + server action callable through the front-end, working
on partners. Some king of simple partner directory.

bzr revid: tde@openerp.com-20140205101051-d9ysg4fel30g2cgy
2014-02-05 11:10:51 +01:00
Denis Ledoux 34beebac6c [FIX] account: residual amount computation with refund invoices
On invoice residual amount computing, we ignore reconcile entries line if their invoice are not of the same type of the current invoice
The above revision(s) will be removed

bzr revid: dle@openerp.com-20140205100324-5tyquozmylcp40p1
2014-02-05 11:03:24 +01:00
Gery Debongnie 19d6d98da8 [IMP] completes the excel export functionality in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140205095808-8lzwv0yqcsjnvff9
2014-02-05 10:58:08 +01:00
Thibault Delavallée 1e6f81abc2 [IMP] website: ir_actions_server: only published server action can be invoked from the front-end
bzr revid: tde@openerp.com-20140205094530-k058ealuxq9hbrdw
2014-02-05 10:45:30 +01:00
Thibault Delavallée 6e42b51bf5 [FIX] ir_actions: typo in comments
bzr revid: tde@openerp.com-20140205090817-bp48bop089bzpm2r
2014-02-05 10:08:17 +01:00
Thibault Delavallée 8df6b16784 [ADD] website: added support for invoking a server action through controller
website: added website/action/<id_or_xml_id> route, that runs the server action designed
by its id or xml_id. Only code server action returning a template give a result. The
template is displayed. Other or not existing server actions redirect to the homepage.

website: added an override of ir_actions_server: evaluation context gets request for
evaluation, to enable request.render(template_name); also returns template the same
way action is returned for code server action;

bzr revid: tde@openerp.com-20140205090447-2hppg7818nx1wfzh
2014-02-05 10:04:47 +01:00