diff --git a/account_move_update_analytic/README.rst b/account_move_update_analytic/README.rst index eb704e451f..b8668f29e9 100644 --- a/account_move_update_analytic/README.rst +++ b/account_move_update_analytic/README.rst @@ -39,13 +39,15 @@ items. Usage ===== -1. In a posted move and from customer invoices and vendor bills, go to +1. First of all, make sure that your respective user has the specific + Analytic Accounting role. +2. In a posted move and from customer invoices and vendor bills, go to the move line you want to update, and click on 'Update analytic' to open the wizard. (You also have the button directly on account move lines). -2. Current analytic account and tags are shown, you can select another +3. Current analytic account and tags are shown, you can select another one then click on Confirm -3. Analytic lines will be dropped from current analytic account and +4. Analytic lines will be dropped from current analytic account and recreated on new analytic distribution. |image1| diff --git a/account_move_update_analytic/readme/USAGE.md b/account_move_update_analytic/readme/USAGE.md index 76911e91c2..7eefa62297 100644 --- a/account_move_update_analytic/readme/USAGE.md +++ b/account_move_update_analytic/readme/USAGE.md @@ -1,12 +1,14 @@ -1. In a posted move and from customer invoices and vendor bills, go to +1. First of all, make sure that your respective user has the specific + Analytic Accounting role. +2. In a posted move and from customer invoices and vendor bills, go to the move line you want to update, and click on 'Update analytic' to open the wizard. (You also have the button directly on account move lines). -2. Current analytic account and tags are shown, you can select another +3. Current analytic account and tags are shown, you can select another one then click on Confirm -3. Analytic lines will be dropped from current analytic account and +4. Analytic lines will be dropped from current analytic account and recreated on new analytic distribution. -![](../static/description/update_from_invoice.png) +![image1](../static/description/update_from_invoice.png) -![](../static/description/update_from_journals.png) +![image2](../static/description/update_from_journals.png) diff --git a/account_move_update_analytic/static/description/index.html b/account_move_update_analytic/static/description/index.html index da4db93e83..3af685d057 100644 --- a/account_move_update_analytic/static/description/index.html +++ b/account_move_update_analytic/static/description/index.html @@ -388,6 +388,8 @@

Account move update analytic

Usage

    +
  1. First of all, make sure that your respective user has the specific +Analytic Accounting role.
  2. In a posted move and from customer invoices and vendor bills, go to the move line you want to update, and click on ‘Update analytic’ to open the wizard. (You also have the button directly on account move diff --git a/account_move_update_analytic/views/account_move_line_view.xml b/account_move_update_analytic/views/account_move_line_view.xml index 56ea7d5976..17f0ad81f1 100644 --- a/account_move_update_analytic/views/account_move_line_view.xml +++ b/account_move_update_analytic/views/account_move_line_view.xml @@ -13,7 +13,7 @@ name="account_move_update_analytic.action_view_account_move_update_analytic" type="action" groups="analytic.group_analytic_accounting" - attrs="{'invisible': [('parent_state', '!=', 'posted')]}" + invisible="parent_state != 'posted'" icon="fa-tags" title="Update analytic distribution" aria-label="Update analytic distribution" diff --git a/account_move_update_analytic/views/account_move_view.xml b/account_move_update_analytic/views/account_move_view.xml index ceb0cb67ab..8a0206cefc 100644 --- a/account_move_update_analytic/views/account_move_view.xml +++ b/account_move_update_analytic/views/account_move_view.xml @@ -13,30 +13,12 @@ expr="//field[@name='invoice_line_ids']/tree/field[@name='analytic_distribution']" position="after" > - +