Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1155 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
zář 24
2057
1
lis 22
5038
1
bře 15
4767
1
úno 22
1705
1
led 22
2537