From d70873d6e57020f26ae0ea94286f9923439a2ea1 Mon Sep 17 00:00:00 2001 From: "Jonathan Castillo (jcs)" Date: Fri, 21 Feb 2020 11:48:09 +0100 Subject: [PATCH] [REM] *: remove all demo.action buttons from the user documentation - cherry-pick of e10581ef6eae9f5642cc5eccc25a5dfc15fa8c95 (see PR #572 ) - more fields deleted so that there was none left in 12.0 --> this makes the build of 12.0 much faster *: accounting, inventory, purchase As these buttons points to demo.odoo.com, it is outdated very quickly and leads to weird results were a button on the 10.0 documentation points to demo.odoo.com that runs 13.0 or no longer exists. --- accounting/bank/setup/create_bank_account.rst | 6 ------ accounting/bank/setup/manage_cash_register.rst | 4 ---- accounting/others/adviser/assets.rst | 8 -------- accounting/others/configuration/account_type.rst | 8 +------- accounting/payables/pay/check.rst | 8 -------- inventory/management/adjustment/min_stock_rule_vs_mto.rst | 2 -- inventory/routes/concepts/procurement_rule.rst | 4 ---- inventory/routes/concepts/push_rule.rst | 4 ---- purchase/purchases/rfq/create.rst | 8 -------- 9 files changed, 1 insertion(+), 51 deletions(-) diff --git a/accounting/bank/setup/create_bank_account.rst b/accounting/bank/setup/create_bank_account.rst index 2ef80200f..be01a67f8 100644 --- a/accounting/bank/setup/create_bank_account.rst +++ b/accounting/bank/setup/create_bank_account.rst @@ -42,12 +42,6 @@ support with this bank account. the company on your user preferences in order to add, edit or delete bank accounts from another company. -.. demo:fields:: base.action_res_partner_bank_account_form - -.. demo:action:: base.action_res_partner_bank_account_form - - View *Bank Account* in our Online Demonstration - .. todo:: add inherited field tooltip **Display on reports :** Display this bank account on the documents that diff --git a/accounting/bank/setup/manage_cash_register.rst b/accounting/bank/setup/manage_cash_register.rst index 799b79355..a820fb183 100644 --- a/accounting/bank/setup/manage_cash_register.rst +++ b/accounting/bank/setup/manage_cash_register.rst @@ -17,10 +17,6 @@ Configuration 2. In the tab Journal Entries, the Default Debit and Credit Account can be configured as well as the currency of the journal - -.. demo:fields:: account.action_account_journal_form - - Usage ===== diff --git a/accounting/others/adviser/assets.rst b/accounting/others/adviser/assets.rst index 0fbfc7c6d..8869166e0 100644 --- a/accounting/others/adviser/assets.rst +++ b/accounting/others/adviser/assets.rst @@ -79,14 +79,6 @@ before confirming the asset. depreciation journal entries, not those related to the supplier bill. -Explanation of the fields: - -.. demo:fields:: account_asset.action_account_asset_asset_form - -.. demo:action:: account_asset.action_account_asset_asset_form - - Try creating an *Asset* in our online demonstration - Create assets automatically from a supplier bill ================================================ diff --git a/accounting/others/configuration/account_type.rst b/accounting/others/configuration/account_type.rst index f0cba768e..84d99af2c 100644 --- a/accounting/others/configuration/account_type.rst +++ b/accounting/others/configuration/account_type.rst @@ -77,10 +77,4 @@ menu :menuselection:`Adviser --> Chart of Accounts`, the click on the **Create** button. .. image:: ./media/type01.png - :align: center - -.. demo:fields:: account.action_account_form - -.. demo:action:: account.action_account_form - - View *Create Account* in our Online Demonstration + :align: center \ No newline at end of file diff --git a/accounting/payables/pay/check.rst b/accounting/payables/pay/check.rst index 9d5e86838..9baad1d87 100644 --- a/accounting/payables/pay/check.rst +++ b/accounting/payables/pay/check.rst @@ -71,14 +71,6 @@ and validate the payment dialog. .. image:: ./media/check02.png :align: center -Explanation of the fields of the payment screen: - -.. demo:fields:: account.action_account_payments - -.. demo:action:: account.action_account_payments - - Try paying a supplier bill with a check - .. _PrintChecks: Print checks diff --git a/inventory/management/adjustment/min_stock_rule_vs_mto.rst b/inventory/management/adjustment/min_stock_rule_vs_mto.rst index 9ebdec711..c63cd0291 100644 --- a/inventory/management/adjustment/min_stock_rule_vs_mto.rst +++ b/inventory/management/adjustment/min_stock_rule_vs_mto.rst @@ -40,8 +40,6 @@ maximum stock values for a given product. .. image:: media/min_stock_rule_vs_mto01.png :align: center -.. demo:fields:: stock.action_orderpoint_form - Then, click on your product to access the related product form and, on the **Inventory submenu**, do not forget to select a supplier. diff --git a/inventory/routes/concepts/procurement_rule.rst b/inventory/routes/concepts/procurement_rule.rst index ea7863be6..1d48e09e9 100644 --- a/inventory/routes/concepts/procurement_rule.rst +++ b/inventory/routes/concepts/procurement_rule.rst @@ -63,10 +63,6 @@ action possible : .. image:: media/procurement_rule03.png :align: center -.. demo:action:: stock.action_routes_form - - Try to create a procurement rule in our demo instance. - .. note:: Some Warehouse Configuration creates routes with procurement rules already defined. diff --git a/inventory/routes/concepts/push_rule.rst b/inventory/routes/concepts/push_rule.rst index 5ea5008c6..3eb3b6b11 100644 --- a/inventory/routes/concepts/push_rule.rst +++ b/inventory/routes/concepts/push_rule.rst @@ -54,10 +54,6 @@ in the quality control location move to the stock. .. image:: media/push_rule03.png :align: center -.. demo:action:: stock.action_routes_form - - Try to create a push rule in our demo instance. - .. note:: Some warehouse configuration creates routes with push rules already defined. diff --git a/purchase/purchases/rfq/create.rst b/purchase/purchases/rfq/create.rst index d85ae3262..6645dad59 100644 --- a/purchase/purchases/rfq/create.rst +++ b/purchase/purchases/rfq/create.rst @@ -25,12 +25,6 @@ Select your supplier in the **Vendor** menu, or create it on-the-fly by clicking on **Create and Edit**. In the **Order Date** field, select the date to which you wish to proceed to the actual order. -.. demo:fields:: purchase.purchase_rfq - -.. demo:action:: purchase.purchase_rfq - - View *Request for Quotation* in our Online Demonstration - In **Products**, click on Add an item. Select the product you wish to order in the **Product** menu. Specify the **Quantity** by inserting the number and selecting the unit of measure. In the **Unit Price** field, @@ -40,8 +34,6 @@ expected delivery date in the Scheduled Date field. Click on **Save**, then **Print Rfq** or **Send Rfq by email** (make sure an email address is specified for this supplier or enter a new one). - - .. image:: ./media/image08.png :align: center