From 508147aa709a936acbb7a7d0d988660ea553d58c Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Fri, 28 Apr 2023 10:23:50 +0700 Subject: add outgoing and incoming qty product --- indoteknik_custom/__manifest__.py | 1 + indoteknik_custom/views/product_product.xml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 indoteknik_custom/views/product_product.xml (limited to 'indoteknik_custom') diff --git a/indoteknik_custom/__manifest__.py b/indoteknik_custom/__manifest__.py index df74375f..c6b20e38 100755 --- a/indoteknik_custom/__manifest__.py +++ b/indoteknik_custom/__manifest__.py @@ -72,6 +72,7 @@ 'views/automatic_purchase.xml', 'views/raja_ongkir.xml', 'views/procurement_monitoring_detail.xml', + 'views/product_product.xml', 'report/report.xml', 'report/report_banner_banner.xml', 'report/report_banner_banner2.xml', diff --git a/indoteknik_custom/views/product_product.xml b/indoteknik_custom/views/product_product.xml new file mode 100644 index 00000000..d3ef3e15 --- /dev/null +++ b/indoteknik_custom/views/product_product.xml @@ -0,0 +1,16 @@ + + + + + Product Product + product.product + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3 From 9a293f7f718e5536dfaf57926657ad1d6dd5c581 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Fri, 28 Apr 2023 13:47:19 +0700 Subject: add field for top banner in flash sale --- indoteknik_custom/models/product_pricelist.py | 1 + indoteknik_custom/views/product_pricelist.xml | 3 +++ 2 files changed, 4 insertions(+) (limited to 'indoteknik_custom') diff --git a/indoteknik_custom/models/product_pricelist.py b/indoteknik_custom/models/product_pricelist.py index a309945d..2edaeb80 100644 --- a/indoteknik_custom/models/product_pricelist.py +++ b/indoteknik_custom/models/product_pricelist.py @@ -14,6 +14,7 @@ class ProductPricelist(models.Model): ('all', 'For All User'), ('registered_user', 'Only for Registered User') ], string='Flashsale Option') + banner_top = fields.Binary(string='Banner Top') class ProductPricelistItem(models.Model): diff --git a/indoteknik_custom/views/product_pricelist.xml b/indoteknik_custom/views/product_pricelist.xml index 4cf06e18..0ad9e200 100644 --- a/indoteknik_custom/views/product_pricelist.xml +++ b/indoteknik_custom/views/product_pricelist.xml @@ -17,6 +17,9 @@ +