from datetime import datetime

from odoo import api, fields, models

class FleetSale(models.Model):
	_name = 'fleet.sale'
	_description = "Fleet Sale"

	name = fields.Many2one('tms.unit.kit')
	route = fields.Many2one('fleet.vehicle.route')
	client = fields.Many2one('res.partner')
	rate = fields.Float()
	date = fields.Date()
	total = fields.Float()

66ca741c433b4cb723152c1becd78d6c1a207454
<mask token>

<mask token>


class FleetSale(models.Model):
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class FleetSale(models.Model):
    _name = 'fleet.sale'
    _description = 'Fleet Sale'
    name = fields.Many2one('tms.unit.kit')
    route = fields.Many2one('fleet.vehicle.route')
    client = fields.Many2one('res.partner')
    rate = fields.Float()
    date = fields.Date()
    total = fields.Float()

from datetime import datetime
from odoo import api, fields, models


class FleetSale(models.Model):
    _name = 'fleet.sale'
    _description = 'Fleet Sale'
    name = fields.Many2one('tms.unit.kit')
    route = fields.Many2one('fleet.vehicle.route')
    client = fields.Many2one('res.partner')
    rate = fields.Float()
    date = fields.Date()
    total = fields.Float()

from datetime import datetime

from odoo import api, fields, models

class FleetSale(models.Model):
	_name = 'fleet.sale'
	_description = "Fleet Sale"

	name = fields.Many2one('tms.unit.kit')
	route = fields.Many2one('fleet.vehicle.route')
	client = fields.Many2one('res.partner')
	rate = fields.Float()
	date = fields.Date()
	total = fields.Float()
