Dmytro Katyukha 2a029138a9 [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)
2018-07-12 13:30:04 +03:00
2018-06-22 04:47:25 +02:00
2017-10-03 16:06:58 +02:00
2017-10-03 16:06:58 +02:00
2017-10-03 16:06:58 +02:00
2017-10-03 16:06:58 +02:00
2017-10-03 16:06:58 +02:00

Runbot Status Build Status Coverage Status

Contracts

Odoo Contracts are special types of Analytic Accounts. This repository provides features extending Contracts.

Dependencies on Project fetures should not be required. For Project related extensions please see the OCA/Project repository.

Translation Status

Transifex Status

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