Skip to content

[16.0][MIG] l10n_it_abicab#2977

Closed
Borruso wants to merge 39 commits into
OCA:16.0from
Borruso:16.0-mig-l10n_it_abicab
Closed

[16.0][MIG] l10n_it_abicab#2977
Borruso wants to merge 39 commits into
OCA:16.0from
Borruso:16.0-mig-l10n_it_abicab

Conversation

@Borruso

@Borruso Borruso commented Oct 21, 2022

Copy link
Copy Markdown
Contributor

Migration l10n_it_abicab from 14.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

Comment on lines +13 to +14
abi = fields.Char(size=5, string="ABI")
cab = fields.Char(size=5, string="CAB")

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.

Ciao.
In call si è parlato di adattarci un po' alla naming convention di Odoo per i campi.
I campi andrebbero rinominati l10n_it_abi e l10n_it_cab.

Comment on lines +21 to +22
bank_abi = fields.Char(size=5, string="ABI", related="bank_id.abi", store=True)
bank_cab = fields.Char(size=5, string="CAB", related="bank_id.cab", store=True)

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.

Idem. (Beh non ti sto a segnare tutte le occorrenze d'ora in poi)

@Borruso Borruso force-pushed the 16.0-mig-l10n_it_abicab branch 5 times, most recently from ea0527c to 828b714 Compare October 28, 2022 15:32
@TheMule71 TheMule71 mentioned this pull request Nov 1, 2022
81 tasks
@primes2h

primes2h commented Nov 8, 2022

Copy link
Copy Markdown
Contributor

/ocabot migration l10n_it_abicab

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Nov 8, 2022
@Borruso Borruso force-pushed the 16.0-mig-l10n_it_abicab branch from 828b714 to dedba5d Compare November 10, 2022 10:21
@Borruso Borruso marked this pull request as ready for review November 10, 2022 10:22
Comment thread l10n_it_abicab/models/abicab.py Outdated
)

@api.onchange("bank_id")
def onchange_bank_id(self):

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.

Metodo non necessario per popolare i campi "l10n_it_bank_abi" & "l10n_it_bank_cab" dato che hanno l'attributo related nella loro definizione, creata una issue

andrea4ever and others added 18 commits November 11, 2022 11:05
[IMP] porting module to Odoo 8.0

[ADD] Readme

clear __openerp__.py

[FIX] Flake8 - W292 no newline at end of file

Replace Openerp -> Odoo

[FIX] Depends - Readme - Module name - Update transalation file
[MIG] Rename manifest files
[FIX] authors

[FIX] copyright

[FIX] README syntax

[FIX] README syntax

[FIX] contributors
Currently translated at 100.0% (5 of 5 strings)

Translation: l10n-italy-11.0/l10n-italy-11.0-l10n_it_abicab
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-11-0/l10n-italy-11-0-l10n_it_abicab/it/
[IMP] Set partner bank abi/cab related
oca-transbot and others added 20 commits November 11, 2022 11:05
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Updated by Update PO files to match POT (msgmerge) hook in Weblate.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_abicab
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_abicab/
Currently translated at 100.0% (6 of 6 strings)

Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_abicab
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_abicab/it/
Currently translated at 100.0% (9 of 9 strings)

Translation: l10n-italy-14.0/l10n-italy-14.0-l10n_it_abicab
Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-14-0/l10n-italy-14-0-l10n_it_abicab/it/
pylint with optional checks..............................................Passed
- hook id: pylint
- duration: 61.46s

************* Module l10n_it_fatturapa
l10n_it_fatturapa/views/partner_view.xml:51: [W7940(dangerous-view-replace-wo-priority), ]  Dangerous use of "replace" from view with priority 0 < 99
************* Module l10n_it_abicab
l10n_it_abicab/views/abicab_view.xml:29: [W7940(dangerous-view-replace-wo-priority), ]  Dangerous use of "replace" from view with priority 0 < 99
************* Module l10n_it_intrastat_statement.models.intrastat_statement_purchase_section
l10n_it_intrastat_statement/models/intrastat_statement_purchase_section.py:58: [R7980(consider-merging-classes-inherited), IntrastatStatementPurchaseSection1] Consider merging classes inherited to "account.intrastat.statement.purchase.section" from intrastat_statement_purchase_section.py:212, intrastat_statement_purchase_section.py:357, intrastat_statement_purchase_section.py:428.
************* Module l10n_it_intrastat_statement.models.intrastat_statement_sale_section
l10n_it_intrastat_statement/models/intrastat_statement_sale_section.py:26: [R7980(consider-merging-classes-inherited), IntrastatStatementSaleSection1] Consider merging classes inherited to "account.intrastat.statement.sale.section" from intrastat_statement_sale_section.py:172, intrastat_statement_sale_section.py:300, intrastat_statement_sale_section.py:371.

pylint with mandatory checks.............................................Failed
- hook id: pylint
- exit code: 4

************* Module l10n_it_fatturapa
l10n_it_fatturapa/views/partner_view.xml:51: [W7940(dangerous-view-replace-wo-priority), ]  Dangerous use of "replace" from view with priority 0 < 99
************* Module l10n_it_abicab
l10n_it_abicab/views/abicab_view.xml:29: [W7940(dangerous-view-replace-wo-priority), ]  Dangerous use of "replace" from view with priority 0 < 99
Removed method because there is a "related" attribute in
fields bank_abi & bank_cab which makes the method unnecessary
@Borruso Borruso force-pushed the 16.0-mig-l10n_it_abicab branch from dedba5d to b4c4abe Compare November 11, 2022 10:10

@tafaRU tafaRU left a comment

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.

Squash administrative commits (if any) with the previous commit for reducing commit noise.
Puoi eventualmente fare riferimento a https://github.com/OCA/maintainer-tools/wiki/Merge-commits-in-pull-requests

@tafaRU

tafaRU commented Nov 11, 2022

Copy link
Copy Markdown
Member

@Borruso risolvo io il mio commento in un'altra PR.

@tafaRU

tafaRU commented Nov 11, 2022

Copy link
Copy Markdown
Member

Chiudo in favore di #3036

@tafaRU tafaRU closed this Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.