← Back to team overview

openerp-india team mailing list archive

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

 

Hello,

Thanks For Reporting.

It has been Fixed in https://code.launchpad.net/~openerp-dev/openobject-
addons/trunk-bug-1000776-tpa

revno: 6802

It will be available in trunk soon.

Thanks,
Turkesh Patel.

** Branch linked: lp:~openerp-dev/openobject-addons/trunk-
bug-1000776-tpa

** Changed in: openobject-addons
       Status: In Progress => 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/1000776

Title:
  can't delete payment term

Status in OpenERP Addons (modules):
  Fix Committed

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