sync offline sales invoices from the POS

This commit is contained in:
Rohit Waghchaure 2016-10-04 12:46:37 +05:30
parent 6f1d012b65
commit 82be020ae9

View File

@ -106,11 +106,15 @@ erpnext.pos.PointOfSale = erpnext.taxes_and_totals.extend({
me.get_data_from_server(function(){
me.load_data(false);
me.make_customer();
me.make_item_list(false);
me.make_item_list(true);
me.set_missing_values();
})
});
this.page.add_menu_item(__("Sync Offline Invoices"), function(){
me.sync_sales_invoice()
});
this.page.add_menu_item(__("POS Profile"), function() {
frappe.set_route('List', 'POS Profile');
});