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

[IMP] l10n_ar_edi_ux: agregar funcionalidad de debitar cheques propios. #297

Closed
wants to merge 1 commit into from

Conversation

pablohmontenegro
Copy link
Contributor

Tarea: 34995
Lo hacemos acá y no en l10n_ar_ux porque no tenemos enterprise y usamos acá un metodo de account_accountant.

@roboadhoc
Copy link
Contributor

@pablohmontenegro pablohmontenegro force-pushed the 16.0-t-34995-pam branch 15 times, most recently from c6e4b78 to a209ccf Compare December 19, 2023 22:11
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]
Copy link
Member

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

Copy link
Member

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

l10n_ar_edi_ux/__manifest__.py Show resolved Hide resolved
l10n_ar_edi_ux/models/account_journal.py Outdated Show resolved Hide resolved
l10n_ar_edi_ux/wizards/account_check_action_wizard.py Outdated Show resolved Hide resolved
Tarea: 34995
Lo hacemos acá y no en l10n_ar_ux porque no tenemos enterprise y usamos acá un metodo de account_accountant.
@jjscarafia
Copy link
Member

@roboadhoc r+

roboadhoc pushed a commit that referenced this pull request Dec 21, 2023
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>
@roboadhoc roboadhoc closed this Dec 21, 2023
@jjscarafia jjscarafia deleted the 16.0-t-34995-pam branch December 21, 2023 19:43
@fw-bot-adhoc
Copy link
Contributor

@pablohmontenegro @jjscarafia this pull request has forward-port PRs awaiting action (not merged or closed):

3 similar comments
@fw-bot-adhoc
Copy link
Contributor

@pablohmontenegro @jjscarafia this pull request has forward-port PRs awaiting action (not merged or closed):

@fw-bot-adhoc
Copy link
Contributor

@pablohmontenegro @jjscarafia this pull request has forward-port PRs awaiting action (not merged or closed):

@fw-bot-adhoc
Copy link
Contributor

@pablohmontenegro @jjscarafia this pull request has forward-port PRs awaiting action (not merged or closed):

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

Successfully merging this pull request may close these issues.

None yet

4 participants