Update property_management_conf.py
This commit is contained in:
parent
634aa732f4
commit
5a2430a9fc
|
|
@ -3,6 +3,15 @@
|
|||
|
||||
from odoo import models, fields, api, exceptions, tools, _
|
||||
|
||||
class ResConfigSettings(models.TransientModel):
|
||||
_inherit = 'res.config.settings'
|
||||
|
||||
# Add new fields
|
||||
commission_percentage = fields.Float(string='Commission Percentage', help="The commission percentage.")
|
||||
commission_account_id = fields.Many2one('account.account', string='Commission Account', help="The account used to record commissions.")
|
||||
collecting_company_id = fields.Many2one('res.partner', string='Collecting Company', help="The company responsible for collecting the commission.")
|
||||
|
||||
|
||||
|
||||
class RentType(models.Model):
|
||||
_name = 'rent.type'
|
||||
|
|
|
|||
Loading…
Reference in New Issue