mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
update misc
This commit is contained in:
@@ -17,11 +17,11 @@ class AiRobot(models.Model):
|
||||
|
||||
provider = fields.Selection(
|
||||
selection_add=[('google', 'Google Ai')],
|
||||
ondelete={'google': 'cascade'}
|
||||
ondelete={'google': 'set default'}
|
||||
),
|
||||
set_ai_model = fields.Selection(
|
||||
selection_add=[('google-bard', 'Google Bard')],
|
||||
ondelete={'google-bard': 'cascade'})
|
||||
ondelete={'google-bard': 'set default'})
|
||||
|
||||
@api.onchange('provider')
|
||||
def _onchange_provider(self):
|
||||
|
||||
Reference in New Issue
Block a user