mirror of
https://github.com/NaN-tic/trytond-systemlogics_modula.git
synced 2023-12-14 04:32:53 +01:00
Add python 3 support
This commit is contained in:
parent
f576ee95f7
commit
42fce0d41e
|
@ -6,10 +6,10 @@ from trytond.model import fields
|
|||
from trytond.pyson import Not, Bool, Eval
|
||||
|
||||
__all__ = ['Location']
|
||||
__metaclass__ = PoolMeta
|
||||
|
||||
|
||||
class Location:
|
||||
__metaclass__ = PoolMeta
|
||||
__name__ = 'stock.location'
|
||||
systemlogics_modula = fields.Boolean('SystemLogics Modula',
|
||||
states={
|
||||
|
|
|
@ -7,10 +7,10 @@ from trytond.wizard import Wizard, StateTransition, StateView, Button
|
|||
from trytond.transaction import Transaction
|
||||
|
||||
__all__ = ['Product', 'SystemlogicsModulaArticoli', 'SystemlogicsModulaArticoliResult']
|
||||
__metaclass__ = PoolMeta
|
||||
|
||||
|
||||
class Product:
|
||||
__metaclass__ = PoolMeta
|
||||
__name__ = 'product.product'
|
||||
|
||||
@classmethod
|
||||
|
|
4
stock.py
4
stock.py
|
@ -9,10 +9,10 @@ from trytond.wizard import Wizard, StateView, Button, StateTransition
|
|||
|
||||
__all__ = ['ShipmentIn', 'ShipmentOut', 'ShipmentInternal',
|
||||
'ShipmentOutSystemlogicsModulaExportStart', 'ShipmentOutSystemlogicsModulaExport']
|
||||
__metaclass__ = PoolMeta
|
||||
|
||||
|
||||
class ShipmentIn:
|
||||
__metaclass__ = PoolMeta
|
||||
__name__ = 'stock.shipment.in'
|
||||
systemlogics_modula = fields.Boolean('SystemLogics Modula')
|
||||
|
||||
|
@ -72,6 +72,7 @@ class ShipmentIn:
|
|||
|
||||
|
||||
class ShipmentOut:
|
||||
__metaclass__ = PoolMeta
|
||||
__name__ = 'stock.shipment.out'
|
||||
systemlogics_modula = fields.Boolean('SystemLogics Modula')
|
||||
systemlogics_modula_completed = fields.Boolean(
|
||||
|
@ -145,6 +146,7 @@ class ShipmentOut:
|
|||
|
||||
|
||||
class ShipmentInternal:
|
||||
__metaclass__ = PoolMeta
|
||||
__name__ = 'stock.shipment.internal'
|
||||
systemlogics_modula = fields.Boolean('SystemLogics Modula')
|
||||
|
||||
|
|
Loading…
Reference in a new issue