[MIG] sale_margin_no_onchange from v14 to v16

This commit is contained in:
Alexis de Lattre
2025-01-16 19:19:19 +01:00
parent 699ebd5893
commit 2ca1279cb5
7 changed files with 221 additions and 138 deletions

View File

@@ -1,25 +1,25 @@
# Copyright (C) 2015-2019 Akretion (http://www.akretion.com)
# Copyright 2015-2025 Akretion France (https://www.akretion.com)
# @author Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Sale Margin No Onchange",
"version": "14.0.1.0.0",
"version": "16.0.1.0.0",
"category": "Sales",
"license": "AGPL-3",
"summary": "Copy standard price on sale order line and compute margins",
"description": """
This module copies the field *standard_price* of the product on the sale order line when the sale order line is created and then computes the margin of the sale order and the sale order line (in the currency of the quotation, in the currency of the company and the margin rate).
This module copies the cost of the product on the sale order line when the sale order line is created and it computes the margin amount (in the currency of the order and in the currency of the company) and the margin rate. It also computes the total margin of the sale order (in the currency of the order and in the currency of the company).
I decided to develop this module as an alternative to the OCA sale margin modules because I wanted a small and simple module. The module *account_invoice_margin*, available in the same Github repository, do the same thing on customer invoices.
I decided to develop this module as an alternative to the OCA sale margin modules because I wanted a small and simple module. The module *account_invoice_margin*, available in the same Github repository, does the same thing on customer invoices.
This module has been written by Alexis de Lattre from Akretion
<alexis.delattre@akretion.com>.
""",
"author": "Akretion",
"website": "http://www.akretion.com",
"website": "https://github.com/akretion/odoo-usability",
"depends": ["sale"],
"data": ["views/sale_view.xml"],
"installable": False,
"data": ["views/sale_order.xml", "views/sale_report.xml"],
"installable": True,
}