Skip to Content
Menu
This question has been flagged
1126 Views

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
Discard
Related Posts Replies Views Activity
1
Sep 24
1975
1
Nov 22
4971
1
Mar 15
4681
1
Feb 22
1530
1
Jan 22
2462