-
-
Notifications
You must be signed in to change notification settings - Fork 307
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
Conversation
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.
Funzionale ok!
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.
Code review ok, una domanda
@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 |
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.
question: questo fix non andrebbe direttamente nel modulo l10n_it_fatturapa
?
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.
Grazie per la review, dovrei aver cambiato
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.
Credo che se si sposta la modifica al codice andrebbe spostata anche la migrazione per coerenza.
0b229c9
to
f39b5fb
Compare
f39b5fb
to
4194bc8
Compare
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.
Code review, LGTM
@OCA/local-italy-maintainers buona per il merge? |
Chiudo questa PR in favore di #4463 |
No description provided.