Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
4938 Lượt xem

I tried to import configuration parameters from one file to another, but i got an error

"'NoneType' object is not callable"

what is that mean? i already defined the external id, company, resource, value and field. ex:

  • external id = parameter4

  • company = base.main_company

  • name = Income Category Account

  • resource = All product / Finished Goods

  • type = many2one

  • field = property_account_income_categ

  • value = 411001 Product Sales

so, what causes this error?

Ảnh đại diện
Huỷ bỏ

Were you able to solve this on your own?

Tác giả

it seems that paramater can't be imported...

Câu trả lời hay nhất

NoneType is the symbol that the Python programming language uses to describe a field that has not been initialized or provided with any value at all. In this case, for some reason I do not yet understand, Python wants to run that field as part of the program.

I may be able to help you further but I need more information:

  1. What do you mean when you say , "I tried to import configuration parameters from one file to another"? Were you importing into OpenERP?
  2. What did you previously export in order to get the data you show above?
  3. Where did it come from?
  4. Exactly which page in OpenERP are you at when you try to import?
  5. What does the server log file show at the time of the error?
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
3323
2
thg 5 15
11096
1
thg 3 15
6315
3
thg 10 23
3535
3
thg 6 20
3870