blob: 49fa14dc9b7069ceeb7c42be6a14c7a91a58337a [file] [log] [blame]
Anand Doshia742d322012-08-06 20:03:49 +05301from __future__ import unicode_literals
Anand Doshi8ce2ac32012-08-06 19:53:31 +05302def execute():
3 """sync supplier quotatoin and create supplier quotation mappers"""
4 from webnotes.model.sync import sync
5 sync('buying', 'supplier_quotation')
6 sync('buying', 'supplier_quotation_item')
7 sync('buying', 'purchase_request')
8 sync('buying', 'purchase_request_item')
9 sync('buying', 'purchase_order')
10 sync('buying', 'purchase_order_item')
11
12 from webnotes.modules import reload_doc
Anand Doshi236cc172013-02-18 13:49:15 +053013 reload_doc('buying', 'DocType Mapper', 'Material Request-Supplier Quotation')
Anand Doshi8ce2ac32012-08-06 19:53:31 +053014 reload_doc('buying', 'DocType Mapper', 'Supplier Quotation-Purchase Order')
15