Dmytro Katyukha b0b978c2bc [FIX] analytic invoice/contract lines inheritance
Bug description
---------------

`account.analytic.contract.line` inherits
`account.analytic.invoice.line`

`account.analytic.invoice.line` defines field `analytic_account_id`:
   - comodel='account.analytic.account'

`account.analytic.contract.line` redefines field `analytic_account_id`:
   - comodel='account.analytic.contract'

On attempt to extend `account.analytic.invoice.line` model adding
field that depends on `analytic_account_id.date_start`
Odoo fails to update, because it adds this field to
`account.analytic.contract.line` through inheritance,
and `account.analytic.contract` model have no this field.

What is done
------------

Change inheritance order:
- `account.analytic.invoice.line` inherits
`account.analytic.contract.line`
- no file renames at this stage (this wil be done in next commit)
2024-03-23 15:10:08 +00:00
2023-11-12 15:40:02 +01:00
2024-03-23 13:42:47 +00:00
2023-11-12 15:40:02 +01:00
2023-11-12 15:40:02 +01:00
2023-11-12 15:40:02 +01:00
2023-11-12 15:40:02 +01:00
2023-11-12 15:40:02 +01:00
2023-11-12 15:40:02 +01:00
2024-03-23 13:42:47 +00:00
2023-11-12 15:40:02 +01:00
2023-11-12 15:40:02 +01:00

Runboat Pre-commit Status Build Status codecov Translation Status

contract

TODO: add repo description.

This part will be replaced when running the oca-gen-addons-table script from OCA/maintainer-tools.

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Description
No description provided
Readme 66 MiB
Languages
Python 60.4%
HTML 39%
JavaScript 0.4%
SCSS 0.2%