Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Error in module

by
Vertel AB, Jakob Krabbe
- 26/11/2025 14:06:09



Hello!
I did enclose an image. Apparently it was not delivered...!

1. Change "Number of Years" to "Number of Units"
2. Change "Period Length" to "Unit" (Month, Quarter, Year are the given alternatives and that's correct.)

I don't know how to send requests using GitHub.


https://github.com/OCA/account-financial-tools/blob/18.0/account_asset_management/models/account_asset.py

    method_number = fields.Integer(
1.        string="Number of Years",
        compute="_compute_method_number",
        readonly=False,
        store=True,
        help="The number of years needed to depreciate your asset",
    )
    method_period = fields.Selection(
        selection=lambda self: self.env[
            "account.asset.profile"
        ]._selection_method_period(),
2.        string="Period Length",
        compute="_compute_method_period",
        readonly=False,
        store=True,
        help="Period length for the depreciation accounting entries",
    )




Den 2025-11-26 kl. 12:02, skrev Daniel Reis:
Hello Jakob,

Specifically what English terms you feel are wrong?

You can propose a changes directly on GitHub if you like.
Field names are often defined in the models, and other string will probably de defined in the view.

/Daniel 

On 26/11/2025 10:32, Jakob Krabbe wrote:





Hello!
I do translating to the Swedish market.
My boss thinkks the vocabulaty makes no sense... And he's right!

My translation is correct but the English in the module is wrong.
https://github.com/OCA/account-financial-tools/tree/18.0/account_asset_management

Maybe there are people pout there with GitHub-access that can take the time to  correct the English used in this module?

regards,

// jakob

-- 
Med vänlig hälsning / Best regards/ 顺祝商祺,
Jakob Krabbe

VERTEL AB | Jakob Krabbe | jakob.krabbe@vertel.se
+46 (0)13 99 19 480 | +46 (0) 79-348 18 01 | vertel.se

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe


--
DANIEL REIS
MANAGING PARTNER

>> Schedule time on my calendar.
M: +351 919 991 307
E: dreis@OpenSourceIntegrators.com
A: Avenida da República 3000, Estoril Office Center, 2649-517 Cascais

[Logo OpenSourceIntegrators.com]


_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

-- 
Med vänlig hälsning / Best regards/ 顺祝商祺,
Jakob Krabbe

VERTEL AB | Jakob Krabbe | jakob.krabbe@vertel.se
+46 (0)13 99 19 480 | +46 (0) 79-348 18 01 | vertel.se

Reference