跳至内容
菜单
此问题已终结

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

相关帖文 回复 查看 活动
2
9月 25
1460
2
11月 24
3478
1
7月 24
1938
0
10月 23
1632
1
6月 23
2428