← Back to team overview

openerp-india team mailing list archive

[Bug 1000776] [NEW] can't delete payment term

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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):
  New

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


Follow ups

References