diff options
| author | Florent de Labarre <florent.mirieu@gmail.com> | 2020-04-02 08:27:39 +0000 |
|---|---|---|
| committer | Victor Feyens <vfe@odoo.com> | 2020-04-02 11:29:04 +0000 |
| commit | 857aaef011094524933465b55d25b32c66be5cc2 (patch) | |
| tree | 5dc4f68fc5eb88b938faa0e931ddc92825e736b8 /doc | |
| parent | 14ca304aed3742b359c9c4d393d1946dfdd0daa2 (diff) | |
[FIX] doc : missing state on ir.actions.server examples
closes odoo/odoo#48871
X-original-commit: 7f806fd661f373201396861b77b64a71decf52a9
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/reference/actions.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/reference/actions.rst b/doc/reference/actions.rst index 614c06187e4..d442f61e7f4 100644 --- a/doc/reference/actions.rst +++ b/doc/reference/actions.rst @@ -252,6 +252,7 @@ The concerned state is given after each field. <record model="ir.actions.server" id="print_instance"> <field name="name">Res Partner Server Action</field> <field name="model_id" ref="model_res_partner"/> + <field name="state">code</field> <field name="code"> raise Warning(record.name) </field> @@ -267,6 +268,7 @@ The concerned state is given after each field. <record model="ir.actions.server" id="print_instance"> <field name="name">Res Partner Server Action</field> <field name="model_id" ref="model_res_partner"/> + <field name="state">code</field> <field name="code"> if record.some_condition(): action = { |
