Skip to content

Conversation

@JasminSForgeFlow
Copy link
Contributor

@JasminSForgeFlow JasminSForgeFlow commented Mar 18, 2024

Standard Migration

@FrogeFlow

Depends on:

@JasminSForgeFlow JasminSForgeFlow force-pushed the 17.0-mig-account_banking_sepa_direct_debit branch from 0784a40 to 5183f50 Compare March 20, 2024 03:28
@HaraldPanten
Copy link

@JasminSForgeFlow This PR is ready to rebased. On the other hand, you're modifying two different modules.

1- The migration of account_banking_sepa_direct_debit.
2- FIX for account_banking mandate.

Could you separate that in two different PR? One for the migration and the other one for the FIX?

THX

@HaraldPanten
Copy link

Hi @MiquelRForgeFlow @JasminSForgeFlow Did you have availability to check my comments?

THX!

@pedrobaeza
Copy link
Member

Please rebase and fix CI, and include #1244

@HaraldPanten
Copy link

/ocabot miggration account_banking_sepa_direct_debit

@OCA-git-bot
Copy link
Contributor

Hi @HaraldPanten. Your command failed:

Invalid command: miggration.

Ocabot commands

  • ocabot merge major|minor|patch|nobump
  • ocabot rebase
  • ocabot migration {MODULE_NAME}

More information

@HaraldPanten
Copy link

/ocabot migration account_banking_sepa_direct_debit

@OCA-git-bot OCA-git-bot added this to the 17.0 milestone Apr 2, 2024
@OCA-git-bot OCA-git-bot mentioned this pull request Apr 2, 2024
15 tasks
Alexis de Lattre and others added 20 commits April 3, 2024 11:03
….001.02, pain.008.001.03 and pain.008.001.04. This module is not ready yet : the management of mandates is still missing. I am currently trying to get more information about these mandates to decide what is the best implemtation of the data model of the mandates (O2M on res.partner ? O2M os res.partner.bank ?).
* Restore scheme field in mandate view
* Uncaught flake8 errors
* Set args correctly for cron job
* Split for removing stock dependency on sale
* Remove old translations templates
* More reorder on folder structure
* Translation template files
* Translations to spanish
* Transfer move: one transfer move for each payment.order with only 1 line in the transfer account for the total of the account move. Move the inherit of the 'Invoice' button of payment.order from account_banking_payment_transfer to account_banking_payment_export Demo data: Add a bank account + mandate on Agrolait, to be able to easily test multi-partner SEPA DD
* mandates: search by reference, add group_by, add seq type in tree view
* Add scheme in mandate tree+search view Replace tabs by spaces in mandate views account_banking_mandate/views/account_banking_mandate_view.xml: convert from dos to unix format
* Add sale_ok and purchase_ok filters in partner/sale/purchase form views Use widget=selection for payment_mode_id fields Update demo data
* Limit lenght of mandate reference, according to ISO 20022
Fix an important regression in account_banking_sepa_direct_debit: "Date of Last Debit" was not set any more
Proper write of date_done with account_banking_payment_export is installed without account_banking_payment_transfer
Add post-install script for date_sent on payment.order
…ion when there is more than one line with the same mandate.
* Add bank.payment.lines object to allow grouping in the payments
* Add a hook to inherit grouping of the transfer account move line

  Use that new hook in SEPA direct debits
  Better variable names
* FIX Reading wrong field for sequence type of SEPA DD
  Loop on bank payment lines instead of payment lines
* Update automated tests and demo data
* Add on_change on field 'type' of payment.mode for easier configuration
* Remove unused POT files
* Spanish translation
* Fix mandate report layout
Ivorra78 and others added 10 commits April 3, 2024 11:03
Currently translated at 100.0% (74 of 74 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_sepa_direct_debit
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_sepa_direct_debit/es/
Currently translated at 100.0% (74 of 74 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_sepa_direct_debit
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_sepa_direct_debit/es/
The field 'sepa' on account.payment.order is only display for SEPA
payment methods.
If the option "show warning if not SEPA" is enabled on the payment
method, a warning banner is now displayed on payment orders with a SEPA
payment method which are not SEPA.
Currently translated at 22.9% (17 of 74 strings)

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_sepa_direct_debit
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_sepa_direct_debit/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: bank-payment-16.0/bank-payment-16.0-account_banking_sepa_direct_debit
Translate-URL: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_banking_sepa_direct_debit/
@JasminSForgeFlow JasminSForgeFlow force-pushed the 17.0-mig-account_banking_sepa_direct_debit branch from 5183f50 to 16f88c8 Compare April 3, 2024 06:02
@JasminSForgeFlow
Copy link
Contributor Author

@JasminSForgeFlow This PR is ready to rebased. On the other hand, you're modifying two different modules.

1- The migration of account_banking_sepa_direct_debit. 2- FIX for account_banking mandate.

Could you separate that in two different PR? One for the migration and the other one for the FIX?

THX

Done, Thanks

@JasminSForgeFlow
Copy link
Contributor Author

Please rebase and fix CI, and include #1244

Done, Thanks

@JasminSForgeFlow JasminSForgeFlow force-pushed the 17.0-mig-account_banking_sepa_direct_debit branch from 16f88c8 to 5b3d11f Compare April 3, 2024 06:09
@HaraldPanten
Copy link

LGTM @pedrobaeza

Last tests should be directly in a production environment.

WDYT?

auto_commit=auto_commit
)
self.env[wizard.model].sudo().browse(
json.loads(wizard.res_ids)
Copy link
Member

Choose a reason for hiding this comment

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

Why do you need to convert it to JSON?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is returning list in string format that's why

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 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). 🤖

@OCA-git-bot
Copy link
Contributor

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

@OCA-git-bot OCA-git-bot merged commit dc53e9e into OCA:17.0 Apr 15, 2024
@OCA-git-bot
Copy link
Contributor

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

@MiquelRForgeFlow MiquelRForgeFlow deleted the 17.0-mig-account_banking_sepa_direct_debit branch April 15, 2024 08:33
Vicent-S73 pushed a commit to Studio73/e-commerce that referenced this pull request Aug 12, 2025
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.