Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] account_payment should not be deleted if account move is posted #96941

Closed
wants to merge 1 commit into from

Conversation

cvinh
Copy link

@cvinh cvinh commented Jul 28, 2022

Description of the issue/feature this PR addresses:
Description here : #75111

A company registers payments before they know if they have an invoice related to. At the end of the story, a lot of payments were mistakes and have to be reimbursed to the customers or transfered to another company.
The payment should not be deleted because if so, there is no trace anymore in the accounting. Some employee could steel the money then (if it's cash or unlabelled check)

Current behavior before PR:

  • Posted payments can be deleted and there is no trace anymore

Desired behavior after PR is merged:

  • Posted payments should not be deleted

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@robodoo
Copy link
Contributor

robodoo commented Jul 28, 2022

@C3POdoo C3POdoo requested review from a team and vin-odoo and removed request for a team July 28, 2022 01:14
@vin-odoo
Copy link
Contributor

Hi, thank you for the proposition. According to my colleague, this is intended behavior and thus not a bug.
I will thus close this pr, have a nice day :)

@vin-odoo vin-odoo closed this Jul 28, 2022
@cvinh
Copy link
Author

cvinh commented Jul 28, 2022

Dear @vin-odoo
Could you please explain what is the use case that would need this feature ?
Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants