[IMP] account: add option to install account_invoice_extract
As account_invoice_extract is now in auto_install=True, we should show a default option in account to install or uninstall the module.
This commit is contained in:
@@ -75,6 +75,7 @@ class ResConfigSettings(models.TransientModel):
|
||||
module_product_margin = fields.Boolean(string="Allow Product Margin")
|
||||
module_l10n_eu_service = fields.Boolean(string="EU Digital Goods VAT")
|
||||
module_account_taxcloud = fields.Boolean(string="Account TaxCloud")
|
||||
module_account_invoice_extract = fields.Boolean(string="Automate Bill Processing")
|
||||
tax_exigibility = fields.Boolean(string='Cash Basis', related='company_id.tax_exigibility')
|
||||
tax_cash_basis_journal_id = fields.Many2one('account.journal', related='company_id.tax_cash_basis_journal_id', string="Tax Cash Basis Journal")
|
||||
invoice_reference_type = fields.Selection(string='Communication',
|
||||
|
||||
@@ -560,6 +560,25 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h2>Autocomplete Vendor Bills (OCR + AI)</h2>
|
||||
<div class="row mt16 o_settings_container" id="account_ocr_settings">
|
||||
<div class="col-12 col-lg-6 o_setting_box">
|
||||
<div class="o_setting_left_pane">
|
||||
<field name="module_account_invoice_extract" widget="upgrade_boolean"/>
|
||||
</div>
|
||||
<div class="o_setting_right_pane">
|
||||
<label for="module_account_invoice_extract"/>
|
||||
<div class="text-muted">
|
||||
When receiving an email with a bill, or uploading scanned bills, Odoo will parse them (OCR) and auto-complete (AI) Draft Bills to validate.
|
||||
</div>
|
||||
<div id="msg_invoice_extract" class="content-group" attrs="{'invisible': [('module_account_invoice_extract', '=', False)]}">
|
||||
<div class="text-warning mt16 mb4">
|
||||
Save this page and come back here to set up the feature.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
|
||||
Reference in New Issue
Block a user