Skip to Content
Menú
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
Descartar
Related Posts Respostes Vistes Activitat
1
d’abr. 23
17759
0
de jul. 22
1914
0
d’oct. 24
1173
0
de nov. 23
1838
0
de set. 23
2266