Fix setup

This commit is contained in:
oscar alvarez 2022-02-22 08:12:29 -05:00
parent a95b790c56
commit fbff6d437e
3 changed files with 8 additions and 28 deletions

View File

@ -6,10 +6,7 @@ from setuptools import setup
import re
import os
import io
try:
from configparser import ConfigParser
except ImportError:
from ConfigParser import ConfigParser
from configparser import ConfigParser
MODULE = 'sale_shop'
PREFIX = 'trytonpsk'
@ -90,25 +87,12 @@ setup(name=name,
'Intended Audience :: Financial and Insurance Industry',
'Intended Audience :: Legal Industry',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Natural Language :: Bulgarian',
'Natural Language :: Catalan',
'Natural Language :: Chinese (Simplified)',
'Natural Language :: Czech',
'Natural Language :: Dutch',
'Natural Language :: English',
'Natural Language :: French',
'Natural Language :: German',
'Natural Language :: Hungarian',
'Natural Language :: Italian',
'Natural Language :: Portuguese (Brazilian)',
'Natural Language :: Russian',
'Natural Language :: Slovenian',
'Natural Language :: Spanish',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Office/Business',
@ -125,8 +109,4 @@ setup(name=name,
test_suite='tests',
test_loader='trytond.test_loader:Loader',
tests_require=tests_require,
use_2to3=True,
convert_2to3_doctests=[
'tests/scenario.rst',
],
)
)

View File

@ -41,8 +41,7 @@ class ShipmentOut(metaclass=PoolMeta):
return [s.address.id for s in warehouse_shops if s.address]
class ShipmentOutReturn:
__metaclass__ = PoolMeta
class ShipmentOutReturn(metaclass=PoolMeta):
__name__ = 'stock.shipment.out.return'
shop_addresses = fields.Function(fields.Many2Many('party.address', None,

View File

@ -1,8 +1,9 @@
[tryton]
version=6.0.6
version=6.0.7
depends:
company
account_invoice
stock
sale_price_list
sale_salesman
invoice_report