Skip to Content
Menu
This question has been flagged

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
Discard
Related Posts Replies Views Activity
1
Apr 23
17809
0
Jul 22
1955
0
Oct 24
1263
0
Nov 23
1893
0
Sep 23
2322