[ADD] web_confirm_duplicate

This commit is contained in:
Lois Rilo
2022-08-08 12:53:03 +02:00
parent 43b5582330
commit cbbd50884d
13 changed files with 611 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
/* Copyright 2022 ForgeFlow S.L.
* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). */
odoo.define("web_confirm_duplicate.basic_view", function(require) {
"use strict";
var BasicView = require("web.BasicView");
BasicView.include({
init: function() {
this._super.apply(this, arguments);
this.controllerParams.confirmOnDuplicate = true;
},
});
});