Minor fix
This commit is contained in:
parent
b1e41c66ae
commit
d8768b613e
3
agent.py
3
agent.py
|
@ -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):
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue