Skip to content
  • This project
    • Loading...
  • Sign in

Maria Agustina / tpv_correcciones

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 1
  • Wiki
  • Network
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • tpv_correcciones
  • models
  • referencias.py
  • Maria Agustina's avatar
    687 base · 4179f802
    Maria Agustina committed 2021-02-08 10:53:11 -0300
    4179f802 Browse Files
referencias.py 466 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
# -*- coding: utf-8 -*-
from odoo import models, fields, api, exceptions

class asw_referencias(models.Model):
    _name='asw.referencias'

    name = fields.Char(
        string="Nombre",
    )

    descripcion = fields.Text(
        string=u"Descripción",
    )

    habilitada = fields.Boolean(
        string="Habilitada"
    )

    factura = fields.Many2one(
        string=u'Factura',
        comodel_name='asw.comprobante',
        ondelete='set null',
    )