|
| 1 | +==================== |
| 2 | +Server Action Wizard |
| 3 | +==================== |
| 4 | + |
| 5 | +.. |
| 6 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 7 | + !! This file is generated by oca-gen-addon-readme !! |
| 8 | + !! changes will be overwritten. !! |
| 9 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 10 | + !! source digest: sha256:39e5179921affeec3b5f675d82829cc3b2c20aa260f586ecb3b82f086c17039a |
| 11 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 12 | +
|
| 13 | +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png |
| 14 | + :target: https://odoo-community.org/page/development-status |
| 15 | + :alt: Beta |
| 16 | +.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png |
| 17 | + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html |
| 18 | + :alt: License: LGPL-3 |
| 19 | +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--ux-lightgray.png?logo=github |
| 20 | + :target: https://github.com/OCA/server-ux/tree/18.0/server_action_wizard |
| 21 | + :alt: OCA/server-ux |
| 22 | +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png |
| 23 | + :target: https://translation.odoo-community.org/projects/server-ux-18-0/server-ux-18-0-server_action_wizard |
| 24 | + :alt: Translate me on Weblate |
| 25 | +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png |
| 26 | + :target: https://runboat.odoo-community.org/builds?repo=OCA/server-ux&target_branch=18.0 |
| 27 | + :alt: Try me on Runboat |
| 28 | + |
| 29 | +|badge1| |badge2| |badge3| |badge4| |badge5| |
| 30 | + |
| 31 | +This module provides a wizard interface to execute Odoo server actions |
| 32 | +with user-defined input parameters. |
| 33 | + |
| 34 | +Key features: |
| 35 | + |
| 36 | +- Select a target model and a corresponding tavailable server action. |
| 37 | +- Enter parameters to be passed to the server action via \`context\`: |
| 38 | + |
| 39 | + - Start Date |
| 40 | + - End Date |
| 41 | + - Text 1 |
| 42 | + - Text 2 |
| 43 | + |
| 44 | +Server action Python code can then access these via: |
| 45 | + |
| 46 | +.. code:: python |
| 47 | +
|
| 48 | + date_start = env.context.get('param_date_start') |
| 49 | + date_end = env.context.get('param_date_end') |
| 50 | + text_1 = env.context.get('param_1') |
| 51 | + text_2 = env.context.get('param_2') |
| 52 | +
|
| 53 | +**Table of contents** |
| 54 | + |
| 55 | +.. contents:: |
| 56 | + :local: |
| 57 | + |
| 58 | +Usage |
| 59 | +===== |
| 60 | + |
| 61 | +1. Go to *Technical > Actions > Server Action Wizard*. |
| 62 | +2. Choose the model you want to run a server action on. |
| 63 | +3. Select the appropriate server action (filtered by model). |
| 64 | +4. Fill in any optional parameters. |
| 65 | +5. Click **Run** to execute the server action with the provided context. |
| 66 | + |
| 67 | +Bug Tracker |
| 68 | +=========== |
| 69 | + |
| 70 | +Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-ux/issues>`_. |
| 71 | +In case of trouble, please check there if your issue has already been reported. |
| 72 | +If you spotted it first, help us to smash it by providing a detailed and welcomed |
| 73 | +`feedback <https://github.com/OCA/server-ux/issues/new?body=module:%20server_action_wizard%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
| 74 | + |
| 75 | +Do not contact contributors directly about support or help with technical issues. |
| 76 | + |
| 77 | +Credits |
| 78 | +======= |
| 79 | + |
| 80 | +Authors |
| 81 | +------- |
| 82 | + |
| 83 | +* Open Source Integrators |
| 84 | + |
| 85 | +Maintainers |
| 86 | +----------- |
| 87 | + |
| 88 | +This module is maintained by the OCA. |
| 89 | + |
| 90 | +.. image:: https://odoo-community.org/logo.png |
| 91 | + :alt: Odoo Community Association |
| 92 | + :target: https://odoo-community.org |
| 93 | + |
| 94 | +OCA, or the Odoo Community Association, is a nonprofit organization whose |
| 95 | +mission is to support the collaborative development of Odoo features and |
| 96 | +promote its widespread use. |
| 97 | + |
| 98 | +.. |maintainer-dreispt| image:: https://github.com/dreispt.png?size=40px |
| 99 | + :target: https://github.com/dreispt |
| 100 | + :alt: dreispt |
| 101 | + |
| 102 | +Current `maintainer <https://odoo-community.org/page/maintainer-role>`__: |
| 103 | + |
| 104 | +|maintainer-dreispt| |
| 105 | + |
| 106 | +This module is part of the `OCA/server-ux <https://github.com/OCA/server-ux/tree/18.0/server_action_wizard>`_ project on GitHub. |
| 107 | + |
| 108 | +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
0 commit comments