Skip to content

[18.0][MIG] l10n_it_pos_fiscalcode: migration to v18#5006

Closed
HekkiMelody wants to merge 14 commits into
OCA:18.0from
PyTech-SRL:18.0-mig-pos-fiscalcode
Closed

[18.0][MIG] l10n_it_pos_fiscalcode: migration to v18#5006
HekkiMelody wants to merge 14 commits into
OCA:18.0from
PyTech-SRL:18.0-mig-pos-fiscalcode

Conversation

@HekkiMelody

Copy link
Copy Markdown
Contributor

Adattato le dipendenze e rinominato i campi rispetto alla v16

@tafaRU

tafaRU commented Nov 17, 2025

Copy link
Copy Markdown
Member

/ocabot migration l10n_it_pos_fiscalcode

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Nov 17, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Nov 17, 2025
46 tasks
@monen17

monen17 commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

/ocabot rebase

@OCA-git-bot

Copy link
Copy Markdown
Contributor

@monen17 The rebase process failed, because command git push --force PyTech-SRL tmp-pr-5006:18.0-mig-pos-fiscalcode failed with output:

remote: Permission to PyTech-SRL/l10n-italy.git denied to OCA-git-bot.
fatal: unable to access 'https://github.com/PyTech-SRL/l10n-italy/': The requested URL returned error: 403

@monen17

monen17 commented Feb 23, 2026

Copy link
Copy Markdown
Contributor

@monen17 The rebase process failed, because command git push --force PyTech-SRL tmp-pr-5006:18.0-mig-pos-fiscalcode failed with output:

remote: Permission to PyTech-SRL/l10n-italy.git denied to OCA-git-bot.
fatal: unable to access 'https://github.com/PyTech-SRL/l10n-italy/': The requested URL returned error: 403

@HekkiMelody potresti fare un rebase please?

eLBati and others added 14 commits February 23, 2026 16:29
The module adds fiscal code field to partner form within point of sale interface,
allowing to view and edit it

[UPD] Update l10n_it_pos_fiscalcode.pot

[UPD] README.rst
Currently translated at 100.0% (2 of 2 strings)

Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_pos_fiscalcode
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_pos_fiscalcode/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-italy-16.0/l10n-italy-16.0-l10n_it_pos_fiscalcode
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-16-0/l10n-italy-16-0-l10n_it_pos_fiscalcode/
Currently translated at 100.0% (2 of 2 strings)

Translation: l10n-italy-16.0/l10n-italy-16.0-l10n_it_pos_fiscalcode
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-16-0/l10n-italy-16-0-l10n_it_pos_fiscalcode/it/
@HekkiMelody HekkiMelody force-pushed the 18.0-mig-pos-fiscalcode branch from 003fd4c to 2334a2b Compare February 23, 2026 15:29
@HekkiMelody

Copy link
Copy Markdown
Contributor Author

@monen17 Fatto! Grazie

@monen17 monen17 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Grazie della PR!
Ho fatto revisione del codice e qualche prova, a quanto vedo il modulo potrebbe servire solo per la ricerca tramite codice fiscale, ma magari mi sono perso qualcosa, fammi sapere cosa ne pensi!

Oltre ai commenti qui sotto, potresti schiacciare i commit dei bot come indicato in https://github.com/OCA/maintainer-tools/wiki/Merge-commits-in-pull-requests#mergesquash-the-commits-generated-by-bots-or-weblate?
Attualmente ce ne sono diversi:
Image


<t
t-name="PartnerDetailsEdit"
t-inherit="point_of_sale.PartnerDetailsEdit"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Non ho trovato questa vista nel core, ho il dubbio che non esista più in 18.0, potresti verificare?

Comment on lines +11 to +19
<div class="partner-detail">
<span class="label">F.C.</span>
<input
class="detail l10n_it_codice_fiscale"
name="l10n_it_codice_fiscale"
t-on-change="captureChange"
t-att-value="props.partner.l10n_it_codice_fiscale || ''"
/>
</div>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Ho provato in una 18.0 senza questa PR e il cliente viene mostrato con lo stesso form del backend:
Image
Potresti chiarire a cosa servono queste modifiche?
Magari sono in una vista che non so come raggiungere.

"installable": True,
"depends": [
"point_of_sale",
"l10n_it_edi_extension",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
"l10n_it_edi_extension",
"l10n_it_edi",

Il campo del codice fiscale è definito da l10n_it_edi (https://github.com/odoo/odoo/blob/0b54f8463200a840a8fde17ceed2c928a3249b68/addons/l10n_it_edi/models/res_partner.py#L15) quindi potremmo dipendere direttamente da quel modulo se non ci serve l10n_it_edi_extension, cosa ne pensi?

_inherit = "pos.session"

def _loader_params_res_partner(self):
result = super()._loader_params_res_partner()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Questo metodo non mi pare esista in super, puoi verificare?

Ho fatto una piccola ricerca e temo che se vogliamo poter cercare per codice fiscale dovremo in qualche modo inserirci lato JS in https://github.com/odoo/odoo/blob/0b54f8463200a840a8fde17ceed2c928a3249b68/addons/point_of_sale/static/src/app/screens/partner_list/partner_list.js#L148.

@monen17

monen17 commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

Prendo in carico in #5146.

@monen17 monen17 closed this Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.