I don't get why you don't get it... Partial revert of the taskID: 2415309 Com PR: https://github.com/odoo/odoo/pull/70313 Ent PR: https://github.com/odoo/enterprise/pull/18114 Upg PR: https://github.com/odoo/upgrade/pull/2447 closes odoo/odoo#75475 Related: odoo/enterprise#20406 Related: odoo/upgrade#2765 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
14 lines
365 B
Python
14 lines
365 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class FleetVehicleOdometer(models.Model):
|
|
_inherit = 'fleet.vehicle.odometer'
|
|
|
|
driver_employee_id = fields.Many2one(
|
|
related='vehicle_id.driver_employee_id', string='Driver (Employee)',
|
|
readonly=True,
|
|
)
|