Skip to content

Conversation

@ArtiomKichojalSAMSAIT
Copy link

@ArtiomKichojalSAMSAIT ArtiomKichojalSAMSAIT commented Oct 23, 2025

Changes Applied:

  1. Updated module version manifest.py
    Changed from 18.0.1.0.0 to 19.0.1.0.0

  2. Replaced deprecated toggle_active method in sale_order.py
    Changed toggle_active() to action_archive() as per Odoo 19 migration guide
    This follows the breaking change introduced in [IMP] core: Deprecate toggle_active() odoo/odoo#183691

  3. Updated test methods test_sale_order_archive.py
    Replaced all calls to toggle_active() with action_archive() in all three test methods

  4. Fixed Unit Test
    create partner and product instead of using external IDS

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.

1 participant