[16.0][MIG] l10n_it_abicab#2977
Conversation
| abi = fields.Char(size=5, string="ABI") | ||
| cab = fields.Char(size=5, string="CAB") |
There was a problem hiding this comment.
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.
| 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) |
There was a problem hiding this comment.
Idem. (Beh non ti sto a segnare tutte le occorrenze d'ora in poi)
ea0527c to
828b714
Compare
|
/ocabot migration l10n_it_abicab |
828b714 to
dedba5d
Compare
| ) | ||
|
|
||
| @api.onchange("bank_id") | ||
| def onchange_bank_id(self): |
There was a problem hiding this comment.
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
[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
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
dedba5d to
b4c4abe
Compare
tafaRU
left a comment
There was a problem hiding this comment.
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
|
@Borruso risolvo io il mio commento in un'altra PR. |
|
Chiudo in favore di #3036 |
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