Fix prefix of trytonspain dependencies

This commit is contained in:
Sergi Almacellas Abellana 2016-05-26 10:44:01 +02:00
parent 64e670cf2a
commit 4975faeb3c
1 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,10 @@ try:
except ImportError:
from ConfigParser import ConfigParser
MODULE2PREFIX = {}
MODULE2PREFIX = {
'sale_payment_type': 'trytonspain',
'account_payment_type_cost': 'trytonspain',
}
def read(fname):
@ -20,6 +23,7 @@ def read(fname):
os.path.join(os.path.dirname(__file__), fname),
'r', encoding='utf-8').read()
def get_require_version(name):
if minor_version % 2:
require = '%s >= %s.%s.dev0, < %s.%s'