← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 685974] Re: [trunk V6] Partner included in Bank Statement can be deleted

 

yes it has indeed to be fixed! but not by putting required=True on the
partner_id field, you have to set ondelete=restrict on the field
partner_id of the account.move.line object

thanks

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/685974

Title:
  [trunk V6] Partner included in Bank Statement can be deleted

Status in OpenObject Addons Modules:
  In Progress

Bug description:
  Bank Statements in V6

Create new bank statement.
Add new line with any partner (e.g. axelor), select Supplier, key in an amount.
=> What you do is just create an advance payment. (Make sure no invoices are linked to the partner)

Then you confirm the bank statement (of course, change the closing balance to match the correct amount).

Then go to the partner Axelor and delete it.
You can perfectly delete this partner! This should be impossible.





References