clinic/netforce_clinic/models/product.py

10 lines
209 B
Python

from netforce.model import Model, fields
class Product(Model):
_inherit="product"
_fields={
'patient_types': fields.Many2Many("clinic.patient.type","Patient Types"),
}
Product.register()