Odoo Help


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.


Unexpected menu behaviour - v8 new api

on 4/21/15, 4:20 AM 509 views

In my module I inherit:

from openerp import models, fields, api, _
class account_vat_declaration(models.Model):
_inherit = "account.vat.declaration"
... here some code...

After this menu behaves unexpectedly:

1) When I was working as an Admin menu Taxes Report is visible and all works

2) When I was working as an Financial Manager menu is not visible!

All permissions are set correctly, where it can be a problem?



| 5 4 7
Lodz, Poland

On 4/21/15, 4:31 AM

I've spent on this problem a long time. I decided to share the answer. I found an error. The error is in line:

class account_vat_declaration(models.Model): 

should be (exactly in this case):

class account_vat_declaration(models.TransientModel): 

Very strange behavior of the system!

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)


Asked: 4/21/15, 4:20 AM
Seen: 509 times
Last updated: 4/21/15, 2:59 PM