mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
17 lines
507 B
Python
17 lines
507 B
Python
# Copyright 2024 Studio73 - Ferran Mora <ferran@studio73.es>
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ProductProduct(models.Model):
|
|
_inherit = "product.product"
|
|
|
|
bypass_global_discount = fields.Boolean(
|
|
string="Don't apply global discount",
|
|
help=(
|
|
"If this checkbox is ticked, it means that this product will not be taken "
|
|
"into account when calculating the global discounts."
|
|
),
|
|
)
|