Commit Graph
103218 Commits
Author SHA1 Message Date
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
Parth Gajjar (Open ERP) 3015f006fe [IMP] improved minor code,Checkpoint: Part 1 complete
bzr revid: pga@tinyerp.com-20140206072437-zrpchhf1tbp2kt2m
2014-02-06 12:54:37 +05:30
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
Parth Gajjar (Open ERP) 0bf2635970 [MERGE] merged with trunk-survey2-rim
bzr revid: pga@tinyerp.com-20140206051331-vpf8p1zkrkjhw01j
2014-02-06 10:43:31 +05:30
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
Fabien Meghazi bce084bac2 [IMP] Seperate signup and reset into two controllers and templates
bzr revid: fme@openerp.com-20140205183232-fmlin6kiycu6bu0j
2014-02-05 19:32:32 +01:00
Quentin (OpenERP) 369d222965 [REF] some refactoring made during code review
bzr revid: qdp-launchpad@openerp.com-20140205172444-4v7msetkkp7ypb7y
2014-02-05 18:24:44 +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
Fabien Meghazi 21b863183b [IMP] Move footer to login_layout
bzr revid: fme@openerp.com-20140205150335-vc0aiagopspo1aid
2014-02-05 16:03:35 +01:00
Fabien Meghazi 9acaaa74dd [IMP] database selector, do not display Continue button for javascript
bzr revid: fme@openerp.com-20140205150158-gg274ko7y9jgy3jg
2014-02-05 16:01:58 +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
Quentin (OpenERP) abb8f9c929 [MERGE] trunk-wms
bzr revid: qdp-launchpad@openerp.com-20140205143652-v0d0ug0afldyd2em
2014-02-05 15:36:52 +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
Quentin (OpenERP) 75b0d1fcb7 [MERGE] fix inventory printing
lp bug: https://launchpad.net/bugs/1271266 fixed

bzr revid: qdp-launchpad@openerp.com-20140205135057-i2hw4pkcrqvs2mbt
2014-02-05 14:50:57 +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
Quentin (OpenERP) e25d1369a0 [MERGE] merged the branch with lot handling on mrp.production and some refactoring in stock as well (action_consume moved to mrp, split/merge inventory removed..)
bzr revid: qdp-launchpad@openerp.com-20140205133031-83q48ftnr0iid3r9
2014-02-05 14:30:31 +01:00
Quentin (OpenERP) ec0a1678ee [FIX] mrp: fixed action_produce errors added in the last refactoring
bzr revid: qdp-launchpad@openerp.com-20140205132521-ul3grdqryppig7o0
2014-02-05 14:25:21 +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
Anael Closson 30d22d327e [FIX] typo, wrong ordering of lines
bzr revid: acl@openerp.com-20140205125208-8ds2hxfqnuqsngbd
2014-02-05 13:52:08 +01:00
Quentin (OpenERP) c140436931 [FIX] stock: quant_reserve() fixed in case of None as quant given
bzr revid: qdp-launchpad@openerp.com-20140205125107-0h44rh37cvxcogg4
2014-02-05 13:51:07 +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
Quentin (OpenERP) 0afb7076d4 [REF] mrp, stock: refactoring made during code review
bzr revid: qdp-launchpad@openerp.com-20140205104324-5h5hu0fv71omhigf
2014-02-05 11:43:24 +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
Richard Mathot (OpenERP) d1c1c0fec4 [FIX] survey_questions have now a correct survey_id (not empty)
bzr revid: rim@openerp.com-20140205095246-2ffxe8t1tkio1vw2
2014-02-05 10:52:46 +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
Quentin (OpenERP) 2c101e9432 [REF] mrp: code refactoring + removal of a useless and confusing part of a yaml test
bzr revid: qdp-launchpad@openerp.com-20140205093411-2xqnn5l3gyw6hmw5
2014-02-05 10:34:11 +01:00
Fabien Meghazi 9ffb9d5632 [REM] Removed LoginForm javascript related
bzr revid: fme@openerp.com-20140205092354-oa6qxm0fsuojhuc2
2014-02-05 10:23:54 +01:00
Fabien Meghazi 42952bb7cf [REM] Remove LoginForm javascript
bzr revid: fme@openerp.com-20140205091749-39333kr3hz0dt4wg
2014-02-05 10:17:49 +01:00
Laurent Mignon (Acsone) ef974c7fe5 Fix log message
bzr revid: laurent.mignon@acsone.eu-20140205091452-6mamu14lpevyjy28
2014-02-05 10:14:52 +01:00