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_it_fatturapa: fix access to fatturapa.attachments #4447

Closed

Conversation

toita86
Copy link

@toita86 toita86 commented Nov 20, 2024

No description provided.

@toita86 toita86 marked this pull request as ready for review November 20, 2024 16:02
@francesco-ooops francesco-ooops linked an issue Nov 21, 2024 that may be closed by this pull request
2 tasks
Copy link
Contributor

@francesco-ooops francesco-ooops left a comment

Choose a reason for hiding this comment

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

Funzionale ok!

Copy link
Contributor

@aleuffre aleuffre left a comment

Choose a reason for hiding this comment

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

Code review ok, una domanda

Comment on lines 7 to 13
@api.model
def create(self, values):
attachments = super().create(values)
for att in attachments:
att.write({"res_model": self._name, "res_id": att.id})

return attachments
Copy link
Contributor

Choose a reason for hiding this comment

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

question: questo fix non andrebbe direttamente nel modulo l10n_it_fatturapa?

Copy link
Author

Choose a reason for hiding this comment

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

Grazie per la review, dovrei aver cambiato

Copy link
Contributor

Choose a reason for hiding this comment

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

Credo che se si sposta la modifica al codice andrebbe spostata anche la migrazione per coerenza.

@toita86 toita86 force-pushed the 14.0-IMP-l10n_it_fatturapa_out-G-toita86 branch 2 times, most recently from 0b229c9 to f39b5fb Compare November 25, 2024 08:18
@toita86 toita86 force-pushed the 14.0-IMP-l10n_it_fatturapa_out-G-toita86 branch from f39b5fb to 4194bc8 Compare November 25, 2024 09:27
Copy link
Contributor

@aleuffre aleuffre left a comment

Choose a reason for hiding this comment

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

Code review, LGTM

@francesco-ooops
Copy link
Contributor

@OCA/local-italy-maintainers buona per il merge?

@francesco-ooops francesco-ooops changed the title [IMP] l10n_it_fatturapa_out: fix access to fatturapa.attachments [IMP] l10n_it_fatturapa: fix access to fatturapa.attachments Nov 25, 2024
@toita86
Copy link
Author

toita86 commented Nov 27, 2024

Chiudo questa PR in favore di #4463

@toita86 toita86 closed this Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[l10n_it_fatturapa] - Problema di accesso fattura fornitore
5 participants