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
Francisco Ivan Anton Prieto
parent
5f7c52b4f4
commit
438e584cb2
@@ -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