blob: 0a1ab35ef9bff7da8b55f5f7c25b87302b4afddf [file] [log] [blame]
Anand Doshia742d322012-08-06 20:03:49 +05301from __future__ import unicode_literals
Anand Doshi6febab92013-05-16 15:40:07 +05302import webnotes
3
Anand Doshi8ce2ac32012-08-06 19:53:31 +05304def execute():
5 """sync supplier quotatoin and create supplier quotation mappers"""
Anand Doshi42218142013-05-16 15:28:19 +05306 webnotes.reload_doc('buying', 'doctype', 'supplier_quotation')
7 webnotes.reload_doc('buying', 'doctype', 'supplier_quotation_item')
Anand Doshi42218142013-05-16 15:28:19 +05308 webnotes.reload_doc('buying', 'doctype', 'purchase_order')
9 webnotes.reload_doc('buying', 'doctype', 'purchase_order_item')
Anand Doshi8ce2ac32012-08-06 19:53:31 +053010
11 from webnotes.modules import reload_doc
Anand Doshi236cc172013-02-18 13:49:15 +053012 reload_doc('buying', 'DocType Mapper', 'Material Request-Supplier Quotation')
Anand Doshi8ce2ac32012-08-06 19:53:31 +053013 reload_doc('buying', 'DocType Mapper', 'Supplier Quotation-Purchase Order')
14