[18.0][MIG] l10n_it_intrastat#4718
Conversation
Currently translated at 0.4% (42 of 10990 strings) Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_intrastat Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_intrastat/it/
Currently translated at 14.5% (1595 of 10982 strings) Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_intrastat Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_intrastat/it/
Currently translated at 14.5% (1595 of 10982 strings) Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_intrastat Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_intrastat/it/
Investigating an issue reported by Sergio Zanchetta.
Currently translated at 14.5% (1593 of 10990 strings) Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_intrastat Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_intrastat/it/
Currently translated at 14.6% (1601 of 10988 strings) Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_intrastat Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_intrastat/it/
Currently translated at 0.5% (56 of 10988 strings) Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_intrastat Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_intrastat/es/
…n't adapt type 'account.intrastat.transaction.nature' + test
Pre-commit issues: l10n_it_intrastat/models/account.py:304:5: C901 'AccountInvoice.compute_intrastat_lines' is too complex (17) l10n_it_intrastat/models/account.py:540: [C8108(method-compute), AccountInvoiceIntrastat] Name of compute method should start with "_compute_" l10n_it_intrastat/models/account.py:170:96: B950 line too long (95 > 80 characters) l10n_it_intrastat/models/account.py:176:100: B950 line too long (99 > 80 characters) l10n_it_intrastat/models/account.py:189:92: B950 line too long (91 > 80 characters) l10n_it_intrastat/models/account.py:303:43: E741 ambiguous variable name 'l' l10n_it_intrastat/models/account.py:373:21: B007 Loop control variable 'key' not used within the loop body. If this is intended, start the name with an underscore. l10n_it_intrastat/models/account.py:380:25: B007 Loop control variable 'key' not used within the loop body. If this is intended, start the name with an underscore. l10n_it_intrastat/models/account.py:397:17: B007 Loop control variable 'key' not used within the loop body. If this is intended, start the name with an underscore. l10n_it_intrastat/models/account.py:409:13: E741 ambiguous variable name 'l' l10n_it_intrastat/tests/test_intrastat.py:74:35: E741 ambiguous variable name 'l' Migrate old invoice fields and fix tests
- views do no more inherit from anything, otherwise following error might occur: Element '<tree string="Codes">' cannot be located in parent view View name: views.tree.report.intrastat.code Error context: view: ir.ui.view(2275,) xmlid: view_tree_report_intrastat_code view.model: report.intrastat.code view.parent: ir.ui.view(2269,) file: /path/to/odoo/addons/l10n_it_intrastat/views/intrastat.xml - intrastat codes might have been moved by enterprise module account_intrastat
Otherwise the following warning is raised: unknown parameter 'size', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in order to allow it
Currently translated at 14.5% (1601 of 10988 strings) Translation: l10n-italy-14.0/l10n-italy-14.0-l10n_it_intrastat Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-14-0/l10n-italy-14-0-l10n_it_intrastat/it/
Currently translated at 14.5% (1603 of 10988 strings) Translation: l10n-italy-14.0/l10n-italy-14.0-l10n_it_intrastat Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-14-0/l10n-italy-14-0-l10n_it_intrastat/it/
955b720 to
4d7dffb
Compare
|
/ocabot rebase |
|
Congratulations, PR rebased to 18.0. |
4d7dffb to
2c0c7da
Compare
2c0c7da to
21c28e7
Compare
|
@MaurizioPellegrinet puoi riprovare grazie. |
| class AccountFiscalPosition(models.Model): | ||
| _inherit = "account.fiscal.position" | ||
|
|
||
| intrastat = fields.Boolean(string="Subject to Intrastat") |
There was a problem hiding this comment.
Per compatibilità con https://github.com/OCA/intrastat-extrastat/blob/f66546a05b65c86882a94359015fd8fa66c11bb4/intrastat_base/models/account_fiscal_position.py#L12 e anche eventualmente altri, converrebbe rinominare i campi con prefisso l10n_it
There was a problem hiding this comment.
f148374 to
3b2444f
Compare
|
Abbiamo deciso di modificare solo i nomi dei campi che sappiamo avere problemi. Gli altri ce li possiamo tenere come sono. Ovviamente per i nuovi moduli useremo il prefisso |
|
/ocabot merge nobump |
|
What a great day to merge this nice PR. Let's do it! |
|
Congratulations, your PR was merged at 29e2316. Thanks a lot for contributing to OCA. ❤️ |

No description provided.