mirror of
https://github.com/bringout/oca-workflow-process.git
synced 2026-04-21 04:32:00 +02:00
16 lines
527 B
Python
16 lines
527 B
Python
# Copyright 2016 GRAP (http://www.grap.coop)
|
|
# Sylvain LE GAL (https://twitter.com/legalsylvain)
|
|
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResPartner(models.Model):
|
|
_inherit = "res.partner"
|
|
|
|
default_supplierinfo_discount = fields.Float(
|
|
string="Default Supplier Discount (%)",
|
|
digits="Discount",
|
|
help="This value will be used as the default one, for each new"
|
|
" supplierinfo line depending on that supplier.",
|
|
)
|