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

Al cancelar un pago, no cancela el asiento del pago #45

Open
gbhadolfo opened this issue Mar 18, 2021 · 0 comments
Open

Al cancelar un pago, no cancela el asiento del pago #45

gbhadolfo opened this issue Mar 18, 2021 · 0 comments

Comments

@gbhadolfo
Copy link

Al cancelar un pago, no cancela el asiento del pago

13

  1. Entrar a un pago de cliente o proveedor, del modulo account_payment_group

  2. Cancelar el pago

Lo que ocurre: Cancela el payment group, los pagos, pero no los asientos de pago.

Lo que debería ocurrir: Que cancele el/los asiento/s de pago para que no figuren en la contabilidad.

agregué esta línea en el procedimiento def cancel(self) de account_payment_group/models/account_payment_group.py
move.write({'state': 'cancel'})

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

No branches or pull requests

1 participant