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

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.  

 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

 

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 25
1455
2
thg 11 24
3453
1
thg 7 24
1919
0
thg 10 23
1618
1
thg 6 23
2415