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

Add more attributes to project

By
Grzegorz Chodzicki
on 8/23/13, 7:59 AM 1,047 views

I work in a software testing compsny where every product we test is a separate project in Project Management Module. We need to add more attributes to the "Create Project" tab. The attributes i need are product code (unique for every product), type of medium (chosen from a list), multiple clients or three separate client attributes (from three different companies, it's a complicated process) and size of the project (a number from 1 to 500). Is there a module that will allow me to implement these features? If not what models and fields I need to create in the database structure for this to work?

EDIT: I have created x_product_card model with product code, product type and three client fields. When i try to add custom fields into the project form view i get invalid xml architecture error. Also i have a server error everytime i try to input data into any of these fields.

EDIT 2: This is the error message I get when i try to add the field to the project.project.form view

Client Traceback (most recent call last): File "C:\Program Files (x86)\OpenERP 7.0-20130813-231104\Server\server\openerp\addons\web\http.py", line 204, in dispatch File "C:\Program Files (x86)\OpenERP 7.0-20130813-231104\Server\server\openerp\addons\web\controllers\main.py", line 1128, in call_kw File "C:\Program Files (x86)\OpenERP 7.0-20130813-231104\Server\server\openerp\addons\web\controllers\main.py", line 1120, in _call_kw File "C:\Program Files (x86)\OpenERP 7.0-20130813-231104\Server\server\openerp\addons\web\session.py", line 42, in proxy File "C:\Program Files (x86)\OpenERP 7.0-20130813-231104\Server\server\openerp\addons\web\session.py", line 30, in proxy_method File "C:\Program Files (x86)\OpenERP 7.0-20130813-231104\Server\server\openerp\addons\web\session.py", line 103, in send

Server Traceback (most recent call last): File "C:\Program Files (x86)\OpenERP 7.0-20130813-231104\Server\server\openerp\addons\web\session.py", line 89, in send File "C:\Program Files (x86)\OpenERP 7.0-20130813-231104\Server\server.\openerp\netsvc.py", line 292, in dispatch_rpc File "C:\Program Files (x86)\OpenERP 7.0-20130813-231104\Server\server.\openerp\service\web_services.py", line 626, in dispatch File "C:\Program Files (x86)\OpenERP 7.0-20130813-231104\Server\server.\openerp\osv\osv.py", line 188, in execute_kw File "C:\Program Files (x86)\OpenERP 7.0-20130813-231104\Server\server.\openerp\osv\osv.py", line 131, in wrapper File "C:\Program Files (x86)\OpenERP 7.0-20130813-231104\Server\server.\openerp\osv\osv.py", line 197, in execute File "C:\Program Files (x86)\OpenERP 7.0-20130813-231104\Server\server.\openerp\osv\osv.py", line 185, in execute_cr File "C:\Program Files (x86)\OpenERP 7.0-20130813-231104\Server\server\openerp\addons\base\ir\ir_model.py", line 351, in create File "C:\Program Files (x86)\OpenERP 7.0-20130813-231104\Server\server.\openerp\osv\orm.py", line 1080, in __init__ AssertionError: Invalid rec_name x_product_type for model x_product_card

I don't write it in Python, I add models and fields through the database structure menu

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

0 follower(s)

Stats

Asked: 8/23/13, 7:59 AM
Seen: 1047 times
Last updated: 3/16/15, 8:10 AM