Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MIG] stock_production_lot_active: Migration to 15.0 #976

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions setup/stock_production_lot_active/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
82 changes: 82 additions & 0 deletions stock_production_lot_active/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
===========================
Stock Production Lot Active
===========================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-workflow/tree/14.0/stock_production_lot_active
:alt: OCA/stock-logistics-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-workflow-14-0/stock-logistics-workflow-14-0-stock_production_lot_active
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/154/14.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

Allow to archive/unarchive a lot.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-workflow/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/stock-logistics-workflow/issues/new?body=module:%20stock_production_lot_active%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* ACSONE SA/NV

Contributors
~~~~~~~~~~~~

* Thomas Binsfeld <thomas.binsfeld@acsone.eu>
* Janik von Rotz <janik.vonrotz@mint-system.ch>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

.. |maintainer-ThomasBinsfeld| image:: https://github.com/ThomasBinsfeld.png?size=40px
:target: https://github.com/ThomasBinsfeld
:alt: ThomasBinsfeld

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-ThomasBinsfeld|

This module is part of the `OCA/stock-logistics-workflow <https://github.com/OCA/stock-logistics-workflow/tree/14.0/stock_production_lot_active>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions stock_production_lot_active/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
17 changes: 17 additions & 0 deletions stock_production_lot_active/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2020 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Stock Production Lot Active",
"summary": """
Allow to archive/unarchive a lot.""",
"version": "15.0.1.0.0",
"development_status": "Beta",
"license": "AGPL-3",
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
"maintainers": ["ThomasBinsfeld"],
"website": "https://github.com/OCA/stock-logistics-workflow",
"depends": ["stock"],
"data": ["views/stock_production_lot.xml"],
"demo": [],
}
45 changes: 45 additions & 0 deletions stock_production_lot_active/i18n/stock_production_lot_active.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_production_lot_active
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: stock_production_lot_active
#: model:ir.model.fields,field_description:stock_production_lot_active.field_stock_production_lot__active
msgid "Active"
msgstr ""

#. module: stock_production_lot_active
#: model_terms:ir.ui.view,arch_db:stock_production_lot_active.stock_production_lot_form_view
#: model_terms:ir.ui.view,arch_db:stock_production_lot_active.stock_production_lot_tree_view
msgid "Archived"
msgstr ""

#. module: stock_production_lot_active
#: model:ir.model.fields,field_description:stock_production_lot_active.field_stock_production_lot__display_name
msgid "Display Name"
msgstr ""

#. module: stock_production_lot_active
#: model:ir.model.fields,field_description:stock_production_lot_active.field_stock_production_lot__id
msgid "ID"
msgstr ""

#. module: stock_production_lot_active
#: model:ir.model.fields,field_description:stock_production_lot_active.field_stock_production_lot____last_update
msgid "Last Modified on"
msgstr ""

#. module: stock_production_lot_active
#: model:ir.model,name:stock_production_lot_active.model_stock_production_lot
msgid "Lot/Serial"
msgstr ""
1 change: 1 addition & 0 deletions stock_production_lot_active/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import stock_production_lot
10 changes: 10 additions & 0 deletions stock_production_lot_active/models/stock_production_lot.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright 2020 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import fields, models


class StockProductionLot(models.Model):
_inherit = "stock.production.lot"

active = fields.Boolean(default=True)
3 changes: 3 additions & 0 deletions stock_production_lot_active/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* Thomas Binsfeld <thomas.binsfeld@acsone.eu>
* Janik von Rotz <janik.vonrotz@mint-system.ch>
* David Montull Guasch <david.montull@bt-group.com>
1 change: 1 addition & 0 deletions stock_production_lot_active/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Allow to archive/unarchive a lot.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading