forked from Techsystech/web
web_ir_actions_act_view_reload: fix README (#1633)
Unresolved reference self and module odoo.api has no attribute multi [UPD] README.rst [UPD] Brainbean Apps => CorporateHub [UPD] README.rst15.0-ocabot-merge-pr-2789-by-pedrobaeza-bump-patch
parent
ddc66dd2b9
commit
f826b96d91
|
@ -19,8 +19,11 @@ Web Actions View Reload
|
|||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||
:target: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_ir_actions_act_view_reload
|
||||
:alt: Translate me on Weblate
|
||||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
|
||||
:target: https://runbot.odoo-community.org/runbot/162/13.0
|
||||
:alt: Try me on Runbot
|
||||
|
||||
|badge1| |badge2| |badge3| |badge4|
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|
||||
This module provides a way to trigger reload of the current window on ActionManager
|
||||
|
||||
|
@ -36,8 +39,7 @@ To use this functionality you need to return following action:
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
@api.multi
|
||||
def foo():
|
||||
def foo(self):
|
||||
self.ensure_one()
|
||||
return {
|
||||
'type': 'ir.actions.act_view_reload',
|
||||
|
@ -60,13 +62,15 @@ Authors
|
|||
~~~~~~~
|
||||
|
||||
* Modoolar
|
||||
* Brainbean Apps
|
||||
* CorporateHub
|
||||
|
||||
Contributors
|
||||
~~~~~~~~~~~~
|
||||
|
||||
* Petar Najman <petar.najman@modoolar.com>
|
||||
* Alexey Pelykh <alexey.pelykh@brainbeanapps.com>
|
||||
* `CorporateHub <https://corporatehub.eu/>`__
|
||||
|
||||
* Alexey Pelykh <alexey.pelykh@corphub.eu>
|
||||
|
||||
Maintainers
|
||||
~~~~~~~~~~~
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Copyright 2017 - 2018 Modoolar <info@modoolar.com>
|
||||
# Copyright 2018 Brainbean Apps
|
||||
# Copyright 2020 CorporateHub (https://corporatehub.eu)
|
||||
# License LGPLv3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html).
|
||||
|
||||
{
|
||||
|
@ -8,7 +9,7 @@
|
|||
"category": "Web",
|
||||
"version": "13.0.1.0.0",
|
||||
"license": "LGPL-3",
|
||||
"author": "Modoolar, Brainbean Apps, Odoo Community Association (OCA)",
|
||||
"author": "Modoolar, CorporateHub, Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/web/",
|
||||
"depends": ["web"],
|
||||
"data": ["views/web_ir_actions_act_view_reload.xml"],
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
* Petar Najman <petar.najman@modoolar.com>
|
||||
* Alexey Pelykh <alexey.pelykh@brainbeanapps.com>
|
||||
* `CorporateHub <https://corporatehub.eu/>`__
|
||||
|
||||
* Alexey Pelykh <alexey.pelykh@corphub.eu>
|
||||
|
|
|
@ -2,8 +2,7 @@ To use this functionality you need to return following action:
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
@api.multi
|
||||
def foo():
|
||||
def foo(self):
|
||||
self.ensure_one()
|
||||
return {
|
||||
'type': 'ir.actions.act_view_reload',
|
||||
|
|
|
@ -367,7 +367,7 @@ ul.auto-toc {
|
|||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/web/tree/13.0/web_ir_actions_act_view_reload"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_ir_actions_act_view_reload"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a></p>
|
||||
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/web/tree/13.0/web_ir_actions_act_view_reload"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_ir_actions_act_view_reload"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/162/13.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
|
||||
<p>This module provides a way to trigger reload of the current window on ActionManager</p>
|
||||
<p><strong>Table of contents</strong></p>
|
||||
<div class="contents local topic" id="contents">
|
||||
|
@ -386,8 +386,7 @@ ul.auto-toc {
|
|||
<h1><a class="toc-backref" href="#id1">Usage</a></h1>
|
||||
<p>To use this functionality you need to return following action:</p>
|
||||
<pre class="code python literal-block">
|
||||
<span class="nd">@api</span><span class="o">.</span><span class="n">multi</span>
|
||||
<span class="k">def</span> <span class="nf">foo</span><span class="p">():</span>
|
||||
<span class="k">def</span> <span class="nf">foo</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
|
||||
<span class="bp">self</span><span class="o">.</span><span class="n">ensure_one</span><span class="p">()</span>
|
||||
<span class="k">return</span> <span class="p">{</span>
|
||||
<span class="s1">'type'</span><span class="p">:</span> <span class="s1">'ir.actions.act_view_reload'</span><span class="p">,</span>
|
||||
|
@ -408,14 +407,17 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
|
|||
<h2><a class="toc-backref" href="#id4">Authors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Modoolar</li>
|
||||
<li>Brainbean Apps</li>
|
||||
<li>CorporateHub</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="contributors">
|
||||
<h2><a class="toc-backref" href="#id5">Contributors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Petar Najman <<a class="reference external" href="mailto:petar.najman@modoolar.com">petar.najman@modoolar.com</a>></li>
|
||||
<li>Alexey Pelykh <<a class="reference external" href="mailto:alexey.pelykh@brainbeanapps.com">alexey.pelykh@brainbeanapps.com</a>></li>
|
||||
<li><a class="reference external" href="https://corporatehub.eu/">CorporateHub</a><ul>
|
||||
<li>Alexey Pelykh <<a class="reference external" href="mailto:alexey.pelykh@corphub.eu">alexey.pelykh@corphub.eu</a>></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="maintainers">
|
||||
|
|
Loading…
Reference in New Issue