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
[IMP] l10n_ar_edi_ux: agregar funcionalidad de debitar cheques propios. #297
Conversation
c6e4b78
to
a209ccf
Compare
if self.date < payment.date: | ||
raise ValidationError(f'La fecha del débito del cheque {self.date} no puede ser inferior a la fecha de emisión del mismo {payment.date}.') | ||
# Línea del cheque a conciliar. | ||
move_line_ids = [payment.line_ids.filtered(lambda x: not x.reconciled and x.account_type=='liability_current').id] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
usaría el seek for lines porque puede tener otro tipo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_seek_for_lines (utilizando
liquidity_lines, counterpart_lines, writeoff_lines = payment._seek_for_lines()
move_line_ids = liquidity_lines.ids
Tarea: 34995 Lo hacemos acá y no en l10n_ar_ux porque no tenemos enterprise y usamos acá un metodo de account_accountant.
a209ccf
to
4ef938d
Compare
@roboadhoc r+ |
Tarea: 34995 Lo hacemos acá y no en l10n_ar_ux porque no tenemos enterprise y usamos acá un metodo de account_accountant. closes #297 Signed-off-by: Juan José Scarafía <jjs@adhoc.com.ar>
@pablohmontenegro @jjscarafia this pull request has forward-port PRs awaiting action (not merged or closed): |
3 similar comments
@pablohmontenegro @jjscarafia this pull request has forward-port PRs awaiting action (not merged or closed): |
@pablohmontenegro @jjscarafia this pull request has forward-port PRs awaiting action (not merged or closed): |
@pablohmontenegro @jjscarafia this pull request has forward-port PRs awaiting action (not merged or closed): |
Tarea: 34995
Lo hacemos acá y no en l10n_ar_ux porque no tenemos enterprise y usamos acá un metodo de account_accountant.