# HG changeset patch
# User Sergi Almacellas Abellana <sergi@koolpi.com>
# Date 1655294745 -7200
#      Wed Jun 15 14:05:45 2022 +0200
# Node ID 9aa136e65d7652c370b0715629607425ad54e5e1
# Parent  2120f026ab26050c3bdfb1dc2d7e8ebbcc14b71f
Use Many2Many field for Professional Specialties

diff -r 2120f026ab26 -r 9aa136e65d76 tryton/health/health.py
--- a/tryton/health/health.py	Wed Jun 08 18:59:35 2022 +0100
+++ b/tryton/health/health.py	Wed Jun 15 14:05:45 2022 +0200
@@ -1795,8 +1795,8 @@
 
     code = fields.Char('LICENSE ID', help='License ID')
 
-    specialties = fields.One2Many(
-        'gnuhealth.hp_specialty', 'name', 'Specialties')
+    specialties = fields.Many2Many(
+        'gnuhealth.hp_specialty', 'name', 'specialty', 'Specialties')
 
     info = fields.Text('Extra info')
 
