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

Cash Registers

By
Jihen BEN ALI
on 3/24/16, 10:01 AM 228 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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