Files
dn20/ai_timesheet_grid/models/ai_composer.py
2026-11-08 20:08:53 +08:00

15 lines
329 B
Python

from odoo import fields, models
class AIComposer(models.Model):
_inherit = 'ai.composer'
interface_key = fields.Selection(
selection_add=[
("timesheet_assistant_ai", "Summarize timesheet suggestions"),
],
ondelete={
"timesheet_assistant_ai": "cascade",
},
)