Skip to main content
Odoo Community Association

Sale Stock Deposit Margin

Beta License: AGPL-3 sygel-technology/sy-sale-workflow

This module integrates sale_stock_deposit and sale_margin to automatically set the sale margin of Delivery Stock Deposit Sale Order Lines to 0.

This is done because the Delivery Stock Deposit Sale Order Lines are not invoiced, and the margin was already calculated when the original sale was initially processed, using the Sale to Deposit route.

Table of contents

Usage

How to Use This Module

1. Configure the Module

  • Go to the README of sale_stock_deposit and follow the configuration instructions.

2. Create a New Quotation

  • Select a customer who has a deposit.

3. Verify the Warehouse

  • Go to the ‘Other Info’ tab → ‘Delivery’ section.

  • Ensure that the selected warehouse corresponds to the location where the customer’s deposit is stored.

4. Select a Product from the Deposit

  • Choose a product that the customer currently has in deposit, which was previously added through a sale using the ‘Sale to Deposit’ route.

5. Set the Correct Route

  • Select the Route: (<warehouse_name>) / Deposit Delivery.

6. Review the Margin Calculation

  • You will see that the ‘Margin’ and ‘Margin (%)’ fields in the line are automatically computed as 0.

Note: The negative margins are not displayed by default. If you remove the Deposit Delivery route, the margin will be set again, but you’ll also have to set again the unit price of the product, which is automatically set to 0 when you select the Deposit Delivery route.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Sygel

Contributors

Maintainers

This module is part of the sygel-technology/sy-sale-workflow project on GitHub.

You are welcome to contribute.

Metadata

Release files for odoo-addon-sale-stock-deposit-margin 18.0.1.0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-sale-stock-deposit-margin 18.0.1.0.0.1
File Interpreter ABI Platform
odoo_addon_sale_stock_deposit_margin-18.0.1.0.0.1-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_sale_stock_deposit_margin-18.0.1.0.0.1-py3-none-any.whl

Download URL odoo_addon_sale_stock_deposit_margin-18.0.1.0.0.1-py3-none-any.whl
Size 36.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71fbd369f1320987b0fbde94464ad07f56e73fa315115964dafeecf27a6197f0
BLAKE2b-256 checksum
How to use checksums
b8301429220b3ba075ca1109ff3b12f19fdc08ebd6d73a876c38ae4f3c7fd664
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

18.0.1.0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page