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.


Inherited view for a project

Robert Klüsener
on 10/2/13, 3:12 AM 654 views

We have a project to manage our product claim based on task. In our product claims I want to be able to add the purchase date. Therefore I created a new field x_date_purchase in the project.task model and an inherited view of the project.task.form. Now the new purchase date field is available in all task of all projects.

Is it also possible to create an inherited view dedicated to only one project so that this new field is only available in the product claims project?



--Borni DHIFI--
| 6 8 9
Tunis, Tunisia
--Borni DHIFI--

Techno Functional Consultant Odoo(OpenERP) 


Skype : dhifi.borni

On 10/2/13, 5:39 AM


view dedicated to only one projec must you need to know id project 'id in database'.

and in your field must be used attribut 'invisible' :

for example project 1 :

<field name="x_date_purchase"  attrs="{'invisible':[('project_id','!=',1)]}"  />

to know id project in database active mode developer and in form project.project clik to view log:

image description

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: 10/2/13, 3:12 AM
Seen: 654 times
Last updated: 3/16/15, 8:10 AM