Skip to content

[FIX] l10n_uy_edi: move type when creating cfe from xml#403

Closed
pablohmontenegro wants to merge 1 commit intoingadhoc:16.0from
adhoc-dev:16.0-h-112422-pam
Closed

[FIX] l10n_uy_edi: move type when creating cfe from xml#403
pablohmontenegro wants to merge 1 commit intoingadhoc:16.0from
adhoc-dev:16.0-h-112422-pam

Conversation

@pablohmontenegro
Copy link
Copy Markdown
Contributor

Ticket: 112422

Copilot AI review requested due to automatic review settings March 18, 2026 14:19
@roboadhoc
Copy link
Copy Markdown
Contributor

Pull request status dashboard

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes vendor-bill sync from Uruware notifications by avoiding a crash when the derived move_type is missing while deciding whether to create an account.move from the received XML.

Changes:

  • Store the computed move_type in a variable before checking it.
  • Guard the 'in_' in move_type check to avoid errors when move_type is falsy/None.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread l10n_uy_edi/models/l10n_uy_cfe.py
@hav-adhoc
Copy link
Copy Markdown
Contributor

@roboadhoc r+ nobump

roboadhoc pushed a commit that referenced this pull request Mar 19, 2026
closes #403

Ticket: 112422
Signed-off-by: Victoria Halac - hav (#l10n) <hav@adhoc.inc>
@roboadhoc roboadhoc closed this Mar 19, 2026
@roboadhoc roboadhoc deleted the 16.0-h-112422-pam branch March 19, 2026 16:53
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.

4 participants