diff --git a/nfu_ekg_stock/README.rst b/nfu_ekg_stock/README.rst new file mode 100644 index 0000000..fd08dd9 --- /dev/null +++ b/nfu_ekg_stock/README.rst @@ -0,0 +1,62 @@ +============= +NFU EKG Stock +============= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:4dfaea54e4d01502b433eb5c0dcca409a5fbe2c3f175e29382a19230343183c9 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png + :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-bruecksen%2Fife_nfu-lightgray.png?logo=github + :target: https://github.com/bruecksen/ife_nfu/tree/16.0/nfu_ekg_stock + :alt: bruecksen/ife_nfu + +|badge1| |badge2| |badge3| + +This module adds EKG-specific stock c functionalities for the "Nachschub für uns"-Project +- small delivery slips + +**Table of contents** + +.. contents:: + :local: + +Changelog +========= + + +:1.0.0: Initial module. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* BAKEUP + +Maintainers +~~~~~~~~~~~ + +This module is part of the `bruecksen/ife_nfu `_ project on GitHub. + +You are welcome to contribute. diff --git a/nfu_ekg_stock/__init__.py b/nfu_ekg_stock/__init__.py new file mode 100644 index 0000000..0650744 --- /dev/null +++ b/nfu_ekg_stock/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/nfu_ekg_stock/__manifest__.py b/nfu_ekg_stock/__manifest__.py new file mode 100644 index 0000000..6ae67aa --- /dev/null +++ b/nfu_ekg_stock/__manifest__.py @@ -0,0 +1,13 @@ +{ + "name": "NFU EKG Stock", + "summary": "NFU EKG Stock Improvements", + "author": "BAKEUP", + "website": "https://www.bakeup.org", + "category": "Stock", + "version": "16.0.1.0.1", + "depends": ["stock"], + "data": ["views/report_deliveryslip.xml", "report/stock_report_views.xml"], + "assets": {"web.report_assets_common": ["nfu_ekg_stock/static/src/scss/report_stock_rule.scss"]}, + "license": "LGPL-3", + "application": True, +} diff --git a/nfu_ekg_stock/models/__init__.py b/nfu_ekg_stock/models/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/nfu_ekg_stock/readme/CONTRIBUTERS.rst b/nfu_ekg_stock/readme/CONTRIBUTERS.rst new file mode 100644 index 0000000..875b8ba --- /dev/null +++ b/nfu_ekg_stock/readme/CONTRIBUTERS.rst @@ -0,0 +1 @@ +Niels Göttsch \ No newline at end of file diff --git a/nfu_ekg_stock/readme/DESCRIPTION.rst b/nfu_ekg_stock/readme/DESCRIPTION.rst new file mode 100644 index 0000000..b325f30 --- /dev/null +++ b/nfu_ekg_stock/readme/DESCRIPTION.rst @@ -0,0 +1,2 @@ +This module adds EKG-specific stock c functionalities for the "Nachschub für uns"-Project +- small delivery slips \ No newline at end of file diff --git a/nfu_ekg_stock/readme/HISTORY.rst b/nfu_ekg_stock/readme/HISTORY.rst new file mode 100644 index 0000000..962941f --- /dev/null +++ b/nfu_ekg_stock/readme/HISTORY.rst @@ -0,0 +1,2 @@ + +:1.0.0: Initial module. \ No newline at end of file diff --git a/nfu_ekg_stock/report/stock_report_views.xml b/nfu_ekg_stock/report/stock_report_views.xml new file mode 100644 index 0000000..6a524a4 --- /dev/null +++ b/nfu_ekg_stock/report/stock_report_views.xml @@ -0,0 +1,15 @@ + + + + EKG Delivery Slip + stock.picking + qweb-pdf + nfu_ekg_stock.report_ekg_deliveryslip + nfu_ekg_stock.report_ekg_deliveryslip + 'EKG Delivery Slip - %s - %s' % (object.partner_id.name or '', object.name) + + report + + diff --git a/nfu_ekg_stock/static/description/icon.png b/nfu_ekg_stock/static/description/icon.png new file mode 100644 index 0000000..1267712 Binary files /dev/null and b/nfu_ekg_stock/static/description/icon.png differ diff --git a/nfu_ekg_stock/static/description/index.html b/nfu_ekg_stock/static/description/index.html new file mode 100644 index 0000000..c2869fb --- /dev/null +++ b/nfu_ekg_stock/static/description/index.html @@ -0,0 +1,422 @@ + + + + + +NFU EKG Stock + + + +
+

NFU EKG Stock

+ + +

Beta License: LGPL-3 bruecksen/ife_nfu

+

This module adds EKG-specific stock c functionalities for the “Nachschub für uns”-Project +- small delivery slips

+

Table of contents

+ +
+

Changelog

+ +++ + + + +
1.0.0:Initial module.
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • BAKEUP
  • +
+
+
+

Maintainers

+

This module is part of the bruecksen/ife_nfu project on GitHub.

+

You are welcome to contribute.

+
+
+
+ + diff --git a/nfu_ekg_stock/static/src/scss/img/scissors.png b/nfu_ekg_stock/static/src/scss/img/scissors.png new file mode 100644 index 0000000..83cc690 Binary files /dev/null and b/nfu_ekg_stock/static/src/scss/img/scissors.png differ diff --git a/nfu_ekg_stock/static/src/scss/report_stock_rule.scss b/nfu_ekg_stock/static/src/scss/report_stock_rule.scss new file mode 100644 index 0000000..8388c04 --- /dev/null +++ b/nfu_ekg_stock/static/src/scss/report_stock_rule.scss @@ -0,0 +1,11 @@ +td.fit { + width: 0; + white-space: nowrap; + min-width: fit-content; +} + +.scissors { + width: 100%; + border-top: 3px dashed black; + margin-top: -3px; +} diff --git a/nfu_ekg_stock/views/report_deliveryslip.xml b/nfu_ekg_stock/views/report_deliveryslip.xml new file mode 100644 index 0000000..5170aed --- /dev/null +++ b/nfu_ekg_stock/views/report_deliveryslip.xml @@ -0,0 +1,210 @@ + + + + + +