mirror of
https://github.com/NaN-tic/trytond-product_purchase_sequence.git
synced 2023-12-14 04:02:54 +01:00
16 lines
554 B
Python
16 lines
554 B
Python
# This file is part product_purchase_sequence module for Tryton.
|
|
# The COPYRIGHT file at the top level of this repository contains
|
|
# the full copyright notices and license terms.
|
|
from trytond.model import fields
|
|
from trytond.pool import PoolMeta
|
|
|
|
__all__ = ['Configuration']
|
|
|
|
|
|
class Configuration:
|
|
__metaclass__ = PoolMeta
|
|
__name__ = 'product.configuration'
|
|
purchasable_sequence = fields.Property(fields.Many2One('ir.sequence',
|
|
'Purchasable Sequence', domain=[
|
|
('code', '=', 'product.product'),
|
|
], required=True))
|