Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Warehouse
  3. Reset and Cancel Landed Cost in Odoo v 18.0
  4. Sales Conditions FAQ

Reset and Cancel Landed Cost in Odoo

by SprintERP Technologies https://sprinterp.com
Odoo

$ 15.09

v 18.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Inventory (stock)
• Invoicing (account)
• Discuss (mail)
• Purchase (purchase)
Lines of code 56
Technical Name se_stock_reverse_landed_costs
LicenseLGPL-3
Websitehttps://sprinterp.com
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Inventory (stock)
• Invoicing (account)
• Discuss (mail)
• Purchase (purchase)
Lines of code 56
Technical Name se_stock_reverse_landed_costs
LicenseLGPL-3
Websitehttps://sprinterp.com
sprinterp-logo

Reset and Cancel Landed Cost in Odoo

Unlock verified accounting records by safely reversing asset data adjustments, purging linked stock valuation layers, and returning documents to draft stages.

Key Module Highlights

Landed Cost Reversal
Valuation Layer Purge
Adjustment Wipeout
Set to Draft Flow
Stage Guard Barriers
Journal Entry Control

Stock Landed Cost Cancellation & Reset Workflow

Step 1
Initialize Stock Landed Cost Record in Draft State

Navigate to the Inventory application, open the Landed Costs form workspace under the Operations sub-menu, and initialize a record (e.g. LC/2025/0002). Configure your allocated target inventory Transfers, assign the appropriate Journal accounts, and add your overhead item prices inside the Additional Costs grid.

Odoo Inventory Stock Landed Cost Draft Form Configuration View

Key Logic: Click the Compute button at the bottom right corner to invoke the core valuation distribution algorithms, filling out your specific asset rows before executing the validation process.

Step 2
Review Computed Lines and Validate Landed Costs

Access the computed lines workspace inside the "Valuation Adjustments" notebook tab to verify details like the original product quantities, base asset values, and added distributed lines. Once audited, execute formal asset locking by clicking the primary "Validate" button on the header bar.

Odoo Inventory Stock Landed Cost Valuation Adjustments Form Tab View

Key Logic: Validation triggers the native system to post linked journal lines and construct active stock.valuation.layer records. Our inherited code safely intercept this workflow using the overridden button_validate() method to clean old relational debris.

Step 3
Execute Overridden Cancellation on Validated Postings

When a record shifts into the validated "Posted" stage, Odoo locks standard adjustments. To reverse this state and unlock calculations, click on the visible header action button named "Cancel" to trigger our custom cascade backend wipeout methods.

Odoo Inventory Validated Stock Landed Cost Cancel Button Layout View

Key Logic: The system evaluates if state == 'done'. If true, our custom code intercepts the process to automatically flip linked journal entries (account_move_id) back to draft and cancels them before executing the base method.

Step 4
Convert Cancelled Records Back to Draft Layouts

Once the document shifts into the "Cancelled" stage, the old valuation adjustments are fully wiped out from the backend repository. To unlock editing privileges and make parameters customizable again, click on the newly visible primary action button "Set to Draft".

Odoo Inventory Cancelled Stock Landed Cost Set to Draft Button View

Key Logic: Executing button_draft() checks if state != 'cancel' to throw validation errors. It safely detaches old cancelled accounting move markers by writing {'account_move_id': False}, allowing fluid re-computation.

Step 5
Recompute parameters and Re-validate Draft Landed Cost

The sheet has successfully rolled back into the editable "Draft" stage layout. All accounting locks are officially removed, allowing you to completely modify prices, add lines, click Compute, or hit the prominent "Validate" header action to post corrected entries.

Odoo Inventory Stock Landed Cost Reset to Draft Cycle Completed View

Key Logic: When re-validating this draft record, our overridden method ensures that if any old historical journal entries are still attached, they are immediately cleared via cost.write({'account_move_id': False}) before the native super execution runs.

Step 6
Successful Final Re-Validation & Posted Correction

After executing your adjustments, re-validating the record shifts the document back into the secure "Posted" state. The engine seamlessly generates a clean, updated Journal Entry reference link, fully updating structural ledger chains with complete auditing safety.

Odoo Inventory Corrected Stock Landed Cost Posted State Verification View

Key Logic: The successful completion of this cycle proves the system's ability to cleanly cancel old valuations and seamlessly re-publish fresh stock.valuation.layer assets without duplicate entries or data conflicts.

Key Features & Capabilities

Empower your inventory accounting controls by safely overriding validated asset allocations and executing structural corrections in Odoo.

Landed Cost Reversal

Enables full cancellation mechanics over already validated ('Done') costing sheets, breaking operational data entry locks completely.

Valuation Layer Purge

Automatically tracks and fully unlinks relational stock valuation layers (stock.valuation.layer) linked to the targets.

Adjustment Lines Wipeout

Wipes added landed metrics within structural grids, reverting extra asset distribution costs back to 0.0 automatically.

Set to Draft Flow

Introduces an interactive primary action button allowing cancelled files to easily convert back into re-computable layouts.

Stage Guard Barriers

Protects sequence pipelines by blocking users from forcing invalid states through native validation error pop-ups.

Journal Entry Control

Triggers deep financial ledger hooks to unpost, cancel, and clear linked account entries cleanly during reversals.

Need Any Help?

Free 90 Days Support

Installation, Configuration & Bug Fixing support from our experts.

Email Support sales.sprinterp@gmail.com
Microsoft Teams abulkasim7214

© 2017 SprintERP Technologies. All Rights Reserved.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with