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

Number of columns in a supported in a module

By
Mohammed Osman Gomda
on 4/16/13, 10:33 AM 889 views

How many number of columns are supported in a module. I get too many values to unpack in module which was working perfectly before I added more columns

1

Sudhir Arya (SA)

--Sudhir Arya (SA)--
10150
| 6 8 8
Ahmedabad, India
--Sudhir Arya (SA)--

Working as an OpenERP/Odoo developer and a Team Leader 

Top 5 Odoo contributor On Stackoverflow

LinkedIn

Blog

Stackoverflow

Sudhir Arya (SA)
On 4/16/13, 10:40 AM

I guess problem might be in fields.selection. So just check it.

0

patrick

--patrick--
1958
| 5 4 7
Baarn, Netherlands
--patrick--
patrick
On 4/16/13, 12:10 PM

Can you post the exact error message, with the last part of the stacktrace?

According to the documentation of PostgreSQL (http://www.postgresql.org/about/):

Maximum Columns per Table 250 - 1600 depending on column types

So if you are below 250, you should not have any issues.

More likely you pass in more than the method is expecting, or you pass a list instead of a single int (for the ID for example). But without trace it is hard to tell.

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: 4/16/13, 10:33 AM
Seen: 889 times
Last updated: 3/16/15, 8:10 AM