[fix] [minor] update finished goods against production order
[fix] [minor] additional match condition specific to doctype
Merge remote-tracking branch 'origin/1310'

Conflicts:
	webnotes/model/code.py
	webnotes/widgets/query_builder.py
	webnotes/widgets/reportview.py
[minor] fix in test cases