mirror of
https://github.com/NaN-tic/trytond-product_purchase_sequence.git
synced 2023-12-14 04:02:54 +01:00
Add python 3 support
This commit is contained in:
parent
b3d321796a
commit
c6454d1be7
2 changed files with 2 additions and 3 deletions
|
@ -5,10 +5,10 @@ from trytond.model import fields
|
|||
from trytond.pool import PoolMeta
|
||||
|
||||
__all__ = ['Configuration']
|
||||
__metaclass__ = PoolMeta
|
||||
|
||||
|
||||
class Configuration:
|
||||
__metaclass__ = PoolMeta
|
||||
__name__ = 'product.configuration'
|
||||
purchasable_sequence = fields.Property(fields.Many2One('ir.sequence',
|
||||
'Purchasable Sequence', domain=[
|
||||
|
|
|
@ -4,11 +4,10 @@
|
|||
from trytond.pool import Pool, PoolMeta
|
||||
|
||||
__all__ = ['Product']
|
||||
__metaclass__ = PoolMeta
|
||||
|
||||
|
||||
class Product:
|
||||
'Product Product'
|
||||
__metaclass__ = PoolMeta
|
||||
__name__ = 'product.product'
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Reference in a new issue