From 4870c1ab2b7232097e487e470fd2ca7a6826c195 Mon Sep 17 00:00:00 2001 From: "watcha.h@almacom.co.th" Date: Thu, 27 Aug 2015 08:51:30 +0700 Subject: [PATCH] migrate #2 --- netforce_clinic/migrations/__init__.py | 4 ++-- netforce_clinic/models/conv_bal.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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()