OpenERP : Saving field value (amount) into an account?
I'm new to OpenERP and python and I need some help saving an amount into a particular account.
I have created a field in the invoice form that calculates a specific amount based on some code and displays that amount in the field. What I want to do is to associate an account with this field, so when the invoice is validated and/or payed, this amount is saved into an account and later on I can see it in the journal entries and/or chart of account. Any idea how to do that ?