mirror of https://github.com/OCA/web.git
commit
c18a37977e
|
@ -7,7 +7,7 @@ Web Dialog Size
|
||||||
!! This file is generated by oca-gen-addon-readme !!
|
!! This file is generated by oca-gen-addon-readme !!
|
||||||
!! changes will be overwritten. !!
|
!! changes will be overwritten. !!
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
!! source digest: sha256:0d044de8c4c28572d56f9256ed19f1467d687ca3134941b0969ad305a87bb6cd
|
!! source digest: sha256:fbbea6bdc60af47c7c0aedf855bceae0db4acabd389badf71be2fbe90d1861f7
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
|
||||||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
||||||
|
@ -92,6 +92,9 @@ Contributors
|
||||||
* Sudhir Arya <sudhir@erpharbor.com>
|
* Sudhir Arya <sudhir@erpharbor.com>
|
||||||
* Pierre Pizzetta <pierre@devreaction.com>
|
* Pierre Pizzetta <pierre@devreaction.com>
|
||||||
* Mantas Šniukas <mantas@vialaurea.lt>
|
* Mantas Šniukas <mantas@vialaurea.lt>
|
||||||
|
* `Trobz <https://trobz.com/>`_:
|
||||||
|
|
||||||
|
* Tris Doan
|
||||||
|
|
||||||
Maintainers
|
Maintainers
|
||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
|
|
|
@ -14,3 +14,6 @@
|
||||||
* Sudhir Arya <sudhir@erpharbor.com>
|
* Sudhir Arya <sudhir@erpharbor.com>
|
||||||
* Pierre Pizzetta <pierre@devreaction.com>
|
* Pierre Pizzetta <pierre@devreaction.com>
|
||||||
* Mantas Šniukas <mantas@vialaurea.lt>
|
* Mantas Šniukas <mantas@vialaurea.lt>
|
||||||
|
* `Trobz <https://trobz.com/>`_:
|
||||||
|
|
||||||
|
* Tris Doan
|
||||||
|
|
|
@ -367,7 +367,7 @@ ul.auto-toc {
|
||||||
!! This file is generated by oca-gen-addon-readme !!
|
!! This file is generated by oca-gen-addon-readme !!
|
||||||
!! changes will be overwritten. !!
|
!! changes will be overwritten. !!
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
!! source digest: sha256:0d044de8c4c28572d56f9256ed19f1467d687ca3134941b0969ad305a87bb6cd
|
!! source digest: sha256:fbbea6bdc60af47c7c0aedf855bceae0db4acabd389badf71be2fbe90d1861f7
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||||
<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/15.0/web_dialog_size"><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-15-0/web-15-0-web_dialog_size"><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=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
<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/15.0/web_dialog_size"><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-15-0/web-15-0-web_dialog_size"><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=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||||
<p>A module that lets the user expand/restore the dialog box size through a button
|
<p>A module that lets the user expand/restore the dialog box size through a button
|
||||||
|
@ -444,6 +444,10 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
||||||
<li>Sudhir Arya <<a class="reference external" href="mailto:sudhir@erpharbor.com">sudhir@erpharbor.com</a>></li>
|
<li>Sudhir Arya <<a class="reference external" href="mailto:sudhir@erpharbor.com">sudhir@erpharbor.com</a>></li>
|
||||||
<li>Pierre Pizzetta <<a class="reference external" href="mailto:pierre@devreaction.com">pierre@devreaction.com</a>></li>
|
<li>Pierre Pizzetta <<a class="reference external" href="mailto:pierre@devreaction.com">pierre@devreaction.com</a>></li>
|
||||||
<li>Mantas Šniukas <<a class="reference external" href="mailto:mantas@vialaurea.lt">mantas@vialaurea.lt</a>></li>
|
<li>Mantas Šniukas <<a class="reference external" href="mailto:mantas@vialaurea.lt">mantas@vialaurea.lt</a>></li>
|
||||||
|
<li><a class="reference external" href="https://trobz.com/">Trobz</a>:<ul>
|
||||||
|
<li>Tris Doan</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="section" id="maintainers">
|
<div class="section" id="maintainers">
|
||||||
|
|
|
@ -2,6 +2,7 @@ odoo.define("web_dialog_size.web_dialog_size", function (require) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var Dialog = require("web.Dialog");
|
var Dialog = require("web.Dialog");
|
||||||
|
var session = require("web.session");
|
||||||
|
|
||||||
Dialog.include({
|
Dialog.include({
|
||||||
willStart: function () {
|
willStart: function () {
|
||||||
|
@ -12,7 +13,11 @@ odoo.define("web_dialog_size.web_dialog_size", function (require) {
|
||||||
.on("click", self.proxy("_extending"));
|
.on("click", self.proxy("_extending"));
|
||||||
self.$modal
|
self.$modal
|
||||||
.find(".dialog_button_restore")
|
.find(".dialog_button_restore")
|
||||||
.on("click", self.proxy("_restore"));
|
.on("click", self.proxy("_restore"))
|
||||||
|
.css("display", "none");
|
||||||
|
if (session.default_maximize) {
|
||||||
|
self._extending();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue