Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1168 Widoki

I need the client to be displayed automatically when starting the POS since in my country the default client is Final Consumer.
I have created a module that in version 16 works fine but in version 18 it gives me this error


The following modules are needed by other modules but have not been defined, they may not be present in the correct asset bundle:

  • @point_of_sale/app/store/models

The following modules could not be loaded because they have unmet dependencies, this is a secondary error which is likely caused by one of the above problems:

  • @hn_pos_default_customer/overrides/models/models


I have modified the module well but when calling the js file to load the client in the POS it is used:
'assets': { 'point_of_sale._assets_pos': [ 'hn_pos_default_customer/static/src/overrides/models/models.js', 

], 

},

the use of _assets_pos is causing the error. because if I leave it alone we are asstes if the POS opens but the Client does not load by default.
can someone help me?
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
wrz 24
2087
1
lis 22
5061
1
mar 15
4792
1
lut 22
1791
1
sty 22
2558