-
-
Notifications
You must be signed in to change notification settings - Fork 306
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_it_website_portal_fatturapa #3406
[16.0] [MIG] l10n_it_website_portal_fatturapa #3406
Conversation
/ocabot migration l10n_it_website_portal_fatturapa |
165f95a
to
a09db94
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.
Grazie della PR!
Puoi schiacciare i commit come descritto in https://github.com/OCA/maintainer-tools/wiki/Merge-commits-in-pull-requests#mergesquash-the-commits-generated-by-bots-or-weblate?
"author": "Odoo Community Association (OCA)", | ||
"category": "Localization/Italy", | ||
"website": "https://github.com/OCA/l10n-italy" | ||
"/tree/12.0/l10n_it_website_portal_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.
"/tree/12.0/l10n_it_website_portal_fatturapa", | |
"/tree/16.0/l10n_it_website_portal_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.
fatto
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.
La modifica andrebbe nel commit di migrazione
d0bfc79
to
8bbad01
Compare
country_italy = request.env.ref("base.it", raise_if_not_found=False) | ||
country_id = data.get("country_id", False) | ||
if country_id and country_italy and int(country_id) != country_italy.id: | ||
data["codice_destinatario"] = "XXXXXXX" | ||
elif data.get("codice_destinatario") == "XXXXXXX": | ||
data["codice_destinatario"] = "0000000" |
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.
Queste modifiche sono necessarie per la migrazione alla 16.0
?
Se non è così, sarebbero da spostare in un commit a parte, o anche in una PR a parte, e ci sarebbe da aprire la issue di tracciamento come descritto in https://github.com/OCA/l10n-italy/wiki/Team-di-sviluppo#apertura-issue
Giusto per completezza, vengono da #2520 (comment)
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.
fatta issue #3644
"author": "Odoo Community Association (OCA)", | ||
"category": "Localization/Italy", | ||
"website": "https://github.com/OCA/l10n-italy" | ||
"/tree/12.0/l10n_it_website_portal_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.
La modifica andrebbe nel commit di migrazione
if (!$is_pa[0].checked) { | ||
$codice_destinatario_div.show(); | ||
$pec_destinatario_div.show(); | ||
} else { | ||
$codice_destinatario_div.hide(); | ||
$pec_destinatario_div.hide(); | ||
var compute_destinatario_fields_visibility = function () { | ||
if ($is_pa[0].checked) { | ||
$codice_destinatario_div.hide(); | ||
$pec_destinatario_div.hide(); | ||
} else { | ||
$codice_destinatario_div.show(); | ||
$pec_destinatario_div.show(); |
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.
Questa è l'unica modifica necessaria per far contento pre-commit, che altrimenti dice:
l10n_it_website_portal_fatturapa/static/src/js/l10n_it_website_portal_fatturapa.js
40:13 warning Unexpected negated condition no-negated-condition
per il resto del file puoi ripristinare il codice che c'era prima?
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 ma questa riga ho dovuto eliminarla perché in ogni pagnia del sitoweb esce questo errore DOM doesn't contain o_portal_details
925c37e
to
3d3d997
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 - functional review ocaboat
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 nobump |
What a great day to merge this nice PR. Let's do it! |
@OpenCode your merge command was aborted due to failed check(s), which you can inspect on this commit of 16.0-ocabot-merge-pr-3406-by-OpenCode-bump-nobump. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
FIX l10n_it_website_portal_fatturapa: Cannot read property 'checked' of undefined when not in /my/home page
Otherwise, when installed directly: File "odoo/addons/base/models/ir_model.py", line 1380, in xmlid_lookup raise ValueError('External ID not found in the system: %s' % xmlid) odoo.tools.convert.ParseError: "External ID not found in the system: website.assets_frontend" while parsing None:8, near <data inherit_id="website.assets_frontend" name="Website Portal Electronic Invoice"> <xpath expr="." position="inside"> <script type="text/javascript" src="/l10n_it_website_portal_fatturapa/static/src/js/l10n_it_website_portal_fatturapa.js"/> </xpath> </data>
Currently translated at 100.0% (7 of 7 strings) Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_website_portal_fatturapa Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_website_portal_fatturapa/it/
…jected they are also obliged
3d3d997
to
23584ff
Compare
@OpenCode puoi riprovare ora che la dipendenza è mergiata? |
/ocabot merge nobump |
On my way to merge this fine PR! |
Congratulations, your PR was merged at 7a84e65. Thanks a lot for contributing to OCA. ❤️ |
Migration l10n_it_website_portal_fatturapa 12.0 to 16.0
--
Confermo di aver firmato il CLA https://odoo-community.org/page/cla e di aver letto le linee guida su https://odoo-community.org/page/contributing