File: __init__.py

package info (click to toggle)
tinyerp-client 3.4.2-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,832 kB
  • ctags: 1,024
  • sloc: python: 7,566; sh: 2,253; makefile: 81
file content (14 lines) | stat: -rw-r--r-- 341 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import service
import common

def wkf_print(datas):
	datas['nested']=True
	obj = service.LocalService('action.main')
	obj.exec_report('workflow.instance.graph', datas)
	return True

def wkf_print_simple(datas):
	datas['nested']=False
	obj = service.LocalService('action.main')
	obj.exec_report('workflow.instance.graph', datas)
	return True