← Back to team overview

openerp-india team mailing list archive

[Bug 905443] Re: [v6]cannot cancel invoice in specific combination

 

** Changed in: openobject-addons
       Status: Confirmed => In Progress

-- 
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/905443

Title:
  [v6]cannot cancel invoice in specific combination

Status in OpenERP Addons (modules):
  In Progress

Bug description:
  version = '6.0.3'
  major_version = '6.0'

  There is an error when canceling Open invoice if certain criteria is
  fulfiled:

  e.g .First invoice line's unit price is equal to 0 and this invoice
  line is tied to any analytic account.

  ##########
  Error
  #############

  Integrity Error

  The operation cannot be completed, probably due to the following:
  - deletion: you may be trying to delete a record while other records still reference it
  - creation/update: a mandatory field is not correctly set

  [object with reference: Analytic Line - account.analytic.line]
  --------------------------------------------------------------------------

  Workaround:
  Open appropriate account.move, cancel it, edit corresponding account.move.line by changing amount, or remove tied analytic account on nasty line, then cancel invoice.

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


References