Skip to content

[18.0][MIG] account_payment_multi_deduction: Migration to 18.0#922

Open
NelsonV93 wants to merge 2 commits intoOCA:18.0from
Intresco-SAS:18.0-mig-account_payment_multi_deduction
Open

[18.0][MIG] account_payment_multi_deduction: Migration to 18.0#922
NelsonV93 wants to merge 2 commits intoOCA:18.0from
Intresco-SAS:18.0-mig-account_payment_multi_deduction

Conversation

@NelsonV93
Copy link
Copy Markdown

Summary

This PR adds the account_payment_multi_deduction module, migrated from 17.0 to Odoo 18.0. This module allows registering payments with multiple deductions, enabling better control over payment processing and deduction management.

Migration Details

  • Source version: 17.0
  • Target version: 18.0
  • Module: account_payment_multi_deduction

Changes Made

  1. Module structure: Complete module migration including:

    • Models, wizards, views, and tests
    • Security definitions (ir.model.access.csv)
    • Translations (POT file and es_CO translation)
  2. Odoo 18.0 adaptations:

    • Updated __manifest__.py with version 18.0.1.0.0
    • Ensured compatibility with Odoo 18.0 API changes
    • File permissions normalized
  3. Files added (21 files, 1659+ lines):

    • Core module files: __init__.py, __manifest__.py, pyproject.toml
    • Models: models/account_payment.py
    • Wizards: Payment register with deduction logic
    • Tests: tests/test_payment_multi_deduction.py (336 lines)
    • Views: wizard/account_payment_register_views.xml
    • Documentation: README.rst with full module description
    • Translations: POT and Spanish (Colombia) translations

Commits Included

  • 4f0a0e3cccfc10f4fd9d5c41fe1275687c87e3e1 - [MIGRATION] account_payment_multi_deduction
  • 1f624290ce711e1403e8c3e74fb9989fbcf1ca53 - [MIGRATION] : account_payment_multi_deduction (file permissions fix)

Testing

  • ✅ Module structure follows OCA standards
  • ✅ Tests included (test_payment_multi_deduction.py)
  • ✅ Manifest properly configured with dependencies
  • ✅ Security access rules defined
  • ✅ Documentation (README) generated

Checklist

  • Target branch is 18.0
  • Module version set to 18.0.1.0.0
  • Dependencies listed in manifest (depends: account)
  • License: AGPL-3
  • Tests included
  • README.rst present
  • No legacy migration scripts
  • Original author/maintainer preserved (Ecosoft, maintainer: kittiu)

Additional Notes

  • Author: Ecosoft Co., Ltd
  • Maintainer: @kittiu
  • Development Status: Alpha
  • License: AGPL-3.0 or later

This module was not present in the 18.0 branch and represents a complete migration from 17.0 to bring this functionality to Odoo 18.0.

@NelsonV93 NelsonV93 changed the title [MIG] account_payment_multi_deduction: Migration to 18.0 [18.0][MIG] account_payment_multi_deduction: Migration to 18.0 Jan 20, 2026
@Saran440
Copy link
Copy Markdown
Member

@NelsonV93 Thank you for your contributions.
but this module PR already #772
Could you help review please?

@Saran440
Copy link
Copy Markdown
Member

#772 is closed. I create new PR is #925

  • Remove code is not used
  • Support to tracking lines writeoff
  • Add company_id in deduction

I this #925 is fixed and improved this module. Could you help review instead this PR please?

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.

2 participants