mirror of https://github.com/OCA/web.git
[BOT] post-merge updates
parent
ca2e322c52
commit
df3a5ccc3f
|
@ -34,7 +34,7 @@ addon | version | maintainers | summary
|
|||
[web_calendar_slot_duration](web_calendar_slot_duration/) | 14.0.1.0.0 | [](https://github.com/Yajo) | Customizable calendar slot durations
|
||||
[web_company_color](web_company_color/) | 14.0.2.0.0 | | Web Company Color
|
||||
[web_copy_confirm](web_copy_confirm/) | 14.0.1.0.0 | | Show confirmation dialogue before copying records
|
||||
[web_create_write_confirm](web_create_write_confirm/) | 14.0.1.0.0 | | Confirm/Alert pop-up before saving
|
||||
[web_create_write_confirm](web_create_write_confirm/) | 14.0.1.1.0 | [](https://github.com/ilyasProgrammer) | Confirm/Alert pop-up before saving
|
||||
[web_decimal_numpad_dot](web_decimal_numpad_dot/) | 14.0.1.0.0 | | Allows using numpad dot to enter period decimal separator
|
||||
[web_dialog_size](web_dialog_size/) | 14.0.1.0.0 | | A module that lets the user expand a dialog box to the full screen width.
|
||||
[web_disable_export_group](web_disable_export_group/) | 14.0.2.0.0 | | Web Disable Export Group
|
||||
|
|
|
@ -7,7 +7,7 @@ Confirm/Alert pop-up before saving
|
|||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:7ffe943eb22ee465e35d6e7d5eeca244b46c04ac4b25c62a1afc5c214fa80ca9
|
||||
!! source digest: sha256:9a2b87a13801cefbe6e4daaeda2556665241e46995fa392222f939ea05134cb7
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
||||
|
@ -51,7 +51,7 @@ Confirm res.partner change:
|
|||
|
||||
msg = self.env['popup.message'].create(
|
||||
{
|
||||
'model_id': self.env['ir.model'].search([('model', '=', 'res.partner')]).id,
|
||||
'model_id': self.env['ir.model']._get_id('res.partner')
|
||||
'field_ids': [(6, 0, self.env['ir.model.fields'].search([('model', '=', 'res.partner')]).ids)],
|
||||
'popup_type': 'confirm',
|
||||
'title': 'Warning',
|
||||
|
@ -66,7 +66,7 @@ Sale order alert:
|
|||
|
||||
msg = self.env['popup.message'].create(
|
||||
{
|
||||
'model_id': self.env['ir.model'].search([('model', '=', 'sale.order')]).id,
|
||||
'model_id': self.env['ir.model']._get_id('sale.order'),
|
||||
'field_ids': [(6, 0, self.env['ir.model.fields'].search([('model', '=', 'sale.order')]).ids)],
|
||||
'popup_type': 'alert',
|
||||
'title': 'Attention',
|
||||
|
@ -116,6 +116,14 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|||
mission is to support the collaborative development of Odoo features and
|
||||
promote its widespread use.
|
||||
|
||||
.. |maintainer-ilyasProgrammer| image:: https://github.com/ilyasProgrammer.png?size=40px
|
||||
:target: https://github.com/ilyasProgrammer
|
||||
:alt: ilyasProgrammer
|
||||
|
||||
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|
||||
|
||||
|maintainer-ilyasProgrammer|
|
||||
|
||||
This module is part of the `OCA/web <https://github.com/OCA/web/tree/14.0/web_create_write_confirm>`_ project on GitHub.
|
||||
|
||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
{
|
||||
"name": "Confirm/Alert pop-up before saving",
|
||||
"version": "14.0.1.0.0",
|
||||
"version": "14.0.1.1.0",
|
||||
"depends": ["web"],
|
||||
"author": "Smile, Odoo Community Association (OCA)",
|
||||
"maintainers": ["ilyasProgrammer"],
|
||||
|
|
|
@ -367,7 +367,7 @@ ul.auto-toc {
|
|||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:7ffe943eb22ee465e35d6e7d5eeca244b46c04ac4b25c62a1afc5c214fa80ca9
|
||||
!! source digest: sha256:9a2b87a13801cefbe6e4daaeda2556665241e46995fa392222f939ea05134cb7
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external image-reference" 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 image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/web/tree/14.0/web_create_write_confirm"><img alt="OCA/web" src="https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_create_write_confirm"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=14.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||
<p>This module provides feature to create custom confirmation or alert dialog when user creates or writes record.
|
||||
|
@ -396,7 +396,7 @@ Here is some examples how you can use this module features in your code.</p>
|
|||
<pre class="code python literal-block">
|
||||
<span class="n">msg</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">env</span><span class="p">[</span><span class="s1">'popup.message'</span><span class="p">]</span><span class="o">.</span><span class="n">create</span><span class="p">(</span><span class="w">
|
||||
</span> <span class="p">{</span><span class="w">
|
||||
</span> <span class="s1">'model_id'</span><span class="p">:</span> <span class="bp">self</span><span class="o">.</span><span class="n">env</span><span class="p">[</span><span class="s1">'ir.model'</span><span class="p">]</span><span class="o">.</span><span class="n">search</span><span class="p">([(</span><span class="s1">'model'</span><span class="p">,</span> <span class="s1">'='</span><span class="p">,</span> <span class="s1">'res.partner'</span><span class="p">)])</span><span class="o">.</span><span class="n">id</span><span class="p">,</span><span class="w">
|
||||
</span> <span class="s1">'model_id'</span><span class="p">:</span> <span class="bp">self</span><span class="o">.</span><span class="n">env</span><span class="p">[</span><span class="s1">'ir.model'</span><span class="p">]</span><span class="o">.</span><span class="n">_get_id</span><span class="p">(</span><span class="s1">'res.partner'</span><span class="p">)</span><span class="w">
|
||||
</span> <span class="s1">'field_ids'</span><span class="p">:</span> <span class="p">[(</span><span class="mi">6</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">env</span><span class="p">[</span><span class="s1">'ir.model.fields'</span><span class="p">]</span><span class="o">.</span><span class="n">search</span><span class="p">([(</span><span class="s1">'model'</span><span class="p">,</span> <span class="s1">'='</span><span class="p">,</span> <span class="s1">'res.partner'</span><span class="p">)])</span><span class="o">.</span><span class="n">ids</span><span class="p">)],</span><span class="w">
|
||||
</span> <span class="s1">'popup_type'</span><span class="p">:</span> <span class="s1">'confirm'</span><span class="p">,</span><span class="w">
|
||||
</span> <span class="s1">'title'</span><span class="p">:</span> <span class="s1">'Warning'</span><span class="p">,</span><span class="w">
|
||||
|
@ -409,7 +409,7 @@ Here is some examples how you can use this module features in your code.</p>
|
|||
<pre class="code python literal-block">
|
||||
<span class="n">msg</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">env</span><span class="p">[</span><span class="s1">'popup.message'</span><span class="p">]</span><span class="o">.</span><span class="n">create</span><span class="p">(</span><span class="w">
|
||||
</span> <span class="p">{</span><span class="w">
|
||||
</span> <span class="s1">'model_id'</span><span class="p">:</span> <span class="bp">self</span><span class="o">.</span><span class="n">env</span><span class="p">[</span><span class="s1">'ir.model'</span><span class="p">]</span><span class="o">.</span><span class="n">search</span><span class="p">([(</span><span class="s1">'model'</span><span class="p">,</span> <span class="s1">'='</span><span class="p">,</span> <span class="s1">'sale.order'</span><span class="p">)])</span><span class="o">.</span><span class="n">id</span><span class="p">,</span><span class="w">
|
||||
</span> <span class="s1">'model_id'</span><span class="p">:</span> <span class="bp">self</span><span class="o">.</span><span class="n">env</span><span class="p">[</span><span class="s1">'ir.model'</span><span class="p">]</span><span class="o">.</span><span class="n">_get_id</span><span class="p">(</span><span class="s1">'sale.order'</span><span class="p">),</span><span class="w">
|
||||
</span> <span class="s1">'field_ids'</span><span class="p">:</span> <span class="p">[(</span><span class="mi">6</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">env</span><span class="p">[</span><span class="s1">'ir.model.fields'</span><span class="p">]</span><span class="o">.</span><span class="n">search</span><span class="p">([(</span><span class="s1">'model'</span><span class="p">,</span> <span class="s1">'='</span><span class="p">,</span> <span class="s1">'sale.order'</span><span class="p">)])</span><span class="o">.</span><span class="n">ids</span><span class="p">)],</span><span class="w">
|
||||
</span> <span class="s1">'popup_type'</span><span class="p">:</span> <span class="s1">'alert'</span><span class="p">,</span><span class="w">
|
||||
</span> <span class="s1">'title'</span><span class="p">:</span> <span class="s1">'Attention'</span><span class="p">,</span><span class="w">
|
||||
|
@ -452,6 +452,8 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|||
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
|
||||
mission is to support the collaborative development of Odoo features and
|
||||
promote its widespread use.</p>
|
||||
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
|
||||
<p><a class="reference external image-reference" href="https://github.com/ilyasProgrammer"><img alt="ilyasProgrammer" src="https://github.com/ilyasProgrammer.png?size=40px" /></a></p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/web/tree/14.0/web_create_write_confirm">OCA/web</a> project on GitHub.</p>
|
||||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue