← Back to team overview

openerp-india team mailing list archive

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

 

Released on 7392.

Thank you!


** Changed in: openobject-addons
       Status: Fix Committed => Fix Released

-- 
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):
  Fix Released

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


References