def get_context(context): shipment_context = { "parent_link": "shipments", "parent_title": "Shipments" } shipment_context.update(get_transaction_context("Delivery Note", frappe.form_dict.name)) return context
def get_context(context): invoice_context = frappe._dict({ "parent_link": "invoices", "parent_title": "Invoices" }) invoice_context.update(get_transaction_context("Sales Invoice", frappe.form_dict.name)) modify_status(invoice_context.doc) return invoice_context
def get_context(context): shipment_context = frappe._dict({ "parent_link": "shipments", "parent_title": _("Shipments") }) shipment_context.update(get_transaction_context("Delivery Note", frappe.form_dict.name)) modify_status(shipment_context.doc) return shipment_context
def get_context(context): shipment_context = frappe._dict({ "parent_link": "shipments", "parent_title": "Shipments" }) shipment_context.update( get_transaction_context("Delivery Note", frappe.form_dict.name)) return shipment_context
def get_context(context): order_context = frappe._dict({ "parent_link": "orders", "parent_title": _("My Orders") }) order_context.update(get_transaction_context("Sales Order", frappe.form_dict.name)) modify_status(order_context.doc) return order_context
def get_context(context): invoice_context = frappe._dict({ "parent_link": "invoices", "parent_title": "Invoices" }) invoice_context.update( get_transaction_context("Sales Invoice", frappe.form_dict.name)) modify_status(invoice_context.doc) return invoice_context
def get_context(context): print "in get context" order_context = webnotes._dict({ "parent_link": "orders", "parent_title": "My Orders" }) order_context.update(get_transaction_context("Sales Order", webnotes.form_dict.name)) modify_status(order_context.bean.doc) return order_context
def get_context(context): order_context = frappe._dict({ "parent_link": "orders", "parent_title": "My Orders" }) order_context.update( get_transaction_context("Sales Order", frappe.form_dict.name)) modify_status(order_context.doc) return order_context