Skip to content

[18.0][MIG] account_asset_transfer_extension: Migration to 18.0#763

Open
deeniiz wants to merge 8 commits into18.0from
18.0-mig-account_asset_transfer_extension
Open

[18.0][MIG] account_asset_transfer_extension: Migration to 18.0#763
deeniiz wants to merge 8 commits into18.0from
18.0-mig-account_asset_transfer_extension

Conversation

@deeniiz
Copy link
Copy Markdown
Collaborator

@deeniiz deeniiz commented Nov 5, 2025

No description provided.

@deeniiz deeniiz requested a review from eantones November 5, 2025 12:26
@deeniiz deeniiz force-pushed the 18.0-mig-account_asset_transfer_extension branch from a0a5218 to cf7d0d8 Compare November 5, 2025 12:36
eantones and others added 5 commits March 17, 2026 16:29
…fer moves

When a user clicks "unpost" on the init_entry depreciation line of a
to_asset, the unlink_move() method deletes the linked move. Since the
init_entry points to the CURS transfer move, this causes the transfer
move to be permanently deleted. The from_assets lose their
transfer_move_id (set to NULL by ondelete), and the revert wizard shows
"Nothing to revert" because it can no longer find the to_assets.

Add an override of unlink_move() on account.asset.line that checks
whether the move being deleted is referenced as transfer_move_id by any
asset. If so, raise a UserError directing the user to use the "Revert
Transfer" action instead.
Add complete ca.po translation for all existing module strings.
Add readme/DESCRIPTION.rst and readme/CONTRIBUTORS.rst with module
description and contributor list. Regenerate README.rst.
@deeniiz deeniiz force-pushed the 18.0-mig-account_asset_transfer_extension branch from 03f8fbc to 247bfa5 Compare March 17, 2026 16:49
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 17, 2026

Codecov Report

❌ Patch coverage is 34.17722% with 104 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (18.0@4b294fd). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...extension/wizards/account_asset_transfer_revert.py 15.87% 53 Missing ⚠️
...t_asset_transfer_extension/models/account_asset.py 43.24% 21 Missing ⚠️
...ansfer_extension/wizards/account_asset_transfer.py 26.31% 14 Missing ⚠️
...nt_asset_transfer_extension/models/account_move.py 52.38% 10 Missing ⚠️
...et_transfer_extension/models/account_asset_line.py 45.45% 6 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             18.0     #763   +/-   ##
=======================================
  Coverage        ?   34.17%           
=======================================
  Files           ?        8           
  Lines           ?      158           
  Branches        ?       34           
=======================================
  Hits            ?       54           
  Misses          ?      104           
  Partials        ?        0           

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

3 participants