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

Where to find web controllers for invoicing module Odoo 9.0

By
Alexander Soare
on 6/2/16, 5:10 PM 180 views

I'm looking to override the unlink method for account_invoice and I need it to check who the user is (namely if the user is super admin). For this I need to add parameters cr, and uid to it. Obviously raises an exception as the function calling the unlink method only supplies one arguement. I'm looking for the web controller so that I can modify add the additional arguements there. 

First - does this makes sense as a way to attack the problem?

Second - in which directory can I find the relevant web controller?

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: 6/2/16, 5:10 PM
Seen: 180 times
Last updated: 6/3/16, 1:26 AM