From b28548d9c5a8b6ec9538a72f8206728dc00f1b0c Mon Sep 17 00:00:00 2001 From: Suherdy Yacob Date: Wed, 6 May 2026 10:21:19 +0700 Subject: [PATCH] refactor: disable partner editor patch and remove assets declaration due to Odoo 19 framework changes --- __manifest__.py | 7 +------ static/src/js/partner_editor.js | 6 ++++++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/__manifest__.py b/__manifest__.py index df6169b..0e90187 100755 --- a/__manifest__.py +++ b/__manifest__.py @@ -6,12 +6,7 @@ 'author': 'Suherdy Yacob', 'depends': ['point_of_sale'], 'data': [], - 'assets': { - 'point_of_sale.assets_prod': [ - 'pos_customer_orders/static/src/xml/**/*', - 'pos_customer_orders/static/src/js/**/*', - ], - }, + 'assets': {}, 'installable': True, 'application': False, } diff --git a/static/src/js/partner_editor.js b/static/src/js/partner_editor.js index 0d602ca..cbabe6d 100755 --- a/static/src/js/partner_editor.js +++ b/static/src/js/partner_editor.js @@ -1,10 +1,15 @@ /** @odoo-module */ +/* import { PartnerDetailsEdit } from "@point_of_sale/app/screens/partner_list/partner_editor/partner_editor"; import { patch } from "@web/core/utils/patch"; import { useService } from "@web/core/utils/hooks"; import { onWillStart, useState } from "@odoo/owl"; +// Odoo 19: PartnerDetailsEdit component no longer exists. +// Partner editing is handled via backend form views. +// This patch is disabled until a new way to inject these fields into the form view is implemented. + patch(PartnerDetailsEdit.prototype, { setup() { super.setup(); @@ -32,3 +37,4 @@ patch(PartnerDetailsEdit.prototype, { } } }); +*/