Bug 63536

Summary: Add Accounting format code to currency list
Product: LibreOffice Reporter: PhilC2K <PBCsr>
Component: SpreadsheetAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: medium CC: ign_christian, justinjovic, qubit
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description PhilC2K 2013-04-15 04:50:12 UTC
Now that the Accounting format has been resolved (see 45780), add the following accounting code format to the list of per-defined formats under Currency:

[$$-409]* #,##0.00_);[RED][$$-409]* (#,##0.00);[$$-409]* -_)
Comment 1 ign_christian 2013-10-09 13:36:56 UTC
Hi Phil, please explain the purpose of this report. What is the difference with Bug 45780?
Comment 2 PhilC2K 2013-10-10 03:36:41 UTC
A fair question.  The original bug report (Bug 45780) was to address a fundamental technical deficiency that prevented the basic ability to even create an accounting format, and the implied (though not explicitly stated) addition of an "Accounting" format to the list of pre-defined number formats.  That technical issue has now been solved but not the addition of the Accounting format entry.  That is left to the user to 1) build the format, 2) create a new template 3) make the new template the default.  Hardly an adopter friendly process.  As I have bellowed from my soap-box before, we must make this "work" for the adopters and leaving this other piece undone creates a barrier to them.

This bug report is an effort to drop the other shoe and bring that remaining piece to the fore to be addressed. (And does not get lost in the "completion" of the primary bug.)

It's not a very challenging fix unlike the technical underpinnings.  The biggest issue would be what the formatting code should be (I would defer to a professional accountant for that).  But I would amend my original suggestion to correct the right-indent of the negative value:

[$$-409]* #,##0.00_);[RED][$$-409]* (#,##0.00)_);[$$-409]* -_)


Separately, I feel LO should add the ability of a user to define number formats and then have [Add] and [Delete] buttons to manage their User Defined formats in the default template
Comment 3 Robinson Tryon (qubit) 2014-02-04 15:51:54 UTC
(In reply to comment #2)
> ...As I have bellowed from my soap-box
> before, we must make this "work" for the adopters and leaving this other
> piece undone creates a barrier to them.

Smells like an enhancement.

> 
> This bug report is an effort to drop the other shoe and bring that remaining
> piece to the fore to be addressed. (And does not get lost in the
> "completion" of the primary bug.)
> 
> It's not a very challenging fix unlike the technical underpinnings.  The
> biggest issue would be what the formatting code should be (I would defer to
> a professional accountant for that).  But I would amend my original
> suggestion to correct the right-indent of the negative value:
> 
> [$$-409]* #,##0.00_);[RED][$$-409]* (#,##0.00)_);[$$-409]* -_)

Feel free to submit a patch for this.

> 
> Separately, I feel LO should add the ability of a user to define number
> formats and then have [Add] and [Delete] buttons to manage their User
> Defined formats in the default template

Feel free to submit this as a separate enhancement request.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.