[FIX] l10n_ke_edi_tremol: change confusing 'control unit' name
The fiscal device is refered to as the 'fiscal device' in some places, and 'control unit' in others. This commit changes the references to the fiscal device to always be 'fiscal device'. This commit was accidentaly dropped when fixing a forward-port rebase https://github.com/odoo/odoo/pull/109434, and has thus been reintroduced in v16 in its own PR. closes odoo/odoo#110182 X-original-commit: 9049516a0d45ae537f976622f2709e0c098a3003 Signed-off-by: Josse Colpaert <jco@odoo.com> Signed-off-by: Daniel Kosky (dako) <dako@odoo.com>
This commit is contained in:
committed by
Daniel Kosky (dako)
parent
4d8fceac2e
commit
b4904cb3d9
@@ -9,6 +9,6 @@ class ResCompany(models.Model):
|
||||
|
||||
l10n_ke_cu_proxy_address = fields.Char(
|
||||
default="http://localhost:8069",
|
||||
string='Control Unit Proxy Address',
|
||||
help='The address of the proxy server for the control unit.',
|
||||
string='Fiscal Device Proxy Address',
|
||||
help='The address of the proxy server for the fiscal device.',
|
||||
)
|
||||
|
||||
@@ -11,14 +11,14 @@
|
||||
<button name="l10n_ke_action_cu_post" type="object"
|
||||
class="oe_highlight"
|
||||
groups="account.group_account_manager"
|
||||
string="Send Invoice To Device"
|
||||
string="Send To Fiscal Device"
|
||||
attrs="{'invisible': ['|', '|', '|', ('country_code', '!=', 'KE'), ('l10n_ke_cu_qrcode', '!=', False), ('state', '!=', 'posted'), ('move_type', 'not in', ['out_invoice', 'out_refund'])]}"/>
|
||||
</xpath>
|
||||
<xpath expr="//group[@id='header_right_group']" position="inside">
|
||||
<field name="l10n_ke_cu_invoice_number" attrs="{'invisible': [('country_code', '!=', 'KE')]}" readonly="1"/>
|
||||
</xpath>
|
||||
<notebook position="inside">
|
||||
<page string="Tremol GO3 Control Unit" attrs="{'invisible': [('country_code', '!=', 'KE')]}">
|
||||
<page string="Tremol GO3 Fiscal Device" attrs="{'invisible': [('country_code', '!=', 'KE')]}">
|
||||
<group>
|
||||
<group>
|
||||
<field name="l10n_ke_cu_qrcode" widget="url" readonly="1"/>
|
||||
@@ -43,7 +43,7 @@
|
||||
</record>
|
||||
|
||||
<record id="action_send_invoices_to_device" model="ir.actions.server">
|
||||
<field name="name">Send invoices to fiscal device</field>
|
||||
<field name="name">Send to fiscal device</field>
|
||||
<field name="model_id" ref="account.model_account_move"/>
|
||||
<field name="binding_model_id" ref="account.model_account_move"/>
|
||||
<field name="binding_view_types">list</field>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<template id="l10n_ke_invoice" inherit_id="account.report_invoice_document">
|
||||
<xpath expr="//div[@id='qrcode']" position="before">
|
||||
<div t-if="o.country_code == 'KE'" id="l10n_ke_control_unit_information" style="page-break-inside:avoid;">
|
||||
<b>Kenyan Control Unit Info</b>
|
||||
<b>Kenyan Fiscal Device Info</b>
|
||||
<div class="row mt-4 mb-4">
|
||||
<div class="col-auto col-3 mw-100 mb-2">
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user