Fixes in Manage Variants
This commit is contained in:
parent
3f2604eff6
commit
724fd82419
@ -9,3 +9,4 @@ def execute():
|
|||||||
from `tabItem Variant` where parent = %s", d.name, as_dict=1)
|
from `tabItem Variant` where parent = %s", d.name, as_dict=1)
|
||||||
manage_variant.generate_combinations()
|
manage_variant.generate_combinations()
|
||||||
manage_variant.create_variants()
|
manage_variant.create_variants()
|
||||||
|
frappe.delete_doc("doctype", "Item Variant")
|
@ -17,6 +17,13 @@
|
|||||||
"precision": "",
|
"precision": "",
|
||||||
"reqd": 1
|
"reqd": 1
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "section_break_2",
|
||||||
|
"fieldtype": "Section Break",
|
||||||
|
"label": "Item Variant Attributes",
|
||||||
|
"permlevel": 0,
|
||||||
|
"precision": ""
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"allow_on_submit": 0,
|
"allow_on_submit": 0,
|
||||||
"fieldname": "attributes",
|
"fieldname": "attributes",
|
||||||
@ -48,6 +55,7 @@
|
|||||||
{
|
{
|
||||||
"fieldname": "section_break_4",
|
"fieldname": "section_break_4",
|
||||||
"fieldtype": "Section Break",
|
"fieldtype": "Section Break",
|
||||||
|
"label": "Item Variants",
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"precision": ""
|
"precision": ""
|
||||||
},
|
},
|
||||||
@ -55,7 +63,7 @@
|
|||||||
"fieldname": "variants",
|
"fieldname": "variants",
|
||||||
"fieldtype": "Table",
|
"fieldtype": "Table",
|
||||||
"label": "Variants",
|
"label": "Variants",
|
||||||
"options": "Variant Item",
|
"options": "Manage Variants Item",
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"precision": ""
|
"precision": ""
|
||||||
}
|
}
|
||||||
@ -67,7 +75,7 @@
|
|||||||
"is_submittable": 0,
|
"is_submittable": 0,
|
||||||
"issingle": 1,
|
"issingle": 1,
|
||||||
"istable": 0,
|
"istable": 0,
|
||||||
"modified": "2015-05-28 06:18:03.238411",
|
"modified": "2015-06-30 03:18:13.787883",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Stock",
|
"module": "Stock",
|
||||||
"name": "Manage Variants",
|
"name": "Manage Variants",
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
{
|
{
|
||||||
"fieldname": "attributes",
|
"fieldname": "attributes",
|
||||||
"fieldtype": "Text",
|
"fieldtype": "Text",
|
||||||
"hidden": 0,
|
"hidden": 1,
|
||||||
"label": "attributes",
|
"label": "attributes",
|
||||||
"permlevel": 0,
|
"permlevel": 0,
|
||||||
"precision": "",
|
"precision": "",
|
||||||
@ -62,10 +62,10 @@
|
|||||||
"is_submittable": 0,
|
"is_submittable": 0,
|
||||||
"issingle": 0,
|
"issingle": 0,
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"modified": "2015-05-29 02:09:33.622631",
|
"modified": "2015-06-30 03:19:07.548196",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Stock",
|
"module": "Stock",
|
||||||
"name": "Variant Item",
|
"name": "Manage Variants Item",
|
||||||
"name_case": "",
|
"name_case": "",
|
||||||
"owner": "Administrator",
|
"owner": "Administrator",
|
||||||
"permissions": [],
|
"permissions": [],
|
@ -6,5 +6,5 @@ from __future__ import unicode_literals
|
|||||||
import frappe
|
import frappe
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
|
|
||||||
class VariantItem(Document):
|
class ManageVariantsItem(Document):
|
||||||
pass
|
pass
|
Loading…
x
Reference in New Issue
Block a user