Minor fix

This commit is contained in:
Oscar 2021-08-21 12:26:34 -05:00
parent b1e41c66ae
commit d8768b613e
2 changed files with 1 additions and 3 deletions

View File

@ -1,9 +1,8 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from __future__ import unicode_literals
from decimal import Decimal
from trytond.pool import PoolMeta
from trytond.model import fields, ModelSQL
from trytond.model import fields
class Agent(metaclass=PoolMeta):

View File

@ -44,7 +44,6 @@ class Reservation(ModelSQL, ModelView):
class PartyConsumer(ModelSQL, ModelView):
'Party Consumer'
__name__ = 'party.consumer'
_rec_name = 'name'
name = fields.Char('Name', required=True)
phone = fields.Char('Phone', required=True)
address = fields.Char('Address', required=True)