From e08bd6520ab82e0e258b5f9da75cfca2eeb27fc7 Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Thu, 14 Sep 2017 21:38:07 +0200 Subject: [PATCH] [ADD] Demo data for testing --- web_ir_actions_act_window_page/README.md | 2 ++ .../__manifest__.py | 3 ++ .../demo/demo_action.xml | 35 +++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 web_ir_actions_act_window_page/demo/demo_action.xml diff --git a/web_ir_actions_act_window_page/README.md b/web_ir_actions_act_window_page/README.md index 29b6ce9e..6818c586 100644 --- a/web_ir_actions_act_window_page/README.md +++ b/web_ir_actions_act_window_page/README.md @@ -22,6 +22,8 @@ A use case could be the case of a validation flow. As a developer, you set up a Usage ===== +See the 'Previous Partner' and 'Next Partner' buttons that this module's demo data adds to the partner form view. + .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot :target: https://runbot.odoo-community.org/runbot/162/10.0 diff --git a/web_ir_actions_act_window_page/__manifest__.py b/web_ir_actions_act_window_page/__manifest__.py index dc4edc9a..f7ead113 100644 --- a/web_ir_actions_act_window_page/__manifest__.py +++ b/web_ir_actions_act_window_page/__manifest__.py @@ -14,6 +14,9 @@ 'data': [ 'views/assets.xml', ], + 'demo': [ + 'demo/demo_action.xml', + ], 'installable': True, 'license': 'AGPL-3', 'url': 'https://github.com/oca/web', diff --git a/web_ir_actions_act_window_page/demo/demo_action.xml b/web_ir_actions_act_window_page/demo/demo_action.xml new file mode 100644 index 00000000..094abbc0 --- /dev/null +++ b/web_ir_actions_act_window_page/demo/demo_action.xml @@ -0,0 +1,35 @@ + + + + + Previous partner + + action = {"type": "ir_actions_act_window_page_prev"} + + + + Next partner + + action = {"type": "ir_actions_act_window_page_next"} + + + + + res.partner + + +
+
+
+
+ +