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

[BUG][15.0] l10n_es_ticketbai_pos cerrar sesión con factura cancelada #3624

Open
Bilbonet opened this issue Jun 3, 2024 · 1 comment
Open
Labels
bug stale PR/Issue without recent activity, it'll be soon closed automatically.

Comments

@Bilbonet
Copy link
Contributor

Bilbonet commented Jun 3, 2024

No es un problema exactamente del POS pero se da una situación bloqueante cuando utilizas POS y Ticketbai

En una sesión de POS emites una factura a un cliente.
ANTES de cerrar la sesión de POS cancelas dicha factura por alguna razón X.
Posteriormente al cerrar la sesión del POS, hay una comprobación que impide cerrar la sesión si hay facturas que no están en estado "Posted".

https://github.com/OCA/OCB/blob/dd2da708bc4a42bba9670b874282a2206d8f5ffe/addons/point_of_sale/models/pos_session.py#L203

Al tener instalado TicketBAI, dicha factura no puede ser devuelta a la situación de "Posted" de ninguna manera.
Por restricciones en la operativa se han quitado las opciones de devolver a borrador una factura.

Lo planteo aquí porque no se cual sería la manera más adecuada se subsanar este problema.

Lo primero que se me ocurre es reescribir en el módulo [l10n_es_ticketbai_pos] para que también permita cerrar la sesión con facturas en estado cancelada.

Saludos 😅

@Bilbonet Bilbonet added the bug label Jun 3, 2024
Copy link

github-actions bot commented Dec 1, 2024

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

No branches or pull requests

1 participant