diff --git a/l10n_ro_stock/README.rst b/l10n_ro_stock/README.rst new file mode 100644 index 000000000..2c45970ad --- /dev/null +++ b/l10n_ro_stock/README.rst @@ -0,0 +1,68 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png + :target: https://www.gnu.org/licenses/agpl + :alt: License: AGPL-3 + +=============== +Romania - Stock +=============== + +Ease the process of Consume and Usage Giving - adds location and picking types for every newly created warehouse. +You can also define the location merchandise type, if it's Merchandise in Store or Warehouse. + +Installation +============ + +* clone the branch 11.0 of the repository https://github.com/OCA/l10n-romania +* add the path to this repository in your configuration (addons-path) +* update the module list +* search for "Romania - Stock" in your addons +* install the module + +Usage +===== + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/177/11.0 + +Known issues / Roadmap +====================== + + +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 +======= + +Images +------ + +* Odoo Community Association: `Icon `_. + +Contributors +------------ + +* Fekete Mihai +* Dorin Hongu + +Do not contact contributors directly about support or help with technical issues. + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit https://odoo-community.org. diff --git a/l10n_ro_stock/__init__.py b/l10n_ro_stock/__init__.py new file mode 100644 index 000000000..cde864bae --- /dev/null +++ b/l10n_ro_stock/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +from . import models diff --git a/l10n_ro_stock/__manifest__.py b/l10n_ro_stock/__manifest__.py new file mode 100644 index 000000000..7317e50d9 --- /dev/null +++ b/l10n_ro_stock/__manifest__.py @@ -0,0 +1,19 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + "name": "Romania - Stock", + 'category': 'Localization', + "depends": ['stock'], + 'data': ['views/stock_warehouse_view.xml', + 'views/stock_location_view.xml',], + 'license': 'AGPL-3', + 'version': '11.0.1.0.0', + 'author': 'OdooERP Romania,' + 'Dorin Hongu,' + 'Forest and Biomass Romania,' + 'Odoo Community Association (OCA)', + 'website': 'https://github.com/OCA/l10n-romania', + 'installable': True, + 'development_status': 'Mature', + 'maintainers': ['feketemihai'], +} diff --git a/l10n_ro_stock/models/__init__.py b/l10n_ro_stock/models/__init__.py new file mode 100644 index 000000000..e6c45b76a --- /dev/null +++ b/l10n_ro_stock/models/__init__.py @@ -0,0 +1,3 @@ +from . import stock_location +from . import stock_warehouse + diff --git a/l10n_ro_stock/models/__pycache__/__init__.cpython-36.pyc b/l10n_ro_stock/models/__pycache__/__init__.cpython-36.pyc new file mode 100644 index 000000000..4e7b9b799 Binary files /dev/null and b/l10n_ro_stock/models/__pycache__/__init__.cpython-36.pyc differ diff --git a/l10n_ro_stock/models/__pycache__/stock.cpython-36.pyc b/l10n_ro_stock/models/__pycache__/stock.cpython-36.pyc new file mode 100644 index 000000000..4e4f2cf11 Binary files /dev/null and b/l10n_ro_stock/models/__pycache__/stock.cpython-36.pyc differ diff --git a/l10n_ro_stock/models/__pycache__/stock_location.cpython-36.pyc b/l10n_ro_stock/models/__pycache__/stock_location.cpython-36.pyc new file mode 100644 index 000000000..6d9779b14 Binary files /dev/null and b/l10n_ro_stock/models/__pycache__/stock_location.cpython-36.pyc differ diff --git a/l10n_ro_stock/models/__pycache__/stock_warehouse.cpython-36.pyc b/l10n_ro_stock/models/__pycache__/stock_warehouse.cpython-36.pyc new file mode 100644 index 000000000..a50f200b8 Binary files /dev/null and b/l10n_ro_stock/models/__pycache__/stock_warehouse.cpython-36.pyc differ diff --git a/l10n_ro_stock/models/stock_location.py b/l10n_ro_stock/models/stock_location.py new file mode 100644 index 000000000..658d8ba6f --- /dev/null +++ b/l10n_ro_stock/models/stock_location.py @@ -0,0 +1,19 @@ +# Copyright (C) 2016 Forest and Biomass Romania +# Copyright (C) 2018 Dorin Hongu + + + stock.location.merchandise_type + stock.location + + + + + + + + + + stock.location.merchandise_type.search + stock.location + + + + + + + + + + stock.location.merchandise_type.tree + stock.location + + + + + + + + diff --git a/l10n_ro_stock/views/stock_warehouse_view.xml b/l10n_ro_stock/views/stock_warehouse_view.xml new file mode 100644 index 000000000..2435443d7 --- /dev/null +++ b/l10n_ro_stock/views/stock_warehouse_view.xml @@ -0,0 +1,18 @@ + + + + stock.warehouse.consume + stock.warehouse + + + + + + + + + + + + +