← Back to team overview

openerp-india team mailing list archive

[Bug 1004283] [NEW] On account.invoice check_total field wrong declaration

 

Public bug reported:

openerp-addons 6.1

On addons/account/account_invoice.py line 258 you can see declaration of
check_total field. There is no "close" state.

'check_total': fields.float('Verification Total',
digits_compute=dp.get_precision('Account'),
states={'open':[('readonly',True)],'close':[('readonly',True)]}),

Right way:

'check_total': fields.float('Verification Total',
digits_compute=dp.get_precision('Account'),
states={'open':[('readonly',True)],'paid':[('readonly',True)]}),

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

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1004283

Title:
  On account.invoice check_total field wrong declaration

Status in OpenERP Addons (modules):
  New

Bug description:
  openerp-addons 6.1

  On addons/account/account_invoice.py line 258 you can see declaration
  of check_total field. There is no "close" state.

  'check_total': fields.float('Verification Total',
  digits_compute=dp.get_precision('Account'),
  states={'open':[('readonly',True)],'close':[('readonly',True)]}),

  Right way:

  'check_total': fields.float('Verification Total',
  digits_compute=dp.get_precision('Account'),
  states={'open':[('readonly',True)],'paid':[('readonly',True)]}),

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


Follow ups

References