Dmytro Katyukha 7fbeffb19e [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)
2021-04-01 13:53:02 +02:00
2021-02-16 10:54:53 +00:00
2021-02-16 10:54:54 +00:00
2020-10-08 21:14:13 +02:00
2020-10-08 21:14:13 +02:00
2020-10-08 21:14:13 +02:00
2020-10-08 21:14:13 +02:00
2020-10-08 21:14:13 +02:00
2020-11-01 21:45:52 +01:00
2020-12-11 19:36:37 +01:00
2020-10-08 21:14:13 +02:00
2020-10-08 21:14:13 +02:00
2020-10-08 21:14:13 +02:00
2021-02-16 10:54:53 +00:00

Runbot Status Build Status codecov Translation Status

contract

TODO: add repo description.

Available addons

addon version summary
agreement 14.0.1.0.0 Adds an agreement object

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to 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%