Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1196 Lượt xem

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


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 23
17758
0
thg 7 22
1911
0
thg 10 24
1172
0
thg 11 23
1838
0
thg 9 23
2263