Skip to content

Commit

Permalink
fix: code related changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vikas8600 committed Apr 28, 2023
1 parent f7ecd88 commit ec99301
Show file tree
Hide file tree
Showing 12 changed files with 118 additions and 696 deletions.
16 changes: 0 additions & 16 deletions ecommerce_integrations/public/js/unicommerce/item.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,6 @@ frappe.ui.form.on("Item", {
},
__("Unicommerce")
);
frm.add_custom_button(
__("Resync Item"),
function () {
frappe.call({
method:
"ecommerce_integrations.unicommerce.order.resync_item",
args: {
code: frm.doc.item_code
},
callback: function (r) {
frappe.msgprint("Item will resync in few Minutes!")
},
});
},
__("Unicommerce")
);
}
},
});
2 changes: 1 addition & 1 deletion ecommerce_integrations/unicommerce/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
SHIPPING_PACKAGE_STATUS_FIELD = "unicommerce_shipping_package_status"
IS_COD_CHECKBOX = "unicommerce_is_cod"
SHIPPING_METHOD_FIELD = "unicommerce_shipping_method"

SHIPPIND_ID = "unicommerce_shipment_id"

GRN_STOCK_ENTRY_TYPE = "GRN on Unicommerce"

Expand Down
Loading

0 comments on commit ec99301

Please sign in to comment.