← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 823160] [NEW] [account] Inconsistency with state name in account_period

 

Public bug reported:

addons: 4921
module: account
file: account.py
line: 875
content: 
"""

'state': fields.selection([('draft','Open'), ('done','Closed')], 'State', readonly=True,
                                  help='When monthly periods are created. The state is \'Draft\'. At the end of monthly period it is in \'Done\' state.'),

"""

The state "draft" which is "Open" is confusing. All other objects have
some selection fields 'state' as ("draft", "Draft") and ("open",
"Open").

To my mind it should be the same for account_period!

** Affects: openobject-addons
     Importance: Undecided
         Status: Opinion


** Tags: accounting opinion period

** Changed in: openobject-addons
       Status: New => Opinion

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/823160

Title:
  [account] Inconsistency with state name in account_period

Status in OpenERP Modules (addons):
  Opinion

Bug description:
  addons: 4921
  module: account
  file: account.py
  line: 875
  content: 
  """

  'state': fields.selection([('draft','Open'), ('done','Closed')], 'State', readonly=True,
                                    help='When monthly periods are created. The state is \'Draft\'. At the end of monthly period it is in \'Done\' state.'),

  """

  The state "draft" which is "Open" is confusing. All other objects have
  some selection fields 'state' as ("draft", "Draft") and ("open",
  "Open").

  To my mind it should be the same for account_period!

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/823160/+subscriptions


Follow ups

References