Skip to content

Point of Sale not loading javascript files defined in custom modules #21882

Description

@wguerram

Impacted versions:
11

Steps to reproduce:
Create a new module, add template under views, js and xml under static/src. I'm loading some fields and a new model using load_fields and load_models. See attached screenshots.

If further details are needed I can provide them.

Current behavior:
My code works when I run in development mode with assets but doesn't work when I run in user mode.

I've trying reloading, rebooting, updating my application, changing the files permissions and nothing looks to work.

Expected behavior:
Execute my js file so that new fields and models are loaded to be used in xml files.

Video/Screenshot link (optional):

js
template

Metadata

Metadata

Assignees

No one assigned

    Labels

    11.0Logisticsabout stock, mrp, delivery, purchase

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions