[FIX] account_peppol: fix settings text, search
The text should be update, since we do not review applications anymore. Also, currently if a user types a random text in the settings' search bar, Peppol setting appears. Peppol settings should be enclosed in `block` tags as all other settings. task-3525510 closes odoo/odoo#137355 X-original-commit: 156b0c94c2c9cf26b1168864c723e2ad2d720311 Signed-off-by: Laurent Smet (las) <las@odoo.com> Signed-off-by: Aliya Tastemirova (alta) <alta@odoo.com>
This commit is contained in:
@@ -406,6 +406,13 @@ msgstr ""
|
||||
msgid "Send via PEPPOL"
|
||||
msgstr ""
|
||||
|
||||
#. module: account_peppol
|
||||
#: model_terms:ir.ui.view,arch_db:account_peppol.res_config_settings_view_form
|
||||
msgid ""
|
||||
"Start sending and receiving documents via Peppol as soon as your "
|
||||
"registration is complete."
|
||||
msgstr ""
|
||||
|
||||
#. module: account_peppol
|
||||
#. odoo-python
|
||||
#: code:addons/account_peppol/wizard/account_move_send.py:0
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
<field name="model">res.config.settings</field>
|
||||
<field name="inherit_id" ref="account.res_config_settings_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//block[@id='analytic']" position="after">
|
||||
<block id="analytic" position="after">
|
||||
<block title="PEPPOL Electronic Document Invoicing">
|
||||
<field name="is_account_peppol_eligible" invisible="1"/>
|
||||
<div invisible="not is_account_peppol_eligible">
|
||||
<h2>PEPPOL Electronic Document Invoicing</h2>
|
||||
<div class="row mt16 o_settings_container" id='account_peppol'>
|
||||
<div id='account_peppol'>
|
||||
<div class="col-12 col-lg-12 o_setting_box">
|
||||
<field name="account_peppol_proxy_state" invisible="1"/>
|
||||
<div class="o_setting_left_pane">
|
||||
@@ -21,10 +21,7 @@
|
||||
<label for="is_account_peppol_participant" string='Use PEPPOL Invoicing'/>
|
||||
<span class="fa fa-lg fa-building-o" title="Values set here are company-specific."/>
|
||||
<div class="text-muted">
|
||||
Our staff members will first review your request within two working days.
|
||||
</div>
|
||||
<div class="text-muted">
|
||||
Start sending and receiving documents via Peppol as soon as you receive our email notification.
|
||||
Start sending and receiving documents via Peppol as soon as your registration is complete.
|
||||
</div>
|
||||
<div class="alert alert-warning mt-3"
|
||||
role="alert"
|
||||
@@ -164,7 +161,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</xpath>
|
||||
</block>
|
||||
</block>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user