Skip to content

V7 Demo, there is no OK button on Invoices and TypeError: item.master.taxrate is undefined #332

@platipusica

Description

@platipusica

Also,

the Detail is missing:

    if (item.quantity.value) {
        calc_track(item);
    }
etc...

which will re-calc the Amount, but it will not adjust the Total!

Also,
when adjusting the Quantity on Tracks/Details, the InvoiceTable Form will error with:
TypeError: item.master.taxrate is undefined

This is also not adjusting the Totals ON the InvoiceTable or on that particular Detail.

Screenshot from 2024-09-27 14-43-17

TypeError: item.master.taxrate is undefined

Screenshot from 2024-09-27 14-55-37

This can be seen on:
https://jampy.pythonanywhere.com/

Maybe the solution is to make a Detail read only?
Still, the OK button is missing on Invoices.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions