Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
13
partner_invoicing_mode_monthly/models/res_partner.py
Normal file
13
partner_invoicing_mode_monthly/models/res_partner.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# Copyright 2020 Camptocamp SA
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class ResPartner(models.Model):
|
||||
_inherit = "res.partner"
|
||||
|
||||
invoicing_mode = fields.Selection(
|
||||
selection_add=[("monthly", "Monthly")],
|
||||
ondelete={"monthly": "set default"},
|
||||
)
|
||||
Reference in New Issue
Block a user