Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to assign fields.function() value to a fields.float()?

By
samba
on 7/19/14, 10:29 AM 753 views

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.  

 

0

deep

--deep--
1617
| 5 4 7
Bengaluru, India
--deep--

Techno-Functional Associate with 6+ years of experience in Odoo (formerly known as OpenERP).

deep
On 7/21/14, 6:07 AM

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

samba
on 7/23/14, 5:21 AM
0
Walid Baruni
On 7/19/14, 5:07 PM

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 7/19/14, 10:29 AM
Seen: 753 times
Last updated: 3/16/15, 8:10 AM