Ir al contenido
Menú
Se marcó esta pregunta
1137 Vistas

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
sept 24
2015
1
nov 22
5003
1
mar 15
4732
1
feb 22
1620
1
ene 22
2502