Commit Graph
28 Commits
Author SHA1 Message Date
Victor Feyens 9d6f107b1c [FIX] doc: unclear report actions fields and report tag attributes.
FW-change: remove report section in data.rst since report xml tag usage
is now deprecated (#54564)

closes odoo/odoo#60142

X-original-commit: 052c524d7868ea683038d18a22022658abb0511c
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-10-15 22:25:36 +00:00
Raf Geens 06a18aa092 [IMP] doc: How to add a print action on a report record
If you define a report using `<report>` it will implicitly add that
action to a Print menu in the model's views. If you use ``<record>`` to
do the same, that won't happen unless you also set `binding_model_id`.

In older versions that wasn't really an issue because people mainly used
`<report>`, but it was deprecated in 13.5, hence this update. And it
applies to versions older than 13.5 as well, I tested until 11.0.

X-original-commit: 6768d4190993e95b50785ac4ebf3be7213ef5e3f
2020-09-10 15:46:26 +00:00
Victor Feyens ebfd6d4ac2 [FIX] doc: binding_model_id isn't mandatory on actions.
Remove this incoherent comment, and move the interesting information in
the dedicated section.

closes odoo/odoo#57383

X-original-commit: 1be2806045a6d92416a63364391e035ed36589f0
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-09-09 17:33:11 +00:00
Florent de Labarre 857aaef011 [FIX] doc : missing state on ir.actions.server examples
closes odoo/odoo#48871

X-original-commit: 7f806fd661f373201396861b77b64a71decf52a9
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
2020-04-02 11:29:04 +00:00
Christophe Simonis ac4fc6e7c7 [MERGE] forward port branch saas-12.3 up to bd3e510edb
closes odoo/odoo#37314

Signed-off-by: Christophe Simonis <chs@odoo.com>
2019-09-24 09:44:56 +00:00
Victor Feyens 65093459e9 [DOC] ir actions report minor fixes 2019-09-18 08:54:29 +00:00
Victor Feyens 96e208c191 [DOC] Ir Actions Server documentation
Since commit 8fa9f7d6d4 refactoring the
actions server, the documentation was outdated.

This commit removes and fixes the documentation on ir.actions.server.
Also adds the display of the docstring of the IrActionsServer class from
odoo.addons.base.models.ir_actions.

Solves #31044
2019-09-18 08:54:07 +00:00
Victor Feyens b94b08e579 [DOC] ir.actions.act_window.view 2019-09-18 08:53:48 +00:00
Victor Feyens 0ddeb22095 [DOC] actions : add ir.cron documentation 2019-09-18 08:48:28 +00:00
Xavier Morel 10f1a1a0c4 [REM] multi from ir.actions.act_window
Task 1843603

* src_model is redundant with binding_model_id
* multi -> binding_view_types (if empty => all views) (maybe should be
empty by default yo?)
* in convert, type => rec.get(type) but no @type possible on <act_window>...
* removed deprecated auto_refresh & auto_search (not used anywhere (?))

closes odoo/odoo#24738

Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2019-05-27 12:00:39 +00:00
Laurent Smet 3425752eac [REM] odoo/report: remove deprecated stuff
- RML Reports
- Webkit Reports (most part already removed by 13b9982c62)
- LocalService in netsvc.py
- rename attributes like rml_% to report_%
- rename ir.actions.report.xml to ir.actions.report
- allow rendering directly on an ir.actions.report by calling render method
- remove 'controller' report_type
- remove unused res.font stuff
- remove print_report method in models.py (not used)
- restore removed call to pdftotext process in test_reports
2017-05-08 09:22:56 +02:00
Christophe Simonis 85368d7f86 [MERGE] forward port branch 10.0 up to 387b2acfcb 2017-02-23 20:15:38 +01:00
gilvanleal e1045e4625 [FIX] doc: correct server action variable name
self is not defined, use model instead

Closes #15556
2017-02-20 08:46:52 +01:00
Yannick Tivisse 98cb4719db [REM] workflow: Remove workflow engine, documentation and tests 2016-11-23 11:52:39 +01:00
Martin Trigaux 9528024536 [FIX] doc: building correctly autoclass references 2016-10-11 12:09:27 +02:00
Aaron Bohy 1339180ba8 [ADD] base: ir_actions: target attribute for ir_actions_client
Allows to open a client action in a dialog, fullscreen, or in the current
window with a cleared breadcrumb
2016-06-24 16:26:05 +02:00
Aaron Bohy 6c9567ae3c [IMP] base,web: ir_action: target main to clear breadcrumbs
New value for the selection field 'target' of ir_actions_act_window which
forces the breadcrumbs to be cleared before executing the action.
2016-06-16 13:48:18 +02:00
Christophe Simonis 2dcbdd0778 [MERGE] forward port of branch saas-10 up to bb8f0f1 2016-04-25 15:48:31 +02:00
Géry Debongnie d65d251c57 [IMP] base, web: add type=fullscreen to ir_actions
With this commit, actions can have a type=fullscreen.  This means that
the navbar will be hidden, for the action and for all subsequent actions
open in the breadcrumb

There is no real security behind this, this is just a feature for
convenience, so users can bookmark an url an open some action in a way
that they are not distracted by anything.  In short, this is some kind of
light 'kiosk' mode.
2016-04-22 11:03:21 +02:00
Raphael Collet 053a4ab444 [FIX] doc: fix rst indentation 2016-04-14 14:20:19 +02:00
Martin Trigaux 1d15a2252a [FIX] doc: sesrver action example
Bad indentation, print is not available
2016-02-17 13:57:23 +01:00
Martin Trigaux 5bb9be5522 [FIX] fullfil -> fulfill 2015-10-09 16:50:45 +02:00
Aaron Bohy a41cbba8f1 [FIX] crm,doc: remove whitespace in view_mode
Fixes 4 actions where a whitespace was inserted in the view_mode, resulting in
an unknown view_mode (' graph') in the view_switcher.

Also updates the doc to prevent people to think they can insert whitespaces in
the view_mode definition.
2015-08-04 08:20:12 +02:00
Xavier Morel 95e56a109d [ADD] doc: new theme
Pretty much completely rewritten theme with custom HTML translator and a
few parts of the old theme extracted to their own extensions.

Banner images thought not to be that huge after all, and not worth the
hassle of them living in a different repository.

co-authored with @stefanorigano
2015-07-07 11:22:50 +02:00
Damien Bouvy ec6fa5d3d9 [IMP] doc: documentation for qweb reports
closes #4876
2015-01-27 11:49:02 +01:00
Julien De Coster 03c8f4c388 [FIX] Server Action examples in reference doc 2015-01-12 11:04:41 +01:00
Xavier Morel 5d64577f57 [ADD] actions documentation 2014-10-08 17:29:35 +02:00
Xavier Morel 9cd2693286 [FIX] JS tutorial 2014-10-07 10:23:50 +02:00