← Back to team overview

openerp-india team mailing list archive

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

 

Hello Jacara ,

Thanks for the reporting!

This issue has been fixed on lp:~openerp-dev/openobject-addons/trunk-
bug-1004283-jir branch with following rev no and id.

rev no :  6845
rev id  :  6845 jir@jir-desktop-20120525064547-qtxq60s0aa2fijk2


Thank you!

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

-- 
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 Committed

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