-
-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[16.0][MIG] account_statement_import_txt_xlsx > account_statement_import_sheet_file: Migration to 16.0 #628
[16.0][MIG] account_statement_import_txt_xlsx > account_statement_import_sheet_file: Migration to 16.0 #628
Conversation
1ab0e08
to
715a400
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
98405b7
to
e1d7e68
Compare
/ocabot migration account_statement_import_txt_xlsx |
I see up to 5 commits of Italian translation from the same contributor that can be squashed. |
e1d7e68
to
c01f6ad
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks :)
This PR has the |
@victoralmau Any idea when it will be merge into 16.0 ? |
c01f6ad
to
b0c14ee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The module should be renamed to account_statement_import_csv_txt_xls
(or maybe better account_statement_import_sheet_file
).
account_statement_import_txt_xlsx/models/account_statement_import_sheet_mapping.py
Outdated
Show resolved
Hide resolved
account_statement_import_txt_xlsx/models/account_statement_import_sheet_mapping.py
Outdated
Show resolved
Hide resolved
account_statement_import_txt_xlsx/models/account_statement_import_sheet_mapping.py
Outdated
Show resolved
Hide resolved
account_statement_import_txt_xlsx/wizards/account_statement_import_sheet_mapping_wizard.xml
Outdated
Show resolved
Hide resolved
b684ebb
to
9893eb2
Compare
5668de7
to
4254196
Compare
Changes done and renamed to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
POT/PO files are not touched
account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py
Outdated
Show resolved
Hide resolved
account_statement_import_sheet_file/models/account_statement_import_sheet_mapping.py
Show resolved
Hide resolved
account_statement_import_sheet_file/models/account_statement_import_sheet_parser.py
Outdated
Show resolved
Hide resolved
account_statement_import_sheet_file/models/account_statement_import_sheet_parser.py
Outdated
Show resolved
Hide resolved
account_statement_import_sheet_file/models/account_statement_import_sheet_parser.py
Outdated
Show resolved
Hide resolved
4254196
to
7ecaefd
Compare
…r IN and OUT [IMP] account_statement_import_txt_xlsx: wizard: amount2_reverse boolean field, with tests
… to column numbers, and concatenation A new field 'File does not contain header line' is added in the Statement Sheet Mappings. If you set to True, then you can map the columns by indicating in each field of the 'Columns' section the column number in the file. We also allow to concatenate multiple columns in the file to a single column to a single field of the statement line. You have to indicate the names of the columns separated by comma.
…ot provided in the import file [UPD] Update account_statement_import_txt_xlsx.pot account_statement_import_txt_xlsx 15.0.2.0.0 Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: bank-statement-import-15.0/bank-statement-import-15.0-account_statement_import_txt_xlsx Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-15-0/bank-statement-import-15-0-account_statement_import_txt_xlsx/
…ping account_statement_import_txt_xlsx 15.0.2.0.1
If there is a problem parsing the file we are not showing the error to the user, instead a generic message telling something is wrong with the type of file is shown, and we only showing the error if we are running unit tests. In this case we think is good to show the error to the user, this way they can check what is wrong and fix it in the sheet mapping. * We are only showing the title of the error as a HINT, we think that is a good start to undestand what needs to change in the sheet mapping. * The complete traceback error is shown in the log if we needed for more detail review from the technical teams.
Currently translated at 74.4% (73 of 98 strings) Translation: bank-statement-import-15.0/bank-statement-import-15.0-account_statement_import_txt_xlsx Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-15-0/bank-statement-import-15-0-account_statement_import_txt_xlsx/it/
Currently translated at 98.9% (97 of 98 strings) Translation: bank-statement-import-15.0/bank-statement-import-15.0-account_statement_import_txt_xlsx Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-15-0/bank-statement-import-15-0-account_statement_import_txt_xlsx/es/
- Depending on the installed set of modules, the company currency may be USD or EUR. If the second case, these tests will fail, so we make sure that the company currency is USD for our tests, doing the change by SQL, as there's a Python constraint that prevents it. Not needed in v17 due to: odoo/odoo#107113. account_statement_import_txt_xlsx 15.0.2.0.2 [UPD] Update account_statement_import_txt_xlsx.pot account_statement_import_txt_xlsx 15.0.2.0.3 [UPD] README.rst Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: bank-statement-import-15.0/bank-statement-import-15.0-account_statement_import_txt_xlsx Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-15-0/bank-statement-import-15-0-account_statement_import_txt_xlsx/
Co-authored-by: zaoral
cf2e16a
to
3c09120
Compare
account_statement_import_sheet_file/migrations/16.0.1.0.0/pre-migration.py
Show resolved
Hide resolved
[IMP] add csv meta data management [FIX] exclude footer meta data [IMP] import separated credit/debit column file [FIX] make comptatible with new version of multi_step_wizard module & add migration file [FIX] all not provided value are handled in_parse_decimal method [REF] Remove unnecessary \n Renamed to account_statement_import_sheet_file Co-authored-by: zaoral
3c09120
to
13285ab
Compare
Any chance this gets merged soon? We've been stuck without file imports for a long time. Happy to help in whatever way needed to get this merged. |
You can review it and test if everything is correct. I'll check soon for removing my requested changes. |
I've tested it and it seems to work fine from a functionnal point of view |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/ocabot merge nobump
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 9871483. Thanks a lot for contributing to OCA. ❤️ |
Superseed #559
Migration to 16.0
@Tecnativa TT45222