mirror of
https://github.com/NaN-tic/trytond-country_zip.git
synced 2023-12-14 07:42:54 +01:00
pyflakes fixes.
This commit is contained in:
parent
ab76cd10bd
commit
5e72ecc343
4 changed files with 6 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
#This file is part country_zip module for Tryton.
|
#This file is part country_zip module for Tryton.
|
||||||
#The COPYRIGHT file at the top level of this repository contains
|
#The COPYRIGHT file at the top level of this repository contains
|
||||||
#the full copyright notices and license terms.
|
#the full copyright notices and license terms.
|
||||||
|
|
||||||
from trytond.model import fields
|
from trytond.model import fields
|
||||||
|
@ -19,8 +19,8 @@ DEPENDS = ['active']
|
||||||
class Address:
|
class Address:
|
||||||
"Address"
|
"Address"
|
||||||
__name__ = 'party.address'
|
__name__ = 'party.address'
|
||||||
|
|
||||||
zip = fields.Char('Zip', states=STATES, depends=DEPENDS,
|
zip = fields.Char('Zip', states=STATES, depends=DEPENDS,
|
||||||
on_change=['zip', 'city', 'subdivision', 'country'])
|
on_change=['zip', 'city', 'subdivision', 'country'])
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#This file is part country_zip module for Tryton.
|
#This file is part country_zip module for Tryton.
|
||||||
#The COPYRIGHT file at the top level of this repository contains
|
#The COPYRIGHT file at the top level of this repository contains
|
||||||
#the full copyright notices and license terms.
|
#the full copyright notices and license terms.
|
||||||
from trytond.model import fields
|
from trytond.model import fields
|
||||||
from trytond.pool import PoolMeta
|
from trytond.pool import PoolMeta
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# -*- encoding: utf-8 -*-
|
# -*- encoding: utf-8 -*-
|
||||||
#This file is part country_zip module for Tryton.
|
#This file is part country_zip module for Tryton.
|
||||||
#The COPYRIGHT file at the top level of this repository contains
|
#The COPYRIGHT file at the top level of this repository contains
|
||||||
#the full copyright notices and license terms.
|
#the full copyright notices and license terms.
|
||||||
|
|
||||||
from trytond.model import ModelView, ModelSQL, fields
|
from trytond.model import ModelView, ModelSQL, fields
|
||||||
|
|
3
setup.py
3
setup.py
|
@ -1,11 +1,10 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
#This file is part country_zip module for Tryton.
|
#This file is part country_zip module for Tryton.
|
||||||
#The COPYRIGHT file at the top level of this repository contains
|
#The COPYRIGHT file at the top level of this repository contains
|
||||||
#the full copyright notices and license terms.
|
#the full copyright notices and license terms.
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
import re
|
import re
|
||||||
import os
|
|
||||||
import ConfigParser
|
import ConfigParser
|
||||||
|
|
||||||
config = ConfigParser.ConfigParser()
|
config = ConfigParser.ConfigParser()
|
||||||
|
|
Loading…
Reference in a new issue