-
-
Notifications
You must be signed in to change notification settings - Fork 308
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
[16.0][IMP] l10n_it_fatturapa_import_zip: import only xml + enable customer xml import + manage payment for customer invoice + set debit account for customer invoice #4300
[16.0][IMP] l10n_it_fatturapa_import_zip: import only xml + enable customer xml import + manage payment for customer invoice + set debit account for customer invoice #4300
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.
LGTM
Come ti dicevo poco fa in chiamata, il primo commit 12222ba di questa PR è anche in #4299. |
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 della PR!
Riporto #4300 (comment):
il primo commit 12222ba di questa PR è anche in #4299.
Se ti servono quelle modifiche, dovresti includerle seguendo https://github.com/OCA/maintainer-tools/wiki/Use-temporary-reference(s)-to-another-pull-request(s).
Potresti creare una issue come descritto in https://github.com/OCA/l10n-italy/wiki/Team-di-sviluppo#apertura-issue?
Potresti aggiungere un test per coprire il nuovo caso d'uso? Sarà molto simile a quello esistente, solo dovrai eseguire un metodo diverso per l'import e controllare che non vengano create fatture.
Potresti modificare il messaggio del secondo commit per spiegare un po' meglio il motivo delle modifiche?
Al momento è
16.0-fatturapa_import_zip_enable_import_only_xml
che non è nemmeno una frase.
Nota che deve seguire https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#71commit-message
@@ -200,6 +200,40 @@ def action_import(self): | |||
|
|||
self.state = "done" | |||
|
|||
def action_import_no_invoice(self): |
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.
Tutto questo metodo è quasi un copia/incolla di action_import
, è possibile non duplicare il codice?
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.
fatto
if partner.property_supplier_payment_term_id: | ||
payment_term_id = partner.property_supplier_payment_term_id.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.
Questo è la stessa cosa che fa super
, non si potrebbe chiamare quello invece di ripetere qui il suo codice?
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.
fatto
ef8c252
to
6ac556a
Compare
Fatto
Puoi aiutarmi tu a farlo?
fatto |
4f65d93
to
f9afdbc
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.
Funzionale OK
Quando devo aggiornare la revisione ricordati per favore di indicarlo in github come descritto in https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/requesting-a-pull-request-review |
f9afdbc
to
546a1a9
Compare
39e4581
to
ea7c8a4
Compare
ea7c8a4
to
b197b85
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.
LGTM
b197b85
to
2bd75e6
Compare
2bd75e6
to
8b9022f
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.
LGTM
/ocabot merge minor |
This PR looks fantastic, let's merge it! |
It looks like something changed on |
It looks like something changed on |
Congratulations, your PR was merged at ddb4444. Thanks a lot for contributing to OCA. ❤️ |
Enable import only xml
Enable customer xml import
Set payment term for customer
Set debit account for customer