Skip to Content
Menu
This question has been flagged
1214 Zobrazenia

I need to add another state to a function in account/static/src/js/ tax_group.js line 94

var displayEditWidget = self._isPurchaseDocument() && this.record.data.state === 'draft' && this.getParent().mode === 'edit';

I already added inheritance to web.assets_backend but don't know how to exactly overwrite the function.

I hope somebody can help me. 


Thank you very much

Paul


Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
apr 23
17767
0
júl 22
1920
0
okt 24
1183
0
nov 23
1841
0
sep 23
2270