diff --git a/netforce_clinic/layouts/clinic_menu.xml b/netforce_clinic/layouts/clinic_menu.xml index cf82741..d371da5 100644 --- a/netforce_clinic/layouts/clinic_menu.xml +++ b/netforce_clinic/layouts/clinic_menu.xml @@ -49,7 +49,7 @@ - + diff --git a/netforce_clinic/layouts/clinic_prod_list.xml b/netforce_clinic/layouts/clinic_prod_list.xml new file mode 100644 index 0000000..cb175ad --- /dev/null +++ b/netforce_clinic/layouts/clinic_prod_list.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/netforce_clinic/layouts/clinic_prod_search.xml b/netforce_clinic/layouts/clinic_prod_search.xml new file mode 100644 index 0000000..00682d5 --- /dev/null +++ b/netforce_clinic/layouts/clinic_prod_search.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/netforce_clinic/models/cycle.py b/netforce_clinic/models/cycle.py index 870da38..1483d4a 100644 --- a/netforce_clinic/models/cycle.py +++ b/netforce_clinic/models/cycle.py @@ -61,10 +61,8 @@ class Cycle(Model): super().write(ids,vals,**kw) if 'color' in vals.keys(): color=vals['color'] - #old_color=obj.color dom=[] dom.append(['cycle_id','=',obj.id]) - #dom.append(['cycle_color','=',old_color]) for vs in get_model('clinic.visit').search_browse(dom): vs.write({ 'cycle_color': color, diff --git a/setup.py b/setup.py index 5b93df9..fc7b7e0 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python + from netforce.setup import setup setup(