diff --git a/ssi_production_lot_qrcode/README.rst b/ssi_production_lot_qrcode/README.rst new file mode 100644 index 0000000..52b9284 --- /dev/null +++ b/ssi_production_lot_qrcode/README.rst @@ -0,0 +1,46 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +===================== +Inventory Lot QR Code +===================== + + +Installation +============ + +To install this module, you need to: + +1. Clone the branch 14.0 of the repository https://github.com/open-synergy/ssi-stock +2. Add the path to this repository in your configuration (addons-path) +3. Update the module list (Must be on developer mode) +4. Go to menu *Apps -> Apps -> Main Apps* +5. Search For *Inventory Lot QR Code* +6. Install the 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 smash it by providing detailed and welcomed feedback. + + +Credits +======= + +Contributors +------------ + +* Usamah + +Maintainer +---------- + +.. image:: https://simetri-sinergi.id/logo.png + :alt: PT. Simetri Sinergi Indonesia + :target: https://simetri-sinergi.id.com + +This module is maintained by the PT. Simetri Sinergi Indonesia. diff --git a/ssi_production_lot_qrcode/__init__.py b/ssi_production_lot_qrcode/__init__.py new file mode 100644 index 0000000..07013e9 --- /dev/null +++ b/ssi_production_lot_qrcode/__init__.py @@ -0,0 +1,7 @@ +# Copyright 2023 OpenSynergy Indonesia +# Copyright 2023 PT. Simetri Sinergi Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import ( + models, +) diff --git a/ssi_production_lot_qrcode/__manifest__.py b/ssi_production_lot_qrcode/__manifest__.py new file mode 100644 index 0000000..3cbdf7f --- /dev/null +++ b/ssi_production_lot_qrcode/__manifest__.py @@ -0,0 +1,19 @@ +# Copyright 2023 OpenSynergy Indonesia +# Copyright 2023 PT. Simetri Sinergi Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + "name": "Inventory Lot QR Code", + "version": "14.0.1.0.0", + "website": "https://simetri-sinergi.id", + "author": "OpenSynergy Indonesia, PT. Simetri Sinergi Indonesia", + "license": "AGPL-3", + "installable": True, + "application": True, + "depends": [ + "ssi_stock", + "ssi_qr_code_mixin", + ], + "data": [], + "demo": [], +} diff --git a/ssi_production_lot_qrcode/models/__init__.py b/ssi_production_lot_qrcode/models/__init__.py new file mode 100644 index 0000000..9b77135 --- /dev/null +++ b/ssi_production_lot_qrcode/models/__init__.py @@ -0,0 +1,5 @@ +# Copyright 2023 OpenSynergy Indonesia +# Copyright 2023 PT. Simetri Sinergi Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import stock_production_lot diff --git a/ssi_production_lot_qrcode/models/stock_production_lot.py b/ssi_production_lot_qrcode/models/stock_production_lot.py new file mode 100644 index 0000000..92cfe6c --- /dev/null +++ b/ssi_production_lot_qrcode/models/stock_production_lot.py @@ -0,0 +1,12 @@ +# Copyright 2023 OpenSynergy Indonesia +# Copyright 2023 PT. Simetri Sinergi Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import models + + +class StockProductionLot(models.Model): + _name = "stock.production.lot" + _inherit = ["stock.production.lot", "mixin.qr_code"] + + _qr_code_create_page = True diff --git a/ssi_production_lot_qrcode/static/description/icon.png b/ssi_production_lot_qrcode/static/description/icon.png new file mode 100644 index 0000000..4c8e112 Binary files /dev/null and b/ssi_production_lot_qrcode/static/description/icon.png differ