migrate #2
parent
96b089ec8a
commit
4870c1ab2b
|
@ -1,3 +1,3 @@
|
||||||
#from . import clinic_setting
|
#from . import clinic_setting
|
||||||
#from . import conv_bal
|
from . import conv_bal
|
||||||
from . import repost_invoice
|
#from . import repost_invoice
|
||||||
|
|
|
@ -54,7 +54,7 @@ class ConvBal(Model):
|
||||||
else:
|
else:
|
||||||
get_model("account.invoice").create(vals)
|
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]
|
obj=self.browse(ids)[0]
|
||||||
path=get_file_path(obj.file)
|
path=get_file_path(obj.file)
|
||||||
data=open(path).read()
|
data=open(path).read()
|
||||||
|
|
Loading…
Reference in New Issue