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

[V8] Custom fields on ir.model.fields not working [Closed]

By
Hiren Vora - CEO at Emipro Technologies Pvt. Ltd. India
on 7/25/14, 3:34 AM 1,569 views

The Question has been closed for reason: not relevant or out dated

by
Fabien Pinckaers (fp)
on 07/26/2014 02:25:55

Hello,

Custom fields in Odoo V8, not creating column in database table.

I have added a column called x_registered (type boolean) in Settings >> Technical >> Database Structure >> Fields for res.partner class. Now, when I went to see that column in res_partner table, that column wasn't exist. 

Now I have added that field (x_registered) in Customer view (res.partner.form). When I save that form view, I am facing following error.

ValidateError

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

Error details:
Field `x_registered` does not exist

Error context:
View `res.partner.form`
[view_id: 126, xml_id: base.view_partner_form, model: res.partner, parent_id: n/a]

Anyone has any suggestion on this ? How to solve ? Where am i missing ?

Thank you,

 

0

Ludo - Neobis

--Ludo - Neobis--
2387
| 2 2 5
Hoogvliet, Netherlands
--Ludo - Neobis--

Developer

Ludo - Neobis
On 7/25/14, 4:19 AM

Have you tried it in the official way, using a custom module yet?

I have made several fields for Odoo 8 now and had no trouble since.

Ludo, I have tried with official way. Not through any kind of custom code or custom module. Can you please let me know which date's Odoo V8 you have installed ?? May be when I have downloaded V8, at that day this might not working.

Hiren Vora - CEO at Emipro Technologies Pvt. Ltd. India
on 7/25/14, 4:47 AM
0
William Castle
On 7/25/14, 11:44 AM

Good to know.

0

I have downloaded latest V8 from github and this has been solved.

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 7/25/14, 3:34 AM
Seen: 1569 times
Last updated: 3/16/15, 8:10 AM