Files
enterprise-addons/stock_enterprise/models/res_company.py
T

10 lines
237 B
Python

from odoo import fields, models
class ResCompany(models.Model):
_inherit = 'res.company'
stock_confirmation_type = fields.Selection(
selection_add=[('whatsapp', 'Whatsapp')], ondelete={'whatsapp': 'set default'}
)