Initial commit maintenance_purchase_detail for 11.0

This commit is contained in:
Jared Kipe
2018-05-01 09:54:22 -07:00
parent 5009a06207
commit f44a809219
6 changed files with 83 additions and 0 deletions

View File

@@ -0,0 +1 @@
from . import maintenance

View File

@@ -0,0 +1,13 @@
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')