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 account statement import txt xlsx dummy only for adhoc #699

Conversation

rov-adhoc
Copy link

@rov-adhoc rov-adhoc commented May 24, 2024

Please do not close

primes2h and others added 30 commits June 14, 2023 10:19
[FIX] Mostly currency-related fixes

[IMP] sample_statement_en test: add dates on description

Co-authored-by: Marco Colombo <[email protected]>
Currently translated at 64.3% (56 of 87 strings)

Translation: bank-statement-import-14.0/bank-statement-import-14.0-account_statement_import_txt_xlsx
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-14-0/bank-statement-import-14-0-account_statement_import_txt_xlsx/it/
Currently translated at 73.5% (64 of 87 strings)

Translation: bank-statement-import-14.0/bank-statement-import-14.0-account_statement_import_txt_xlsx
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-14-0/bank-statement-import-14-0-account_statement_import_txt_xlsx/it/
Currently translated at 98.8% (86 of 87 strings)

Translation: bank-statement-import-14.0/bank-statement-import-14.0-account_statement_import_txt_xlsx
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-14-0/bank-statement-import-14-0-account_statement_import_txt_xlsx/it/
Currently translated at 100.0% (87 of 87 strings)

Translation: bank-statement-import-14.0/bank-statement-import-14.0-account_statement_import_txt_xlsx
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-14-0/bank-statement-import-14-0-account_statement_import_txt_xlsx/it/
Currently translated at 100.0% (87 of 87 strings)

Translation: bank-statement-import-14.0/bank-statement-import-14.0-account_statement_import_txt_xlsx
Translate-URL: https://translation.odoo-community.org/projects/bank-statement-import-14-0/bank-statement-import-14-0-account_statement_import_txt_xlsx/es_AR/
Currently translated at 100.0% (87 of 87 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/
…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.
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/
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/
zaoral and others added 6 commits June 14, 2023 15:09
[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
error handling while importing file and
The display of the help message in parameterization
…h credit and debit values exist in the same row
…credit and debit values exist in the same row
@pedrobaeza
Copy link
Member

Why it shouldn't be closed? Please expose the reasons. If it's just for Adhoc (but I don't understand the reasons, as the merged module is exactly this one), you should do it on your fork, not here. You can activate the CI in your fork.

@jjscarafia
Copy link

Hi @pedrobaeza
The reason of having this draft PR is that we're using gitaggregate with referrals to PR's numbers when building our images.
We've a pending task so that we can improve this and avoid the need of the PR, but we don't have that implemented yet.

If the PR is closed and we push changes to the branch, somewhow those changes are note being considered.

IMHO, having a draft PR shouldn't bother anyone. I'm wrong?

Thanks for your active work :)

@pedrobaeza
Copy link
Member

I insist: this module is already migrated in 16.0. Why do you need another different migration?

@jjscarafia
Copy link

Hi @pedrobaeza
Our situation is the following:

  1. we've started a PR migrating this module
  2. before being merge we start using this module on 16 customers
  3. on the meantime, a new module with a new name was merge
  4. we decide to keep using our pr instead of moving to new module to avoid issues with customers (and decide to move to new module on 17)

As said, it is more an internal need and we used to think that draft prs were not harmful nor checked by anyone. So now we will work on changing our approach and avoid these kind of prs and close this one

Thanks!

@pedrobaeza
Copy link
Member

Thanks for answering. Now I understand a bit more your problem. You should consider adding in your deployment toolset the possibility to use your branches without the need of a pull request. https://github.com/acsone/git-aggregator for example allows that, so you don't depend on these things. Take into account that the bot will also close this PR in the future.

But I think you should switch already to the new module. That can be done on existing DBs without too much pain:

  • Have openupgradelib library installed.
  • Open a Odoo shell.
  • Execute this code:
from openupgradelib import openupgrade
openupgrade.update_module_names(env.cr, [("account_statement_import_txt_xlsx", "account_statement_import_sheet_file"], merge_modules=True)
env.cr.commit()
  • Replace one module by the other.
  • And your Odoo instance will switch from one module to another without any loss.

@jjscarafia
Copy link

Great @pedrobaeza !
Thanks for the tips. We'll close the PR

cc @rov-adhoc

@jjscarafia jjscarafia force-pushed the 16.0-account_statement_import_txt_xlsx_dummy_for_adhoc branch from 66c8edf to 248c5cc Compare June 3, 2024 12:32
Copy link

github-actions bot commented Oct 6, 2024

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 6, 2024
@github-actions github-actions bot closed this Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging this pull request may close these issues.