Manifest: review code

This commit is contained in:
resteve 2014-05-28 17:28:12 +02:00
parent 44b0cd7cd1
commit 4adec7c1db
2 changed files with 4 additions and 4 deletions

View File

@ -13,5 +13,5 @@ def register():
ShipmentOut,
module='carrier_send_shipments_seurvalencia', type_='model')
Pool.register(
StockManifest,
CarrierManifest,
module='carrier_send_shipments_seurvalencia', type_='wizard')

View File

@ -4,12 +4,12 @@
from seurvalencia import Picking
from trytond.pool import PoolMeta
__all__ = ['StockManifest']
__all__ = ['CarrierManifest']
__metaclass__ = PoolMeta
class StockManifest:
__name__ = 'stock.manifest'
class CarrierManifest:
__name__ = 'carrier.manifest'
def get_manifest_seurvalencia(self, api, from_date, to_date):
with Picking(api.username, api.password, api.debug) as picking_api: