-
-
Notifications
You must be signed in to change notification settings - Fork 533
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][MIG] l10n_es_aeat_sii_invoice_summary: Migration to 16.0 #3071
[16.0][MIG] l10n_es_aeat_sii_invoice_summary: Migration to 16.0 #3071
Conversation
58db194
to
8af9292
Compare
8af9292
to
8398c1c
Compare
8398c1c
to
10c16a2
Compare
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
tipo_factura = "F4" | ||
if self.sii_invoice_summary_start: | ||
if self.sii_invoice_summary_start == self.sii_invoice_summary_end: | ||
tipo_factura = "F2" if self.move_type == "out_invoice" else "R5" | ||
tipo_factura = "F2" if self.is_inbound() else "R5" |
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.
El método incluye más tipos, ¿es correcto?
@api.model
def get_inbound_types(self, include_receipts=True):
return ['out_invoice', 'in_refund'] + (include_receipts and ['out_receipt'] or [])
def is_inbound(self, include_receipts=True):
return self.move_type in self.get_inbound_types(include_receipts)
<field | ||
name="sii_invoice_summary_start" | ||
attrs="{'invisible': [('is_invoice_summary', '=', False)]}" | ||
attrs="{'invisible': ['|', ('move_type', 'not in', ('out_invoice','out_refund')), ('is_invoice_summary', '=', False)]}" |
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.
¿Es necesario esto? Parece redundante.
Hola @OCA/local-spain-maintainers, ¿se podría reabrir el PR por favor? |
Mencionad por favor en el README que esto es una alternativa al |
/ocabot migration l10n_es_aeat_sii_invoice_summary |
[ADD] icon.png [UPD] Update l10n_es_aeat_sii_invoice_summary.pot [UPD] README.rst [UPD] README.rst
…ustomer invoices TT49186
…the fields in form view TT49186
… required of the fields TT49397
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: l10n-spain-14.0/l10n-spain-14.0-l10n_es_aeat_sii_invoice_summary Translate-URL: https://translation.odoo-community.org/projects/l10n-spain-14-0/l10n-spain-14-0-l10n_es_aeat_sii_invoice_summary/
10c16a2
to
91bdd72
Compare
@pedrobaeza Readme actualizado con el comentario de que es una alternativa a |
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.
/ocabot merge nobump
This PR looks fantastic, let's merge it! |
This PR has the |
Congratulations, your PR was merged at 77e0950. Thanks a lot for contributing to OCA. ❤️ |
#2526