2012-08-06 14:33:49 +00:00
|
|
|
from __future__ import unicode_literals
|
2013-05-16 10:10:07 +00:00
|
|
|
import webnotes
|
|
|
|
|
2012-08-06 14:23:31 +00:00
|
|
|
def execute():
|
|
|
|
"""sync supplier quotatoin and create supplier quotation mappers"""
|
2013-05-16 09:58:19 +00:00
|
|
|
webnotes.reload_doc('buying', 'doctype', 'supplier_quotation')
|
|
|
|
webnotes.reload_doc('buying', 'doctype', 'supplier_quotation_item')
|
|
|
|
webnotes.reload_doc('buying', 'doctype', 'purchase_order')
|
|
|
|
webnotes.reload_doc('buying', 'doctype', 'purchase_order_item')
|
2012-08-06 14:23:31 +00:00
|
|
|
|
|
|
|
from webnotes.modules import reload_doc
|
2013-02-18 08:19:15 +00:00
|
|
|
reload_doc('buying', 'DocType Mapper', 'Material Request-Supplier Quotation')
|
2012-08-06 14:23:31 +00:00
|
|
|
reload_doc('buying', 'DocType Mapper', 'Supplier Quotation-Purchase Order')
|
|
|
|
|