Skip to content
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

Merged

Conversation

victoralmau
Copy link
Member

Superseed #559

Migration to 16.0

@Tecnativa TT45222

@victoralmau victoralmau force-pushed the 16.0-mig-account_statement_import_txt_xlsx branch from 1ab0e08 to 715a400 Compare September 26, 2023 08:59
Copy link
Member

@chienandalu chienandalu left a comment

Choose a reason for hiding this comment

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

Tested. Just a tiny glitch with this block not taking enough space:

image

@victoralmau victoralmau force-pushed the 16.0-mig-account_statement_import_txt_xlsx branch 2 times, most recently from 98405b7 to e1d7e68 Compare September 27, 2023 10:09
@pedrobaeza
Copy link
Member

/ocabot migration account_statement_import_txt_xlsx

@OCA-git-bot OCA-git-bot added this to the 16.0 milestone Sep 27, 2023
@OCA-git-bot OCA-git-bot mentioned this pull request Sep 27, 2023
13 tasks
@pedrobaeza
Copy link
Member

I see up to 5 commits of Italian translation from the same contributor that can be squashed.

@victoralmau victoralmau force-pushed the 16.0-mig-account_statement_import_txt_xlsx branch from e1d7e68 to c01f6ad Compare September 27, 2023 10:12
Copy link
Member

@chienandalu chienandalu left a comment

Choose a reason for hiding this comment

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

Thanks :)

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@bhaveshselarka
Copy link

@victoralmau Any idea when it will be merge into 16.0 ?

@pedrobaeza pedrobaeza force-pushed the 16.0-mig-account_statement_import_txt_xlsx branch from c01f6ad to b0c14ee Compare October 12, 2023 09:46
Copy link
Member

@pedrobaeza pedrobaeza left a 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).

@victoralmau victoralmau force-pushed the 16.0-mig-account_statement_import_txt_xlsx branch 2 times, most recently from b684ebb to 9893eb2 Compare October 17, 2023 13:55
@victoralmau victoralmau changed the title [16.0][MIG] account_statement_import_txt_xlsx: Migration to 16.0 [16.0][MIG] account_statement_import_txt_xlsx > account_statement_import_sheet_file: Migration to 16.0 Oct 17, 2023
@victoralmau victoralmau force-pushed the 16.0-mig-account_statement_import_txt_xlsx branch 2 times, most recently from 5668de7 to 4254196 Compare October 17, 2023 14:04
@victoralmau
Copy link
Member Author

Changes done and renamed to account_statement_import_sheet_file

Copy link
Member

@pedrobaeza pedrobaeza left a 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

@victoralmau victoralmau force-pushed the 16.0-mig-account_statement_import_txt_xlsx branch from 4254196 to 7ecaefd Compare October 18, 2023 06:58
NuriaMForgeFlow and others added 13 commits October 19, 2023 08:21
…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/
@victoralmau victoralmau force-pushed the 16.0-mig-account_statement_import_txt_xlsx branch from cf2e16a to 3c09120 Compare October 19, 2023 06:44
[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
@victoralmau victoralmau force-pushed the 16.0-mig-account_statement_import_txt_xlsx branch from 3c09120 to 13285ab Compare October 19, 2023 08:43
@heroic
Copy link

heroic commented Oct 26, 2023

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.

@pedrobaeza
Copy link
Member

You can review it and test if everything is correct. I'll check soon for removing my requested changes.

@cathLemb
Copy link

I've tested it and it seems to work fine from a functionnal point of view

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 16.0-ocabot-merge-pr-628-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 86c170d into OCA:16.0 Oct 31, 2023
4 of 6 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 9871483. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza pedrobaeza deleted the 16.0-mig-account_statement_import_txt_xlsx branch October 31, 2023 19:33
victoralmau pushed a commit to Tecnativa/bank-statement-import that referenced this pull request Apr 4, 2024
Signed-off-by pedrobaeza
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.