Commit Graph
81391 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
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
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
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
Fabien Meghazi 42952bb7cf [REM] Remove LoginForm javascript
bzr revid: fme@openerp.com-20140205091749-39333kr3hz0dt4wg
2014-02-05 10:17:49 +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
Fabien Pinckaers 9fd6c5fb80 [IMP] typo
bzr revid: fp@tinyerp.com-20140205085915-jq2cno7crgt9ec02
2014-02-05 09:59:15 +01:00
Fabien Pinckaers df24894325 [IMP] event empty message
bzr revid: fp@tinyerp.com-20140205085600-90w1r2zigefst1sv
2014-02-05 09:56:00 +01:00
Fabien Pinckaers 609a0ab0bc [IMP] better layout for 'no blog post'
bzr revid: fp@tinyerp.com-20140205084854-avk2i1a2b3mvv37y
2014-02-05 09:48:54 +01:00
Thibault Delavallée bb7e6966f5 [IMP] ir_actions: server action: evaluation context preparation is done in
its own method, to ease the inheritance and to allow other modules to
add new items in the evaluation context.

bzr revid: tde@openerp.com-20140205084537-9eff44cuyg3u20xy
2014-02-05 09:45:37 +01:00
ddm@openerp.com e1661776ff Merge trunk
bzr revid: ddm@openerp.com-20140205080002-wvi80x4oycm6yi3j
2014-02-05 09:00:02 +01:00
ddm@openerp.com 706881ab38 [FIX] Proper ticket price micodata
bzr revid: ddm@openerp.com-20140205075141-xxedwfwf3lz2v0ej
2014-02-05 08:51:41 +01:00
Thibault Delavallée a7c7e33131 [FIX] mass_mailing: fixed variables used outside of their scope
bzr revid: tde@openerp.com-20140204165949-9xax1pul22ktsf41
2014-02-04 17:59:49 +01:00
Xavier Morel 7d1f7ee10a [IMP] handling of overly large images in website image upload
bzr revid: xmo@openerp.com-20140204165823-q05aoq83q28b2hhg
2014-02-04 17:58:23 +01:00
Martin Trigaux 14631ed6c5 [FIX] css: remove height: 18px on .oe_facet_value property to avoid long filter name to exceed the size of the box (on 2 lines)
bzr revid: mat@openerp.com-20140204155046-ifqts8mpaqhgvjnj
2014-02-04 16:50:46 +01:00
Xavier Morel 18d9e91394 [IMP] make editor bar appear faster to avoid impression of slowness and reflow
bzr revid: xmo@openerp.com-20140204153616-swho76l8v3s4p1dq
2014-02-04 16:36:16 +01:00
Martin Trigaux d298449277 [MERGE] [FIX] audittrail: various bugs (opw 603072)
- tracking unlink does not fail anymore
- do not track virtual fields on res.users model (would for .column call)
- make sure read calls with one id works (launchpad bug lp:1214149)
- select the correct model when tracking x2m fields values

bzr revid: mat@openerp.com-20140204151136-51cm1tbgvcsnlsoe
2014-02-04 16:11:36 +01:00
Cecile Tonglet df0076c67d [FIX] getParent() js error when clicking to fast on menu items of dashboards
bzr revid: cto@openerp.com-20140204150544-nkuhxree6qijihq2
2014-02-04 16:05:44 +01:00
Martin Trigaux 985ddf3baf [FIX] auditrail: in case of unlink retrieve first the record and then execute the unlink (the other way around is causes problems for name_get...)
bzr revid: mat@openerp.com-20140204142825-jtln4kyfmfhgq4sd
2014-02-04 15:28:25 +01:00