mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
Update intrastat.py
remove print statements from def _display_name
This commit is contained in:
committed by
Alexis de Lattre
parent
48afff8830
commit
e0664db3b9
@@ -104,9 +104,6 @@ class IntrastatTransportMode(models.Model):
|
||||
@api.one
|
||||
@api.depends('name', 'code')
|
||||
def _display_name(self):
|
||||
print "display_name self=", self
|
||||
print "self.code=", self.code
|
||||
print "self.name=", self.name
|
||||
self.display_name = '%s. %s' % (self.code, self.name)
|
||||
|
||||
display_name = fields.Char(
|
||||
|
||||
Reference in New Issue
Block a user