Can someone tell me how to change the default field size of the Journal codes?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- Project
- MRP
신고된 질문입니다
1
회신
6340
화면
You need to create your own module which inherits, then changes the python class definition for the account.journal model.
This example changes the size from 5 (what is in in the core codebase) to 9.
class account_journal(osv.osv):
_inherit = "account.journal"
_columns = {
'code': fields.char('Code', size=9, required=True, help="The code will be displayed on reports."),
}
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
2
6월 22
|
2965 | ||
|
11
1월 24
|
17749 | ||
|
0
3월 15
|
3993 | ||
|
1
12월 23
|
25532 | ||
|
1
3월 15
|
5351 |