Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1367 Visualizzazioni

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?
Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
set 24
2161
1
nov 22
5240
1
mar 15
4891
1
feb 22
2814
1
gen 22
2637