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

I have inherited a account.bank.statement model, it has balance_end_real, balance_start float fields, balance_end functional field. I want to assign balance_end field value to balance_end_real field. How can i do this??. Please help me.  

 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

how about inheriting create() and write() methods and force assign balance_end_real to match the value of the computed functional field

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

OR, you can write the values, while confirming the Bank Entry...

 

อวตาร
ละทิ้ง
ผู้เขียน

I am updating the balance_end_real with balance_end while confirming bank entry. Does this create any problem in future. I don't know openerp coding much

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ย. 25
1460
2
พ.ย. 24
3478
1
ก.ค. 24
1932
0
ต.ค. 23
1630
1
มิ.ย. 23
2427