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

I have 1 custom module.

In my custom module, it fetches data from stock.move(pcs,kgs,amount). The custom module have a button validate


I want that when I click the validate, the pcs and kgs in my inventory will be empty or zero,


Ex: I fetched 100pcs,100kgs,1000.00, after validate -> 0pc,0kg,0.00


Do i need to use the o2m and do it like this:   (1, ID, { values }) , does it update the values?

.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 24
7064
1
thg 1 20
6602
2
thg 7 17
8002
1
thg 1 16
4057
0
thg 9 15
4601