← Back to team overview

openerp-india team mailing list archive

[Bug 1000776] Re: can't delete payment term

 

** 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/1000776

Title:
  can't delete payment term

Status in OpenERP Addons (modules):
  In Progress

Bug description:
  When I try  delete one payment term this error happend:

  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: Payment Term Line - account.payment.term.line]

  In account.payment.term.line object the field payment_id must has de
  argument ondelete='cascade' to permit delete the account.payment.term
  to allow delete without need delete account.payment.term.line first.

  Best regards,

  Renato Lima - http://www.akretion.com

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


References