Files
tryton/product.py
T

14 lines
384 B
Python

#This file is part of Tryton. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
from trytond.model import ModelView, ModelSQL, fields
import datetime
class Product(ModelSQL, ModelView):
_name = "product.product"
order_points = fields.One2Many(
'stock.order_point', 'product', 'Order Points')
Product()