[FIX] contract: Only include 'section_and_note_one2many' js widget in view fields that contain it

This commit is contained in:
Víctor Martínez
2020-11-04 08:22:40 +01:00
committed by Christopher Rogos
parent f4c0376a62
commit 15b1e29650
2 changed files with 2 additions and 1 deletions

View File

@@ -10,7 +10,7 @@
{
"name": "Recurring - Contracts Management",
"version": "13.0.1.0.1",
"version": "13.0.1.0.2",
"category": "Contract Management",
"license": "AGPL-3",
"author": "Tecnativa, ACSONE SA/NV, Odoo Community Association (OCA)",

View File

@@ -11,6 +11,7 @@ this can be applied directly to Odoo*/
odoo.define("contract.section_and_note_backend", function(require) {
"use strict";
require("account.section_and_note_backend");
var fieldRegistry = require("web.field_registry");
var section_and_note_one2many = fieldRegistry.get("section_and_note_one2many");