[REF] pos*: merge PosStore and PosGlobalState
*: l10n_ae_pos, l10n_co_pos, l10n_fr_pos_cert, l10n_gcc_pos, l10n_in_pos, point_of_sale, pos_adyen, pos_discount, pos_epson_printer, pos_hr, pos_loyalty, pos_mercury, pos_restaurant, pos_sale, pos_sale_product_configurator, pos_six, pos_stripe After the architectural refactor of the PoS App, there are two classes that make sense to merge. In this refactoring task, we're merging them. closes odoo/odoo#124477 Task: 3358550 Related: odoo/enterprise#42257 Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
/** @odoo-module */
|
||||
|
||||
import { PosGlobalState } from "@point_of_sale/app/store/models";
|
||||
import { PosStore } from "@point_of_sale/app/store/pos_store";
|
||||
import { EpsonPrinter } from "@pos_epson_printer/js/epson_printer";
|
||||
import { patch } from "@web/core/utils/patch";
|
||||
|
||||
patch(PosGlobalState.prototype, "pos_epson_printer.PosGlobalState", {
|
||||
patch(PosStore.prototype, "pos_epson_printer.PosStore", {
|
||||
after_load_server_data() {
|
||||
var self = this;
|
||||
return this._super(...arguments).then(function () {
|
||||
|
||||
Reference in New Issue
Block a user