[IMP] base_automation: allow users to keep notes about their automations

Task-3450200

Part-of: odoo/odoo#138804
This commit is contained in:
Damien Bouvy
2023-10-26 13:41:07 +00:00
parent 28260dc234
commit 82b00574f6
2 changed files with 5 additions and 1 deletions
@@ -71,6 +71,7 @@ class BaseAutomation(models.Model):
_description = 'Automation Rule'
name = fields.Char(string="Automation Rule Name", required=True, translate=True)
description = fields.Html(string="Description")
model_id = fields.Many2one(
"ir.model", string="Model", required=True, ondelete="cascade", help="Model on which the automation rule runs."
)
@@ -126,7 +126,7 @@
>
<kanban>
<control>
<create string="Add a new action" />
<create string="Add an action" />
</control>
<templates>
<t t-name="kanban-box">
@@ -189,6 +189,9 @@
</kanban>
</field>
</page>
<page string="Notes" name="notes">
<field name="description" placeholder="Keep track of what this automation does and why it exists..."/>
</page>
</notebook>
</sheet>
</form>