mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] contract: Only include 'section_and_note_one2many' js widget in view fields that contain it
This commit is contained in:
committed by
Christopher Rogos
parent
f4c0376a62
commit
15b1e29650
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"name": "Recurring - Contracts Management",
|
"name": "Recurring - Contracts Management",
|
||||||
"version": "13.0.1.0.1",
|
"version": "13.0.1.0.2",
|
||||||
"category": "Contract Management",
|
"category": "Contract Management",
|
||||||
"license": "AGPL-3",
|
"license": "AGPL-3",
|
||||||
"author": "Tecnativa, ACSONE SA/NV, Odoo Community Association (OCA)",
|
"author": "Tecnativa, ACSONE SA/NV, Odoo Community Association (OCA)",
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ this can be applied directly to Odoo*/
|
|||||||
odoo.define("contract.section_and_note_backend", function(require) {
|
odoo.define("contract.section_and_note_backend", function(require) {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
require("account.section_and_note_backend");
|
||||||
var fieldRegistry = require("web.field_registry");
|
var fieldRegistry = require("web.field_registry");
|
||||||
var section_and_note_one2many = fieldRegistry.get("section_and_note_one2many");
|
var section_and_note_one2many = fieldRegistry.get("section_and_note_one2many");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user