mirror of
https://github.com/bringout/oca-ocb-hr.git
synced 2026-04-26 18:32:03 +02:00
Initial commit: Hr packages
This commit is contained in:
commit
62531cd146
2820 changed files with 1432848 additions and 0 deletions
|
|
@ -0,0 +1,13 @@
|
|||
# -*- 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,
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue