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

Relationship Query in Sales->product & Sales-> Quotations.?

By
Lerner
on 6/25/15, 5:25 AM 241 views

In Sales->Quotations the "name" field is working , I need to add my own fields like (x_RDHeight, x_RDLength).

<field name="name"/> is product module variable, automatically working.

<field name="x_RDHeight"/> is customized product module variable, not working giving exceptions like given below


Field(s) `arch` failed against a constraint: Invalid view definition

Error details:

Field `x_RDHeight` does not exist

Error context:

View `sale.order.form`

[view_id: 575, xml_id: sale.view_order_form, model: sale.order, parent_id: n/a]

0

Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
4341
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 6/25/15, 7:25 AM

Sudarsan,

The fields must be pre-existent before you use them in view.

Did you create a custom field and set inside view? Make sure you target the right model. You seem to have added the custom field for product model, and you target sale model.

Thanks.

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/25/15, 5:25 AM
Seen: 241 times
Last updated: 6/25/15, 7:25 AM