Odoo Help


Unexpected menu behaviour - v8 new api

on 4/21/15, 4:20 AM 975 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?



| 6 5 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!

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.


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)


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