Skip to content

l10n_it_fiscalcode refactor and port to v9 - #203

Closed
gigidn wants to merge 45 commits into
OCA:9.0from
gigidn:90-codicefiscale
Closed

l10n_it_fiscalcode refactor and port to v9#203
gigidn wants to merge 45 commits into
OCA:9.0from
gigidn:90-codicefiscale

Conversation

@gigidn

@gigidn gigidn commented Mar 5, 2016

Copy link
Copy Markdown

This is a refactor of l10n_it_fiscalcode v8 module and porting to v9. Unfortunately automatic computation of fiscal code produce many wrong code so my proposal is to remove this feature in base module and let a more specialized module like l10n_it_fiscalcode_computation to do it.

@oca-clabot

Copy link
Copy Markdown

Hey @gigidn, thank you for your Pull Request.

It looks like some users haven't signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement here: http://odoo-community.org/page/website.cla
Here is a list of the users:

  • gigidn (no github login found)

Appreciation of efforts,
OCA CLAbot

Comment thread l10n_it_fiscalcode/model/res_partner.py Outdated
def _check_fiscalcode(self):

if self.fiscalcode:
if self.is_company and len(self.fiscalcode) != 11 and not self.individual and not self.fiscalcode.isdigit():

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.

Please, respect PEP8

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Done .. tks for review

Comment thread l10n_it_fiscalcode/AUTHORS.txt Outdated
@@ -8,3 +8,4 @@ Lorenzo Battistini <lorenzo.battistini@albatos.com>
Roberto Onnis <onnis.roberto@gmail.com>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Please remove this file, as this list is already contained in README.rst

@eLBati

eLBati commented Mar 10, 2016

Copy link
Copy Markdown
Member

Thanks 👍

Comment thread l10n_it_fiscalcode/model/res_partner.py Outdated
(check_fiscalcode,
"The fiscal code doesn't seem to be correct.", ["fiscalcode"])
]
@api.one

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hi @gigidn thanks

api.one in 9.0 is deprecated as a described here

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Tks for the feedback .... i will remove api.one in the next release

@eLBati

eLBati commented Aug 31, 2016

Copy link
Copy Markdown
Member

@gigidn

This branch has conflicts that must be resolved

Riesci a fare un rebase?
Grazie

@gigidn

gigidn commented Aug 31, 2016

Copy link
Copy Markdown
Author

Credo di aver risolto.

if partner.is_company and len(partner.fiscalcode) != 11 and \
not partner.individual and not partner.fiscalcode.isdigit():
raise ValidationError(
_("Company fiscal code must be 11 digts lenght.")

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.

Typo here "digits"

@OpenCode

OpenCode commented Sep 1, 2016

Copy link
Copy Markdown
Contributor

@gigidn ho lasciato un commento sul codice

@eLBati

eLBati commented Sep 1, 2016

Copy link
Copy Markdown
Member

@gigidn guardando il diff
https://github.com/OCA/l10n-italy/pull/203/files
vedo troppi file coinvolti.

Forse alla fine del rebase non hai fatto git push -f?
E' necessario -f perchè stai sovrascrivendo la storia, quindi devi sovrascrivere i vecchi commit presenti nel tuo branch.

Se ora il branch è comunque compromesso, ti consiglio di farne uno nuovo e una nuova PR

Grazie

@gigidn

gigidn commented Sep 1, 2016

Copy link
Copy Markdown
Author

Mi sa che ho scazzato con il -f ... in ogni caso visto che sanare il branch è operazione che consuma tempo mi sa che seguo il tuo consiglio @eLBati . In giornata faccio un nuovo branch ed una nuova PR e risolviamo cosi' ne approfitto anche per correggere gli errorini di travis e la segnalazione di @OpenCode (grazie per la segnalazione)

@eLBati eLBati added needs fixing Has conflicts or is failing mandatory CI checks and removed needs review labels Sep 1, 2016
@andrea4ever

Copy link
Copy Markdown
Contributor

Penso si possa chiudere questa PR in favore della #274

patrickt-oforce pushed a commit to patrickt-oforce/l10n-italy that referenced this pull request Jul 11, 2023
…oice

[ADD][l10n_it_fatturapa_out] add depencies from l10n_it_reverse_charge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs fixing Has conflicts or is failing mandatory CI checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants