payment_plan.py 330 B

1234567891011
  1. # -*- coding: utf-8 -*-
  2. from openerp import models, fields
  3. class PaymentPlan(models.Model):
  4. _name = 'payment.plan'
  5. name = fields.Char(string='Name', size=50)
  6. amount = fields.Float(string='Amount')
  7. storage_limit = fields.Float(string='Storage limit (MB)')
  8. ttl = fields.Integer(string='Time to live (Hours)')