mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
14 lines
475 B
Python
14 lines
475 B
Python
from odoo import api, fields, models
|
|
|
|
|
|
class MaintenanceEquipment(models.Model):
|
|
_inherit = 'maintenance.equipment'
|
|
|
|
purchase_date = fields.Date(string='Purchase Date')
|
|
purchase_condition = fields.Selection([
|
|
('new', 'New'),
|
|
('used', 'Used'),
|
|
('other', 'Other'),
|
|
], string='Purchase Condition')
|
|
purchase_note = fields.Text(string='Purchase Note')
|