mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[BOT] post-merge updates
This commit is contained in:
@@ -7,7 +7,7 @@ Web Notify
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:4517d4a854a8c5b84197dc9510ae75ac0fa82ce2a37a3a0d4078ea51a65c073f
|
||||
!! source digest: sha256:0f62f42226ca419e7db3fb3ee2a5be600f06184db73c61097ddc2fadbcf09025
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
|
||||
@@ -73,6 +73,12 @@ or
|
||||
|
||||
or
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
self.env.user.notify_info(message='My information message')
|
||||
|
||||
or
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
self.env.user.notify_default(message='My default message')
|
||||
@@ -90,7 +96,7 @@ The action can be used using the ``action`` keyword:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
action = self.env.ref('sale.action_orders').read()[0]
|
||||
action = self.env["ir.actions.act_window"]._for_xml_id('sale.action_orders')
|
||||
action.update({
|
||||
'res_id': self.id,
|
||||
'views': [(False, 'form')],
|
||||
@@ -136,7 +142,6 @@ Contributors
|
||||
* Aitor Bouzas <aitor.bouzas@adaptivecity.com>
|
||||
* Shepilov Vladislav <shepilov.v@protonmail.com>
|
||||
* Kevin Khao <kevin.khao@akretion.com>
|
||||
* Guewen Baconnier <guewen.baconnier@camptocamp.com>
|
||||
* `Tecnativa <https://www.tecnativa.com>`_:
|
||||
|
||||
* David Vidal
|
||||
|
||||
Reference in New Issue
Block a user