diff --git a/netforce_clinic/migrations/__init__.py b/netforce_clinic/migrations/__init__.py index d628d8f..4647e40 100644 --- a/netforce_clinic/migrations/__init__.py +++ b/netforce_clinic/migrations/__init__.py @@ -1,3 +1,3 @@ #from . import clinic_setting -#from . import conv_bal -from . import repost_invoice +from . import conv_bal +#from . import repost_invoice diff --git a/netforce_clinic/models/conv_bal.py b/netforce_clinic/models/conv_bal.py index 6023d6e..0f12683 100644 --- a/netforce_clinic/models/conv_bal.py +++ b/netforce_clinic/models/conv_bal.py @@ -54,7 +54,7 @@ class ConvBal(Model): else: get_model("account.invoice").create(vals) - def import_sale_file(self,ids,context): + def _import_sale_file(self,ids,context): obj=self.browse(ids)[0] path=get_file_path(obj.file) data=open(path).read()