Odoo Help

0

Cash Registers

By
Jihen BEN ALI
on 3/24/16, 10:01 AM 289 views

Hi everyone,

I need in the cash registers to edit the write function in order when the user click on save button the journal entires will be created.

I had do it like this but I'm getting an error how can I fix it please help me and thanks.

def write(self, cr, uid, ids, vals, context):

res = super(account_cash_statement, self).write(cr, uid, ids, vals, context)

self.button_confirm_bank(cr, uid, ids, res, context)

return res

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 platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 3/24/16, 10:01 AM
Seen: 289 times
Last updated: 3/24/16, 10:45 AM