[FIX] account: remove upgrade widget from total amount in report
before this commit, upgrade widget was added to the field display_invoice_amount_total_words in accounting settings, which decides whether the total amount has to be shown in words in invoice report. all its functionality and code is available in community edition. after this commit, the upgrade widget which request to upgrade enterprise edition to access the feature will be removed from the display_invoice_amount_total_words field. closes odoo/odoo#129609 X-original-commit: 94256de52a44273c5ba1653770dd98aa14d9e334 Signed-off-by: John Laterre (jol) <jol@odoo.com>
This commit is contained in:
@@ -177,7 +177,7 @@
|
||||
</div>
|
||||
</setting>
|
||||
<setting id="total_amount_words" help="Display the total amount of an invoice in letters">
|
||||
<field name="display_invoice_amount_total_words" widget="upgrade_boolean"/>
|
||||
<field name="display_invoice_amount_total_words"/>
|
||||
</setting>
|
||||
</block>
|
||||
<block title="Customer Payments" id="pay_invoice_online_setting_container">
|
||||
|
||||
Reference in New Issue
Block a user