Skip to content

Conversation

@CristianoMafraJunior
Copy link
Contributor

@codecov
Copy link

codecov bot commented Oct 31, 2025

Codecov Report

❌ Patch coverage is 80.41237% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.11%. Comparing base (46c7239) to head (5584a3f).
⚠️ Report is 5 commits behind head on 16.0.

Files with missing lines Patch % Lines
...ti_company_bank_account/models/res_partner_bank.py 71.42% 9 Missing and 1 partial ⚠️
sync_multi_company_bank_account/hooks.py 62.50% 4 Missing and 2 partials ⚠️
...c_multi_company_bank_account/models/res_company.py 83.33% 1 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             16.0     #148      +/-   ##
==========================================
+ Coverage   80.06%   80.11%   +0.04%     
==========================================
  Files          52       59       +7     
  Lines         577      674      +97     
  Branches       55       75      +20     
==========================================
+ Hits          462      540      +78     
- Misses        101      115      +14     
- Partials       14       19       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@kaynnan kaynnan left a comment

Choose a reason for hiding this comment

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

Precisa alterar algumas coisas nos tests, coloquei as informações no modelo do Test, seguindo o guia de Migration to Version 16.0

@CristianoMafraJunior CristianoMafraJunior force-pushed the 16.0-mig-sync_multi_company_bank_account branch from 8594e12 to 0517851 Compare October 31, 2025 13:29
Copy link
Contributor

@kaynnan kaynnan left a comment

Choose a reason for hiding this comment

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

  1. Deprecation of SavepointCase in your tests:
  • The test file sync_multi_company_bank_account/tests/test_res_partner_bank.py uses SavepointCase:

class TestResPartnerBank(SavepointCase):

The logs show:

DeprecationWarning: Deprecated class SavepointCase has been merged into TransactionCase

This causes errors during test setup:

ERROR: setUpClass (odoo.addons.sync_multi_company_bank_account.tests.test_res_partner_bank.TestResPartnerBank)`

Unknown field parameter inverse_name:

Warnings in the logs:

Field account.bank.statement.line.payment_ids: unknown parameter 'inverse_name', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in ord

This indicates an invalid field argument in your model definition.

@CristianoMafraJunior CristianoMafraJunior force-pushed the 16.0-mig-sync_multi_company_bank_account branch from 0517851 to 34dfdec Compare October 31, 2025 13:53
@CristianoMafraJunior CristianoMafraJunior force-pushed the 16.0-mig-sync_multi_company_bank_account branch from 34dfdec to 5584a3f Compare October 31, 2025 14:02
@CristianoMafraJunior
Copy link
Contributor Author

  1. Deprecation of SavepointCase in your tests:
  • The test file sync_multi_company_bank_account/tests/test_res_partner_bank.py uses SavepointCase:

class TestResPartnerBank(SavepointCase):

The logs show:

DeprecationWarning: Deprecated class SavepointCase has been merged into TransactionCase

This causes errors during test setup:

ERROR: setUpClass (odoo.addons.sync_multi_company_bank_account.tests.test_res_partner_bank.TestResPartnerBank)`

Unknown field parameter inverse_name:

Warnings in the logs:

Field account.bank.statement.line.payment_ids: unknown parameter 'inverse_name', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in ord

This indicates an invalid field argument in your model definition.

Field account.bank.statement.line.payment_ids: unknown parameter 'inverse_name', if this is an actual parameter you may want to override the method _valid_field_parameter on the relevant model in ord

Essa parte aqui tem a vê com esse campo aqui https://github.com/Escodoo/account-addons/blob/16.0/account_bank_statement_internal_transfer/models/account_bank_statement.py#L10

@marcelsavegnago marcelsavegnago merged commit 90b03fa into 16.0 Nov 1, 2025
6 checks passed
@marcelsavegnago marcelsavegnago deleted the 16.0-mig-sync_multi_company_bank_account branch November 1, 2025 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants