model.py 535 B

1234567891011121314151617
  1. # -*- coding: utf-8 -*-
  2. from openerp import models, fields, api
  3. class DashboardObejetive(models.Model):
  4. _name = 'dashboard.objetive'
  5. store_id = fields.Many2one(
  6. 'res.store',
  7. string='Sucursal',
  8. ondelete='restrict'
  9. )
  10. date = fields.Date("Fecha")
  11. sale_objetive = fields.Float(string="Objetivo de Ventas")
  12. purchase_limit = fields.Float(string="Limite de Compras")
  13. expense_limit = fields.Float(string="Limite de Gastos")
  14. payment_objetive = fields.Float(string="Objetivo de Cobros")