Category Title (account_fstr_category.name) only 32 characters

Bug #1154724 reported by Ray Carnes on 2013-03-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Financial Statement Template Reporting
Undecided
Unassigned

Bug Description

When porting reports that we implemented at 6.1 - we noticed that the Category names were being truncated. This is because this version only allows 32 characters for the Category Name - at 6.1 it was 128 Characters.

32 characters is too short for LIABILITIES AND STOCKHOLDERS' EQUITY and ACCUMULATED OTHER COMPREHENSIVE INCOME for example. We also generally see account names longer than 32 characters.

32 characters is also much shorter than what OpenERP supports (256 characters).

This is a simple fix:

Line 87 of account_fstr_category.py:

'name': fields.char('Category Title name', size=32, required=True, select=True),

can be changed to:

'name': fields.char('Category Title name', size=128, required=True, select=True),

A diff with this change is attached.

Ray Carnes (rcarnes) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers