This question has been flagged

I want to my module to have ID like sales order SO0001, SO0002, and so on. I try following

  • https://www.odoo.com/forum/help-1/question/how-to-create-an-auto-increment-id-number-field-in-hr-employee-72667

  • https://www.odoo.com/forum/help-1/question/how-do-i-create-a-field-with-a-running-count-72390#answer-72399

but it's not working.

Can someone help me explain this step by step?

Avatar
Discard

Hello, the questions you shared looks fine. Could you share your code and error you getting now?

Author

2017-07-03 14:07:41,414 6599 CRITICAL test openerp.modules.module: Couldn't load module contract

2017-07-03 14:07:41,414 6599 CRITICAL test openerp.modules.module: 'module' object has no attribute 'char'

2017-07-03 14:07:41,415 6599 INFO test werkzeug: 127.0.0.1 - - [03/Jul/2017 14:07:41] "GET /web?db=test HTTP/1.1" 302

I can't even login into my database.

I follow this link https://www.odoo.com/forum/help-1/question/sequence-auto-increment-no-75001

I don't understand the 2 that I post.