Odoo Help

0

Cash Registers

By
Jihen BEN ALI
on 3/24/16, 10:01 AM 401 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

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: 401 times
Last updated: 3/24/16, 10:45 AM