[tryton-debian-vcs] tryton-modules-carrier-weight branch debian updated. debian/3.8.0-2-4-g9b49d72
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Thu Jun 2 16:10:59 UTC 2016
The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-carrier-weight.git;a=commitdiff;h=debian/3.8.0-2-4-g9b49d72
commit 9b49d7241dd31f7f804f87233093874815b7f069
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Jun 1 21:47:20 2016 +0200
Releasing debian version 4.0.0-1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/debian/changelog b/debian/changelog
index fa7e2ca..c082338 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tryton-modules-carrier-weight (4.0.0-1) unstable; urgency=medium
+
+ * Updating signing-key.asc with the actual upstream maintainer keys.
+ * Merging upstream version 4.0.0.
+ * Updating the copyright file.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Mon, 30 May 2016 19:28:20 +0200
+
tryton-modules-carrier-weight (3.8.0-2) unstable; urgency=medium
* Updating to standards version 3.9.7, no changes needed.
commit a1a341e7766edfe2f9a51ce0df5314a40d05515e
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Fri May 27 19:01:03 2016 +0200
Updating the copyright file.
diff --git a/debian/copyright b/debian/copyright
index 90d529f..4e87fd8 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,15 +1,15 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Files: *
-Copyright: 2011-2015 Cédric Krier
+Copyright: 2011-2016 Cédric Krier
2011-2013 Bertrand Chenal
2011-2015 Nicolas Évrard
- 2011-2015 B2CK SPRL
+ 2011-2016 B2CK SPRL
License: GPL-3+
Files: debian/*
Copyright: 2009-2012 Daniel Baumann <daniel at debian.org>
- 2012-2015 Mathias Behrle <mathiasb at m9s.biz>
+ 2012-2016 Mathias Behrle <mathiasb at m9s.biz>
License: GPL-3+
License: GPL-3+
commit ce12b2f55fd888289916434550e45c5c61743245
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Fri May 27 18:25:59 2016 +0200
Merging upstream version 4.0.0.
diff --git a/CHANGELOG b/CHANGELOG
index 0b1dec6..f66492b 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,7 @@
+Version 4.0.0 - 2016-05-02
+* Bug fixes (see mercurial logs for details)
+* Add Python3 support
+
Version 3.8.0 - 2015-11-02
* Bug fixes (see mercurial logs for details)
diff --git a/COPYRIGHT b/COPYRIGHT
index 501e672..b8eb554 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,7 +1,7 @@
-Copyright (C) 2011-2015 Cédric Krier.
+Copyright (C) 2011-2016 Cédric Krier.
Copyright (C) 2011-2013 Bertrand Chenal.
Copyright (C) 2011-2015 Nicolas Évrard.
-Copyright (C) 2011-2015 B2CK SPRL.
+Copyright (C) 2011-2016 B2CK SPRL.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index abb10ef..5152ec2 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond_carrier_weight
-Version: 3.8.0
+Version: 4.0.0
Summary: Tryton module to add cost method "on weight" on carrier
Home-page: http://www.tryton.org/
Author: Tryton
Author-email: issue_tracker at tryton.org
License: GPL-3
-Download-URL: http://downloads.tryton.org/3.8/
+Download-URL: http://downloads.tryton.org/4.0/
Description: trytond_carrier_weight
======================
@@ -54,6 +54,8 @@ Classifier: Intended Audience :: Legal Industry
Classifier: Intended Audience :: Manufacturing
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Natural Language :: Bulgarian
+Classifier: Natural Language :: Catalan
+Classifier: Natural Language :: Chinese (Simplified)
Classifier: Natural Language :: Czech
Classifier: Natural Language :: Dutch
Classifier: Natural Language :: English
@@ -67,6 +69,9 @@ Classifier: Natural Language :: Slovenian
Classifier: Natural Language :: Spanish
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Office/Business
diff --git a/carrier.py b/carrier.py
index bdda4c5..bf75cac 100644
--- a/carrier.py
+++ b/carrier.py
@@ -8,10 +8,10 @@ from trytond.pool import Pool, PoolMeta
from trytond.transaction import Transaction
__all__ = ['Carrier', 'WeightPriceList']
-__metaclass__ = PoolMeta
class Carrier:
+ __metaclass__ = PoolMeta
__name__ = 'carrier'
weight_uom = fields.Many2One('product.uom', 'Weight Uom',
domain=[('category', '=', Id('product', 'uom_cat_weight'))],
diff --git a/carrier.xml b/carrier.xml
index 2db69e1..04afbc1 100644
--- a/carrier.xml
+++ b/carrier.xml
@@ -5,7 +5,7 @@ this repository contains the full copyright notices and license terms. -->
<data>
<record model="ir.ui.view" id="carrier_view_form">
<field name="model">carrier</field>
- <field name="type">form</field>
+ <field name="type" eval="None"/>
<field name="inherit" ref="carrier.carrier_view_form"/>
<field name="name">carrier_form</field>
</record>
diff --git a/locale/es_EC.po b/locale/es_EC.po
index 345930f..5b57f83 100644
--- a/locale/es_EC.po
+++ b/locale/es_EC.po
@@ -24,7 +24,7 @@ msgstr "Decimales de UdM del peso"
msgctxt "field:carrier.weight_price_list,carrier:"
msgid "Carrier"
-msgstr "Transporte"
+msgstr "Transportista"
msgctxt "field:carrier.weight_price_list,create_date:"
msgid "Create Date"
@@ -60,7 +60,7 @@ msgstr "Modificado por usuario"
msgctxt "model:carrier.weight_price_list,name:"
msgid "Carrier Weight Price List"
-msgstr "Lista de precio de transporte por peso"
+msgstr "Lista de precio de transportista por peso"
msgctxt "selection:carrier,carrier_cost_method:"
msgid "Weight"
@@ -68,8 +68,8 @@ msgstr "Peso"
msgctxt "view:carrier.weight_price_list:"
msgid "Carrier Weight Price List"
-msgstr "Lista de precios de transporte por peso"
+msgstr "Lista de precios de transportista por peso"
msgctxt "view:carrier.weight_price_list:"
msgid "Carrier Weight Price Lists"
-msgstr "Listas de precios de transporte por peso"
+msgstr "Listas de precios de transportista por peso"
diff --git a/locale/es_MX.po b/locale/es_MX.po
index 3ec5a3f..01bc09d 100644
--- a/locale/es_MX.po
+++ b/locale/es_MX.po
@@ -66,10 +66,12 @@ msgctxt "selection:carrier,carrier_cost_method:"
msgid "Weight"
msgstr "Peso"
+#, fuzzy
msgctxt "view:carrier.weight_price_list:"
msgid "Carrier Weight Price List"
-msgstr ""
+msgstr "Tarifa peso transportista"
+#, fuzzy
msgctxt "view:carrier.weight_price_list:"
msgid "Carrier Weight Price Lists"
-msgstr ""
+msgstr "Tarifa peso transportista"
diff --git a/locale/es_MX.po b/locale/lo_LA.po
similarity index 78%
copy from locale/es_MX.po
copy to locale/lo_LA.po
index 3ec5a3f..9a25d6e 100644
--- a/locale/es_MX.po
+++ b/locale/lo_LA.po
@@ -4,67 +4,67 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:carrier,weight_currency:"
msgid "Currency"
-msgstr "Moneda"
+msgstr ""
msgctxt "field:carrier,weight_currency_digits:"
msgid "Weight Currency Digits"
-msgstr "Decimales de la moneda del peso"
+msgstr ""
msgctxt "field:carrier,weight_price_list:"
msgid "Price List"
-msgstr "Tarifa"
+msgstr ""
msgctxt "field:carrier,weight_uom:"
msgid "Weight Uom"
-msgstr "UdM del peso"
+msgstr ""
msgctxt "field:carrier,weight_uom_digits:"
msgid "Weight Uom Digits"
-msgstr "Decimales de la UdM del peso"
+msgstr ""
msgctxt "field:carrier.weight_price_list,carrier:"
msgid "Carrier"
-msgstr "Transportista"
+msgstr ""
msgctxt "field:carrier.weight_price_list,create_date:"
msgid "Create Date"
-msgstr "Fecha creación"
+msgstr ""
msgctxt "field:carrier.weight_price_list,create_uid:"
msgid "Create User"
-msgstr "Usuario creación"
+msgstr ""
msgctxt "field:carrier.weight_price_list,id:"
msgid "ID"
-msgstr "ID"
+msgstr ""
msgctxt "field:carrier.weight_price_list,price:"
msgid "Price"
-msgstr "Precio"
+msgstr ""
msgctxt "field:carrier.weight_price_list,rec_name:"
msgid "Name"
-msgstr "Nombre"
+msgstr ""
msgctxt "field:carrier.weight_price_list,weight:"
msgid "Weight"
-msgstr "Peso"
+msgstr ""
msgctxt "field:carrier.weight_price_list,write_date:"
msgid "Write Date"
-msgstr "Fecha modificación"
+msgstr ""
msgctxt "field:carrier.weight_price_list,write_uid:"
msgid "Write User"
-msgstr "Usuario modificación"
+msgstr ""
msgctxt "model:carrier.weight_price_list,name:"
msgid "Carrier Weight Price List"
-msgstr "Tarifa peso transportista"
+msgstr ""
msgctxt "selection:carrier,carrier_cost_method:"
msgid "Weight"
-msgstr "Peso"
+msgstr ""
msgctxt "view:carrier.weight_price_list:"
msgid "Carrier Weight Price List"
diff --git a/locale/es_MX.po b/locale/zh_CN.po
similarity index 78%
copy from locale/es_MX.po
copy to locale/zh_CN.po
index 3ec5a3f..9a25d6e 100644
--- a/locale/es_MX.po
+++ b/locale/zh_CN.po
@@ -4,67 +4,67 @@ msgstr "Content-Type: text/plain; charset=utf-8\n"
msgctxt "field:carrier,weight_currency:"
msgid "Currency"
-msgstr "Moneda"
+msgstr ""
msgctxt "field:carrier,weight_currency_digits:"
msgid "Weight Currency Digits"
-msgstr "Decimales de la moneda del peso"
+msgstr ""
msgctxt "field:carrier,weight_price_list:"
msgid "Price List"
-msgstr "Tarifa"
+msgstr ""
msgctxt "field:carrier,weight_uom:"
msgid "Weight Uom"
-msgstr "UdM del peso"
+msgstr ""
msgctxt "field:carrier,weight_uom_digits:"
msgid "Weight Uom Digits"
-msgstr "Decimales de la UdM del peso"
+msgstr ""
msgctxt "field:carrier.weight_price_list,carrier:"
msgid "Carrier"
-msgstr "Transportista"
+msgstr ""
msgctxt "field:carrier.weight_price_list,create_date:"
msgid "Create Date"
-msgstr "Fecha creación"
+msgstr ""
msgctxt "field:carrier.weight_price_list,create_uid:"
msgid "Create User"
-msgstr "Usuario creación"
+msgstr ""
msgctxt "field:carrier.weight_price_list,id:"
msgid "ID"
-msgstr "ID"
+msgstr ""
msgctxt "field:carrier.weight_price_list,price:"
msgid "Price"
-msgstr "Precio"
+msgstr ""
msgctxt "field:carrier.weight_price_list,rec_name:"
msgid "Name"
-msgstr "Nombre"
+msgstr ""
msgctxt "field:carrier.weight_price_list,weight:"
msgid "Weight"
-msgstr "Peso"
+msgstr ""
msgctxt "field:carrier.weight_price_list,write_date:"
msgid "Write Date"
-msgstr "Fecha modificación"
+msgstr ""
msgctxt "field:carrier.weight_price_list,write_uid:"
msgid "Write User"
-msgstr "Usuario modificación"
+msgstr ""
msgctxt "model:carrier.weight_price_list,name:"
msgid "Carrier Weight Price List"
-msgstr "Tarifa peso transportista"
+msgstr ""
msgctxt "selection:carrier,carrier_cost_method:"
msgid "Weight"
-msgstr "Peso"
+msgstr ""
msgctxt "view:carrier.weight_price_list:"
msgid "Carrier Weight Price List"
diff --git a/sale.py b/sale.py
index 15176ca..c658331 100644
--- a/sale.py
+++ b/sale.py
@@ -6,10 +6,10 @@ from itertools import groupby
from trytond.pool import Pool, PoolMeta
__all__ = ['Sale']
-__metaclass__ = PoolMeta
class Sale:
+ __metaclass__ = PoolMeta
__name__ = 'sale.sale'
def _group_parcel_key(self, lines, line):
diff --git a/setup.py b/setup.py
index 2bce561..adafaef 100644
--- a/setup.py
+++ b/setup.py
@@ -5,11 +5,17 @@
from setuptools import setup
import re
import os
-import ConfigParser
+import io
+try:
+ from configparser import ConfigParser
+except ImportError:
+ from ConfigParser import ConfigParser
def read(fname):
- return open(os.path.join(os.path.dirname(__file__), fname)).read()
+ return io.open(
+ os.path.join(os.path.dirname(__file__), fname),
+ 'r', encoding='utf-8').read()
def get_require_version(name):
@@ -21,7 +27,7 @@ def get_require_version(name):
major_version, minor_version + 1)
return require
-config = ConfigParser.ConfigParser()
+config = ConfigParser()
config.readfp(open('tryton.cfg'))
info = dict(config.items('tryton'))
for key in ('depends', 'extras_depend', 'xml'):
@@ -43,7 +49,7 @@ if minor_version % 2:
requires = []
for dep in info.get('depends', []):
- if not re.match(r'(ir|res|webdav)(\W|$)', dep):
+ if not re.match(r'(ir|res)(\W|$)', dep):
requires.append(get_require_version('trytond_%s' % dep))
requires.append(get_require_version('trytond'))
@@ -83,6 +89,8 @@ setup(name=name,
'Intended Audience :: Manufacturing',
'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',
@@ -96,6 +104,9 @@ setup(name=name,
'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 :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Office/Business',
@@ -111,4 +122,8 @@ setup(name=name,
test_suite='tests',
test_loader='trytond.test_loader:Loader',
tests_require=tests_require,
+ use_2to3=True,
+ convert_2to3_doctests=[
+ 'tests/scenario_carrier_weight.rst',
+ ],
)
diff --git a/stock.py b/stock.py
index b437a7c..e8b6286 100644
--- a/stock.py
+++ b/stock.py
@@ -6,10 +6,10 @@ from functools import partial
from trytond.pool import Pool, PoolMeta
__all__ = ['ShipmentIn', 'ShipmentOut']
-__metaclass__ = PoolMeta
class ShipmentIn:
+ __metaclass__ = PoolMeta
__name__ = 'stock.shipment.in'
def _group_parcel_key(self, lines, line):
@@ -51,6 +51,7 @@ class ShipmentIn:
class ShipmentOut:
+ __metaclass__ = PoolMeta
__name__ = 'stock.shipment.out'
def _group_parcel_key(self, lines, line):
diff --git a/tests/__init__.py b/tests/__init__.py
index ca43ef1..aab688d 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -1,6 +1,9 @@
# 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 test_carrier_weight import suite
+try:
+ from trytond.modules.carrier_weight.tests.test_carrier_weight import suite
+except ImportError:
+ from .test_carrier_weight import suite
__all__ = ['suite']
diff --git a/tests/scenario_carrier_weight.rst b/tests/scenario_carrier_weight.rst
index ad46f70..c0369e8 100644
--- a/tests/scenario_carrier_weight.rst
+++ b/tests/scenario_carrier_weight.rst
@@ -12,7 +12,7 @@ Imports::
... get_company
>>> from trytond.modules.account.tests.tools import create_fiscalyear, \
... create_chart, get_accounts
- >>> from.trytond.modules.account_invoice.tests.tools import \
+ >>> from trytond.modules.account_invoice.tests.tools import \
... set_fiscalyear_invoice_sequences, create_payment_term
>>> today = datetime.date.today()
@@ -66,12 +66,6 @@ Create customer::
>>> customer = Party(name='Customer')
>>> customer.save()
-Create category::
-
- >>> ProductCategory = Model.get('product.category')
- >>> category = ProductCategory(name='Category')
- >>> category.save()
-
Create product::
>>> ProductUom = Model.get('product.uom')
@@ -82,7 +76,6 @@ Create product::
>>> product = Product()
>>> template = ProductTemplate()
>>> template.name = 'Product'
- >>> template.category = category
>>> template.default_uom = unit
>>> template.type = 'goods'
>>> template.salable = True
@@ -97,7 +90,6 @@ Create product::
>>> carrier_product = Product()
>>> carrier_template = ProductTemplate()
>>> carrier_template.name = 'Carrier Product'
- >>> carrier_template.category = category
>>> carrier_template.default_uom = unit
>>> carrier_template.type = 'service'
>>> carrier_template.salable = True
diff --git a/tests/test_carrier_weight.py b/tests/test_carrier_weight.py
index cb24f0d..30e2d30 100644
--- a/tests/test_carrier_weight.py
+++ b/tests/test_carrier_weight.py
@@ -4,96 +4,82 @@ import unittest
import doctest
from decimal import Decimal
import trytond.tests.test_tryton
-from trytond.tests.test_tryton import ModuleTestCase
-from trytond.tests.test_tryton import POOL, DB_NAME, USER, CONTEXT
+from trytond.tests.test_tryton import ModuleTestCase, with_transaction
from trytond.tests.test_tryton import doctest_setup, doctest_teardown
-from trytond.transaction import Transaction
+from trytond.tests.test_tryton import doctest_checker
+from trytond.pool import Pool
+
+from trytond.modules.currency.tests import create_currency
class CarrierWeightTestCase(ModuleTestCase):
'Test CarrierWeight module'
module = 'carrier_weight'
- def setUp(self):
- super(CarrierWeightTestCase, self).setUp()
- self.party = POOL.get('party.party')
- self.uom = POOL.get('product.uom')
- self.template = POOL.get('product.template')
- self.product = POOL.get('product.product')
- self.category = POOL.get('product.category')
- self.currency = POOL.get('currency.currency')
- self.carrier = POOL.get('carrier')
- self.weight_price_list = POOL.get('carrier.weight_price_list')
-
- def test0010compute_weight_price(self):
+ @with_transaction()
+ def test_compute_weight_price(self):
'Test compute_weight_price'
- with Transaction().start(DB_NAME, USER, context=CONTEXT):
- party, = self.party.create([{
- 'name': 'Carrier',
- }])
- uom, = self.uom.search([
- ('name', '=', 'Unit'),
- ])
- category, = self.category.create([{
- 'name': 'Category',
- }])
- template, = self.template.create([{
- 'name': 'Carrier',
- 'default_uom': uom.id,
- 'category': category.id,
- 'type': 'service',
- 'list_price': Decimal(0),
- 'cost_price': Decimal(0),
- }])
- product, = self.product.create([{
- 'template': template.id,
- }])
- weight_uom, = self.uom.search([
- ('name', '=', 'Kilogram'),
- ])
- currency, = self.currency.search([
- ('code', '=', 'cu1'),
- ])
- carrier, = self.carrier.create([{
- 'party': party.id,
- 'carrier_product': product.id,
- 'carrier_cost_method': 'weight',
- 'weight_uom': weight_uom.id,
- 'weight_currency': currency.id,
+ pool = Pool()
+ Party = pool.get('party.party')
+ Uom = pool.get('product.uom')
+ Template = pool.get('product.template')
+ Product = pool.get('product.product')
+ Carrier = pool.get('carrier')
+ WeightPriceList = pool.get('carrier.weight_price_list')
+
+ party, = Party.create([{
+ 'name': 'Carrier',
+ }])
+ uom, = Uom.search([
+ ('name', '=', 'Unit'),
+ ])
+ template, = Template.create([{
+ 'name': 'Carrier',
+ 'default_uom': uom.id,
+ 'type': 'service',
+ 'list_price': Decimal(0),
+ 'cost_price': Decimal(0),
+ }])
+ product, = Product.create([{
+ 'template': template.id,
+ }])
+ weight_uom, = Uom.search([
+ ('name', '=', 'Kilogram'),
+ ])
+ currency = create_currency('cu1')
+ carrier, = Carrier.create([{
+ 'party': party.id,
+ 'carrier_product': product.id,
+ 'carrier_cost_method': 'weight',
+ 'weight_uom': weight_uom.id,
+ 'weight_currency': currency.id,
+ }])
+ for i, weight in enumerate(xrange(0, 100, 20)):
+ WeightPriceList.create([{
+ 'carrier': carrier.id,
+ 'weight': weight,
+ 'price': Decimal(i),
}])
- for i, weight in enumerate(xrange(0, 100, 20)):
- self.weight_price_list.create([{
- 'carrier': carrier.id,
- 'weight': weight,
- 'price': Decimal(i),
- }])
- self.assertEqual(
- carrier.compute_weight_price(0), Decimal(0))
- for weight, price in [
- (1, Decimal(0)),
- (10, Decimal(0)),
- (20, Decimal(0)),
- (21, Decimal(1)),
- (80, Decimal(3)),
- (81, Decimal(4)),
- (100, Decimal(4)),
- ]:
- self.assertEqual(carrier.compute_weight_price(weight), price)
+ self.assertEqual(
+ carrier.compute_weight_price(0), Decimal(0))
+ for weight, price in [
+ (1, Decimal(0)),
+ (10, Decimal(0)),
+ (20, Decimal(0)),
+ (21, Decimal(1)),
+ (80, Decimal(3)),
+ (81, Decimal(4)),
+ (100, Decimal(4)),
+ ]:
+ self.assertEqual(carrier.compute_weight_price(weight), price)
def suite():
suite = trytond.tests.test_tryton.suite()
- from trytond.modules.product.tests import test_product
- for test in test_product.suite():
- if test not in suite and not isinstance(test, doctest.DocTestCase):
- suite.addTest(test)
- from trytond.modules.currency.tests import test_currency
- for test in test_currency.suite():
- if test not in suite and not isinstance(test, doctest.DocTestCase):
- suite.addTest(test)
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
CarrierWeightTestCase))
suite.addTests(doctest.DocFileSuite('scenario_carrier_weight.rst',
- setUp=doctest_setup, tearDown=doctest_teardown, encoding='utf-8',
+ setUp=doctest_setup, tearDown=doctest_teardown, encoding='utf-8',
+ checker=doctest_checker,
optionflags=doctest.REPORT_ONLY_FIRST_FAILURE))
return suite
diff --git a/tryton.cfg b/tryton.cfg
index 31df445..91b647a 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.8.0
+version=4.0.0
depends:
carrier
company
diff --git a/trytond_carrier_weight.egg-info/PKG-INFO b/trytond_carrier_weight.egg-info/PKG-INFO
index 018e016..c1b9708 100644
--- a/trytond_carrier_weight.egg-info/PKG-INFO
+++ b/trytond_carrier_weight.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond-carrier-weight
-Version: 3.8.0
+Version: 4.0.0
Summary: Tryton module to add cost method "on weight" on carrier
Home-page: http://www.tryton.org/
Author: Tryton
Author-email: issue_tracker at tryton.org
License: GPL-3
-Download-URL: http://downloads.tryton.org/3.8/
+Download-URL: http://downloads.tryton.org/4.0/
Description: trytond_carrier_weight
======================
@@ -54,6 +54,8 @@ Classifier: Intended Audience :: Legal Industry
Classifier: Intended Audience :: Manufacturing
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Natural Language :: Bulgarian
+Classifier: Natural Language :: Catalan
+Classifier: Natural Language :: Chinese (Simplified)
Classifier: Natural Language :: Czech
Classifier: Natural Language :: Dutch
Classifier: Natural Language :: English
@@ -67,6 +69,9 @@ Classifier: Natural Language :: Slovenian
Classifier: Natural Language :: Spanish
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Office/Business
diff --git a/trytond_carrier_weight.egg-info/SOURCES.txt b/trytond_carrier_weight.egg-info/SOURCES.txt
index d2877d1..72f44df 100644
--- a/trytond_carrier_weight.egg-info/SOURCES.txt
+++ b/trytond_carrier_weight.egg-info/SOURCES.txt
@@ -51,11 +51,13 @@ locale/fr_FR.po
locale/hu_HU.po
locale/it_IT.po
locale/ja_JP.po
+locale/lo_LA.po
locale/lt_LT.po
locale/nl_NL.po
locale/pt_BR.po
locale/ru_RU.po
locale/sl_SI.po
+locale/zh_CN.po
tests/scenario_carrier_weight.rst
trytond_carrier_weight.egg-info/PKG-INFO
trytond_carrier_weight.egg-info/SOURCES.txt
diff --git a/trytond_carrier_weight.egg-info/requires.txt b/trytond_carrier_weight.egg-info/requires.txt
index 81e00bb..bf3345a 100644
--- a/trytond_carrier_weight.egg-info/requires.txt
+++ b/trytond_carrier_weight.egg-info/requires.txt
@@ -1,6 +1,6 @@
-trytond_carrier >= 3.8, < 3.9
-trytond_company >= 3.8, < 3.9
-trytond_currency >= 3.8, < 3.9
-trytond_product >= 3.8, < 3.9
-trytond_product_measurements >= 3.8, < 3.9
-trytond >= 3.8, < 3.9
\ No newline at end of file
+trytond_carrier >= 4.0, < 4.1
+trytond_company >= 4.0, < 4.1
+trytond_currency >= 4.0, < 4.1
+trytond_product >= 4.0, < 4.1
+trytond_product_measurements >= 4.0, < 4.1
+trytond >= 4.0, < 4.1
\ No newline at end of file
--
tryton-modules-carrier-weight
More information about the tryton-debian-vcs
mailing list