add purchase_rappel. manage rappel commission for vendors
This commit is contained in:
parent
4fbf3284f4
commit
4c07dd042d
24 changed files with 1458 additions and 0 deletions
18
purchase_rappel/models/res_partner.py
Normal file
18
purchase_rappel/models/res_partner.py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ResPartner(models.Model):
|
||||
_inherit = "res.partner"
|
||||
|
||||
rappel_commission = fields.Boolean(
|
||||
string="Rappel Commission",
|
||||
help="If enabled, vendor bills from this partner will be eligible for rappel "
|
||||
"commission invoicing.",
|
||||
)
|
||||
rappel_commission_rate = fields.Float(
|
||||
string="Commission Rate (%)",
|
||||
digits=(5, 4),
|
||||
help="Percentage applied on the taxable base of vendor bills to calculate the "
|
||||
"rappel commission amount.",
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue