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',
|
'author': 'Suherdy Yacob',
|
||||||
'depends': ['point_of_sale'],
|
'depends': ['point_of_sale'],
|
||||||
'data': [],
|
'data': [],
|
||||||
'assets': {
|
'assets': {},
|
||||||
'point_of_sale.assets_prod': [
|
|
||||||
'pos_customer_orders/static/src/xml/**/*',
|
|
||||||
'pos_customer_orders/static/src/js/**/*',
|
|
||||||
],
|
|
||||||
},
|
|
||||||
'installable': True,
|
'installable': True,
|
||||||
'application': False,
|
'application': False,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,10 +1,15 @@
|
|||||||
/** @odoo-module */
|
/** @odoo-module */
|
||||||
|
|
||||||
|
/*
|
||||||
import { PartnerDetailsEdit } from "@point_of_sale/app/screens/partner_list/partner_editor/partner_editor";
|
import { PartnerDetailsEdit } from "@point_of_sale/app/screens/partner_list/partner_editor/partner_editor";
|
||||||
import { patch } from "@web/core/utils/patch";
|
import { patch } from "@web/core/utils/patch";
|
||||||
import { useService } from "@web/core/utils/hooks";
|
import { useService } from "@web/core/utils/hooks";
|
||||||
import { onWillStart, useState } from "@odoo/owl";
|
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, {
|
patch(PartnerDetailsEdit.prototype, {
|
||||||
setup() {
|
setup() {
|
||||||
super.setup();
|
super.setup();
|
||||||
@ -32,3 +37,4 @@ patch(PartnerDetailsEdit.prototype, {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user