diff --git a/nfu_ecommerce/README.rst b/nfu_ecommerce/README.rst index 0de0aae..a29e6f0 100644 --- a/nfu_ecommerce/README.rst +++ b/nfu_ecommerce/README.rst @@ -52,6 +52,7 @@ Changelog :1.3.1: Remove Max Qty from first page :1.3.2: Add decimal to ribbon :1.4.0: Add credit warning and avoid debts option +:1.4.0: Add credit to portal details Bug Tracker =========== diff --git a/nfu_ecommerce/__manifest__.py b/nfu_ecommerce/__manifest__.py index 7c57cdc..d905766 100644 --- a/nfu_ecommerce/__manifest__.py +++ b/nfu_ecommerce/__manifest__.py @@ -4,13 +4,14 @@ "author": "BAKEUP", "website": "https://www.bakeup.org", "category": "website", - "version": "16.0.1.4.0", + "version": "16.0.1.4.1", "depends": [ "sale_product_configurator", "website_sale", "nfu_sale_order_batch_packaging", "website_decimal_quantity", "nfu_product_bnn_attributes", + "nfu_account", ], "data": [ "views/res_config_settings_views.xml", @@ -20,6 +21,7 @@ "assets": { "web.assets_frontend": [ "nfu_ecommerce/static/src/js/*.js", + "nfu_ecommerce/static/src/scss/portal.scss", ] }, "license": "LGPL-3", diff --git a/nfu_ecommerce/readme/HISTORY.rst b/nfu_ecommerce/readme/HISTORY.rst index 6682056..84536ad 100644 --- a/nfu_ecommerce/readme/HISTORY.rst +++ b/nfu_ecommerce/readme/HISTORY.rst @@ -7,4 +7,5 @@ :1.3.0: Adapt new Open Packages format and add indicators :1.3.1: Remove Max Qty from first page :1.3.2: Add decimal to ribbon -:1.4.0: Add credit warning and avoid debts option \ No newline at end of file +:1.4.0: Add credit warning and avoid debts option +:1.4.0: Add credit to portal details \ No newline at end of file diff --git a/nfu_ecommerce/static/description/index.html b/nfu_ecommerce/static/description/index.html index 7a80701..5b211ff 100644 --- a/nfu_ecommerce/static/description/index.html +++ b/nfu_ecommerce/static/description/index.html @@ -421,6 +421,8 @@ adjustes the uom quantitiy 1.4.0:Add credit warning and avoid debts option +1.4.0:Add credit to portal details + diff --git a/nfu_ecommerce/static/src/scss/portal.scss b/nfu_ecommerce/static/src/scss/portal.scss new file mode 100644 index 0000000..86b1076 --- /dev/null +++ b/nfu_ecommerce/static/src/scss/portal.scss @@ -0,0 +1,16 @@ +.o_portal_wrap { + .o_portal_my_details_credit { + position: relative; + .fa { + @include o-position-absolute(0, $left: 0); + line-height: $line-height-base; + + + span, + + div { + display: block; + // FontAwesome '.fa-fw' fixed-with + margin + padding-left: 1.28571429em + 0.5em; + } + } + } +} diff --git a/nfu_ecommerce/views/templates.xml b/nfu_ecommerce/views/templates.xml index 7d356df..3a54fc0 100644 --- a/nfu_ecommerce/views/templates.xml +++ b/nfu_ecommerce/views/templates.xml @@ -285,4 +285,18 @@ +