[MIG] sale_usability_akretion: migrate to v18
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 2015-2022 Akretion (http://www.akretion.com)
|
||||
# Copyright 2015-2024 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).
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2017-2022 Akretion France
|
||||
# Copyright 2017-2024 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).
|
||||
|
||||
@@ -10,6 +10,4 @@ class ProductTemplate(models.Model):
|
||||
|
||||
service_type = fields.Selection(tracking=True)
|
||||
expense_policy = fields.Selection(tracking=True)
|
||||
invoice_policy = fields.Selection(tracking=True)
|
||||
sale_line_warn = fields.Selection(tracking=True)
|
||||
expense_policy = fields.Selection(tracking=True)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2021-2022 Akretion France (https://akretion.com/)
|
||||
# Copyright 2021-2024 Akretion France (https://akretion.com/)
|
||||
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
@@ -8,6 +8,6 @@ from odoo import fields, models
|
||||
class ResCompany(models.Model):
|
||||
_inherit = 'res.company'
|
||||
|
||||
# Similar to the field static_invoice_terms in account_usability
|
||||
# Similar to the field static_invoice_terms in account_usability_akretion
|
||||
static_sale_terms = fields.Text(
|
||||
translate=True, string="Legal Terms on Quotation")
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2017-2022 Akretion France (https://akretion.com/)
|
||||
# Copyright 2017-2024 Akretion France (https://akretion.com/)
|
||||
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@ class SaleOrder(models.Model):
|
||||
|
||||
date_order = fields.Datetime(tracking=True)
|
||||
client_order_ref = fields.Char(tracking=True)
|
||||
# for partner_id, the 'sale' module sets track_visibility='always'
|
||||
amount_tax = fields.Monetary(tracking=True)
|
||||
partner_shipping_id = fields.Many2one(tracking=True)
|
||||
partner_invoice_id = fields.Many2one(tracking=True)
|
||||
|
||||
Reference in New Issue
Block a user