mirror of
https://github.com/NaN-tic/trytond-carrier_send_shipments_seurvalencia.git
synced 2023-12-13 20:40:19 +01:00
Manifest: review code
This commit is contained in:
parent
e621d43cd4
commit
e21fd338b0
|
@ -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')
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue