Skip to content

Comments

[18.0][FIX] account_invoice_start_end_dates: Avoid same-label warning#365

Open
tobiaszehntner wants to merge 1 commit intoOCA:18.0from
acsone:18.0-fix-account-invoice-start-end-dates
Open

[18.0][FIX] account_invoice_start_end_dates: Avoid same-label warning#365
tobiaszehntner wants to merge 1 commit intoOCA:18.0from
acsone:18.0-fix-account-invoice-start-end-dates

Conversation

@tobiaszehntner
Copy link

Odoo's account_accountant has two fields with the same label on the same model. Avoid warning by renaming the fields in Python while keeping the same label in the views.

Fields: account_accountant/models/account_move.py:446

Warnings:

WARNING odoo.addons.base.models.ir_model: Two fields (start_date, deferred_start_date) of account.move.line() have the same label: Start Date. [Modules: account_invoice_start_end_dates and account_accountant] 
WARNING odoo.addons.base.models.ir_model: Two fields (end_date, deferred_end_date) of account.move.line() have the same label: End Date. [Modules: account_invoice_start_end_dates and account_accountant] 

@OCA-git-bot
Copy link
Contributor

Hi @alexis-via,
some modules you are maintaining are being modified, check this out!

Odoo's account_accountant has two fields with the same label on the same model. Avoid warning by renaming the fields in Python while keeping the same label in the views.
account_accountant/models/account_move.py:446
@tobiaszehntner tobiaszehntner force-pushed the 18.0-fix-account-invoice-start-end-dates branch from 35c773a to d9ad940 Compare February 13, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants