refactor: disable partner editor patch and remove assets declaration due to Odoo 19 framework changes
This commit is contained in:
parent
6b5721e30e
commit
b28548d9c5
@ -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,
|
||||
}
|
||||
|
||||
@ -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, {
|
||||
}
|
||||
}
|
||||
});
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user