diff --git a/addons/account/account.py b/addons/account/account.py index 485b085fbbe..f557861700e 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -585,7 +585,7 @@ class account_journal(osv.osv): _description = "Journal" _columns = { 'name': fields.char('Journal Name', size=64, required=True, translate=True), - 'code': fields.char('Code', size=16, required=True, help="The code will be used to generate the numbers of the journal entries of this journal."), + 'code': fields.char('Code', size=5, required=True, help="The code will be used to generate the numbers of the journal entries of this journal."), 'type': fields.selection([('sale', 'Sale'),('sale_refund','Sale Refund'), ('purchase', 'Purchase'), ('purchase_refund','Purchase Refund'), ('cash', 'Cash'), ('bank', 'Bank and Cheques'), ('general', 'General'), ('situation', 'Opening/Closing Situation')], 'Type', size=32, required=True, help="Select 'Sale' for Sale journal to be used at the time of making invoice."\ " Select 'Purchase' for Purchase Journal to be used at the time of approving purchase order."\ diff --git a/addons/account/demo/account_minimal.xml b/addons/account/demo/account_minimal.xml index 10f2df28605..d670cb67d0f 100644 --- a/addons/account/demo/account_minimal.xml +++ b/addons/account/demo/account_minimal.xml @@ -342,7 +342,7 @@ Sales Journal - (test) - SAJ - (test) + SAJ_J sale @@ -353,7 +353,7 @@ Sales Credit Note Journal - (test) - SCNJ - (test) + SCN_J sale_refund @@ -366,7 +366,7 @@ Expenses Journal - (test) - EXJ - (test) + EXJ_J purchase @@ -377,7 +377,7 @@ Expenses Credit Notes Journal - (test) - ECNJ - (test) + ECN_J purchase_refund @@ -390,7 +390,7 @@ Bank Journal - (test) - BNK - (test) + BNK_J bank @@ -401,7 +401,7 @@ Checks Journal - (test) - CHK - (test) + CHK_J bank @@ -412,7 +412,7 @@ Cash Journal - (test) - CSH - (test) + CSH_J cash