Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3342 มุมมอง

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?

.

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ค. 24
7064
odoo module update error แก้ไขแล้ว
1
ม.ค. 20
6600
How to update a field in recordset v10? แก้ไขแล้ว
2
ก.ค. 17
8001
1
ม.ค. 16
4053
0
ก.ย. 15
4599