diff --git a/.gitignore b/.gitignore
index 004e817c..03aa910d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,5 @@
.idea
.iml
/app_odoo_customize/_resource
+/app_web_studio
+/web_studio
diff --git a/app_product_sequence/data/product_sequence.xml b/app_product_sequence/data/product_sequence.xml
index 1aae3529..8c920c19 100644
--- a/app_product_sequence/data/product_sequence.xml
+++ b/app_product_sequence/data/product_sequence.xml
@@ -40,6 +40,11 @@
+
+ Sourced Product
+ Set prefix as "S" in link sequence
+
+
Manufactured Product
Set prefix as "D" in link sequence
@@ -50,10 +55,15 @@
Set prefix as "C" in link sequence
-
- Sourced Product
- Set prefix as "S" in link sequence
-
+
+
+
+ internal_type
+ product.template
+ default
+
+
+
diff --git a/app_product_sequence/static/description/index.html b/app_product_sequence/static/description/index.html
index 68d66a88..4ac12cc4 100644
--- a/app_product_sequence/static/description/index.html
+++ b/app_product_sequence/static/description/index.html
@@ -33,15 +33,31 @@
- Sample Rule:
-
- D171100001 for Manufactured Products.
- C171000001 for Components Products.
- S171000001 for Sourced Products.
- 17-year, 10-month.
-
+ Sample Rule: if we create on oct 2017
+
+ -
+ Manufactured Products: M20171100001
+
+ -
+ Components Products: C20171100001
+
+ -
+ Sourced Products: S20171100001
+
+
Sepcial for variants. add [-00?]
+
+ -
+ Products with color[red]: M20171100001-001
+
+ -
+ Products with color[blue]: M20171100001-002
+
+ -
+ Products with color[white]: M20171100001-003
+
+
Installation:
@@ -58,6 +74,54 @@
So it's very normal that the first product variants begin wit ???-002.
And we make a rule that the product variants can only create after you create normal product template.
+ How to use: Very simple
+
+ After installed the app. You can Go to anyone of the menu:
+
+ -
+ Sales->Configuration->Products->Product Internal Type
+
+ -
+ Inventory->Configuration->Products->Product Internal Type
+
+ -
+ Settings->Sequences & Identifiers->Product Internal Type
+
+
+
+
+ You would see the default Product Intertype we create.
+
+
+

+
+
+
+ And create the product and code by yourself.
+
+

+
+
+
+ Notice: The "Sequence Code" Field of sequence must be "product.product"
+
+

+
+
+ Go to Prior to installing this module, if you have any existing products you should ensure they already have
+ a
+ unique reference (or no reference) set.
+ Products with a default_code of '/' or empty will automatically be assigned a code of "!!DP!!" followed
+ by the system id for that product.
+ Otherwise the setting of the unique constraint will fail and the module will fail to install.
+
+ Notice:
+ Odoo product variants is very special.
+ When u create a product(not product template) with attribute, It would delete the first product, which
+ have no attribute.
+ So it's very normal that the first product variants begin wit ???-002.
+ And we make a rule that the product variants can only create after you create normal product template.
+
diff --git a/app_product_sequence/static/description/set3.jpg b/app_product_sequence/static/description/set3.jpg
new file mode 100644
index 00000000..78c9e415
Binary files /dev/null and b/app_product_sequence/static/description/set3.jpg differ
diff --git a/app_product_sequence/static/description/set4.jpg b/app_product_sequence/static/description/set4.jpg
new file mode 100644
index 00000000..f2d148cf
Binary files /dev/null and b/app_product_sequence/static/description/set4.jpg differ
diff --git a/app_product_sequence/static/description/set5.jpg b/app_product_sequence/static/description/set5.jpg
new file mode 100644
index 00000000..2d422293
Binary files /dev/null and b/app_product_sequence/static/description/set5.jpg differ
diff --git a/app_product_sequence/views/product_internal_type_view.xml b/app_product_sequence/views/product_internal_type_view.xml
index 68d49d7d..324ef23b 100644
--- a/app_product_sequence/views/product_internal_type_view.xml
+++ b/app_product_sequence/views/product_internal_type_view.xml
@@ -8,7 +8,7 @@
-
+
@@ -22,9 +22,11 @@
+
+ parent="sale.prod_config_main" sequence="6" groups="base.group_no_one"/>
+
+ parent="stock.menu_product_in_config_stock" sequence="3" groups="base.group_no_one"/>