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
返信
6297
ビュー
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
|
2930 | ||
|
11
1月 24
|
17717 | ||
|
0
3月 15
|
3982 | ||
|
1
12月 23
|
25514 | ||
|
1
3月 15
|
5306 |