[IMP] l10n_ec: UI clean up

This commit aims at changing some tooltip to help the users

Task: 3270458
Part-of: odoo/odoo#134617
This commit is contained in:
Maximilien (malb)
2023-10-20 11:22:01 +00:00
parent 7004382210
commit cc1ede9868
3 changed files with 16 additions and 5 deletions
+12 -2
View File
@@ -9,12 +9,22 @@ class AccountJournal(models.Model):
compute='_compute_l10n_ec_require_emission',
help='True if an entity and emission point must be set on the journal'
)
l10n_ec_entity = fields.Char(string="Emission Entity", size=3, copy=False)
l10n_ec_emission = fields.Char(string="Emission Point", size=3, copy=False)
l10n_ec_entity = fields.Char(
string="Emission Entity",
size=3,
copy=False,
help="Ecuador: Emission entity number that is given by the SRI."
)
l10n_ec_emission = fields.Char(
string="Emission Point",
size=3, copy=False,
help="Ecuador: Emission point number that is given by the SRI."
)
l10n_ec_emission_address_id = fields.Many2one(
comodel_name="res.partner",
string="Emission address",
domain="['|', ('id', '=', company_partner_id), '&', ('id', 'child_of', company_partner_id), ('type', '!=', 'contact')]",
help="Ecuador: Address for electronic invoicing.",
)
@api.depends('type', 'country_code', 'l10n_latam_use_documents')
+1
View File
@@ -133,6 +133,7 @@ class AccountMove(models.Model):
l10n_ec_sri_payment_id = fields.Many2one(
comodel_name="l10n_ec.sri.payment",
string="Payment Method (SRI)",
help="Ecuador: Payment Methods Defined by the SRI.",
)
@api.model
+3 -3
View File
@@ -10,13 +10,13 @@ class AccountTax(models.Model):
l10n_ec_code_base = fields.Char(
string="Code base",
help="Tax declaration code of the base amount prior to the calculation of the tax",
help="Ecuador: Tax declaration code of the base amount prior to the calculation of the tax.",
)
l10n_ec_code_applied = fields.Char(
string="Code applied",
help="Tax declaration code of the resulting amount after the calculation of the tax",
help="Ecuador: Tax declaration code of the resulting amount after the calculation of the tax.",
)
l10n_ec_code_ats = fields.Char(
string="Code ATS",
help="Tax Identification Code for the Simplified Transactional Annex",
help="Ecuador: Indicates if the purchase invoice supports tax credit or cost or expenses, conforming table 5 of ATS.",
)