[IMP] base_automation: allow users to keep notes about their automations
Task-3450200 Part-of: odoo/odoo#138804
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user