mirror of
https://github.com/bringout/oca-ocb-vertical-industry.git
synced 2026-04-25 06:51:59 +02:00
Initial commit: Vertical Industry packages
This commit is contained in:
commit
d5567a0017
766 changed files with 733028 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class FleetVehicleAssignationLog(models.Model):
|
||||
_name = "fleet.vehicle.assignation.log"
|
||||
_description = "Drivers history on a vehicle"
|
||||
_order = "create_date desc, date_start desc"
|
||||
|
||||
vehicle_id = fields.Many2one('fleet.vehicle', string="Vehicle", required=True)
|
||||
driver_id = fields.Many2one('res.partner', string="Driver", required=True)
|
||||
date_start = fields.Date(string="Start Date")
|
||||
date_end = fields.Date(string="End Date")
|
||||
Loading…
Add table
Add a link
Reference in a new issue