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

[15.0][ADD] stock_weighing_auto_create_lot: New module #6

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_weighing_auto_create_lot/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,
)
94 changes: 94 additions & 0 deletions stock_weighing_auto_create_lot/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
==================================
Weighing assistant auto create lot
==================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:bbf5200fbad17a533d96a7cef44d171f3f3a6c3e316341f58816cda27c41e6ca
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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--weighing-lightgray.png?logo=github
:target: https://github.com/OCA/stock-weighing/tree/15.0/stock_weighing_auto_create_lot
:alt: OCA/stock-weighing
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-weighing-15-0/stock-weighing-15-0-stock_weighing_auto_create_lot
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/stock-weighing&target_branch=15.0
:alt: Try me on Runboat

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

Auto-create lots when adding detailed operations from the weight kanban
card.

**Table of contents**

.. contents::
:local:

Configuration
=============

You need to allow to auto-create lots in your operation type. Doing so,
you'll be able to auto-assign a lot when creating a new operation from
the weighing card.

Remeber that you need to go to *Inventory > Configuration > Operation
Types* and set *Auto Create Lot* on in the type you want to.

Also take into account that only products with the *Auto Create Lot*
flag will have this feature. Set it on on the product's form
traceability options.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-weighing/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 <https://github.com/OCA/stock-weighing/issues/new?body=module:%20stock_weighing_auto_create_lot%0Aversion:%2015.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
-------

* Tecnativa

Contributors
------------

- `Tecnativa <https://www.tecnativa.com>`__

- David Vidal
- Sergio Teruel

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.

This module is part of the `OCA/stock-weighing <https://github.com/OCA/stock-weighing/tree/15.0/stock_weighing_auto_create_lot>`_ 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_weighing_auto_create_lot/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import wizards
14 changes: 14 additions & 0 deletions stock_weighing_auto_create_lot/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2024 Tecnativa - David Vidal
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Weighing assistant auto create lot",
"summary": "Allow to create lots from the weighing kanban cards",
"version": "15.0.1.0.0",
"development_status": "Beta",
"category": "Warehouse",
"website": "https://github.com/OCA/stock-weighing",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"depends": ["stock_weighing", "stock_picking_auto_create_lot"],
"data": ["wizards/weighing_wizard_views.xml"],
}
33 changes: 33 additions & 0 deletions stock_weighing_auto_create_lot/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_weighing_auto_create_lot
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-17 11:02+0000\n"
"PO-Revision-Date: 2024-07-17 13:03+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.4.4\n"

#. module: stock_weighing_auto_create_lot
#: model:ir.model,name:stock_weighing_auto_create_lot.model_weighing_wizard
msgid "Record weights over detailed operations"
msgstr "Grabar pesos de las operaciones detalladas"

#. module: stock_weighing_auto_create_lot
#: model:ir.model.fields,field_description:stock_weighing_auto_create_lot.field_weighing_wizard__show_auto_lot_info
msgid "Show Auto Lot Info"
msgstr "Mostrar información de autolote"

#. module: stock_weighing_auto_create_lot
#: model_terms:ir.ui.view,arch_db:stock_weighing_auto_create_lot.weighing_wizard_form_view
msgid "The lot will be created automatically if you don't select any"
msgstr "El lote se creará automáticamente si no selecciona ninguno"
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_weighing_auto_create_lot
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-17 11:02+0000\n"
"PO-Revision-Date: 2024-07-17 11:02+0000\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_weighing_auto_create_lot
#: model:ir.model,name:stock_weighing_auto_create_lot.model_weighing_wizard
msgid "Record weights over detailed operations"
msgstr ""

#. module: stock_weighing_auto_create_lot
#: model:ir.model.fields,field_description:stock_weighing_auto_create_lot.field_weighing_wizard__show_auto_lot_info
msgid "Show Auto Lot Info"
msgstr ""

#. module: stock_weighing_auto_create_lot
#: model_terms:ir.ui.view,arch_db:stock_weighing_auto_create_lot.weighing_wizard_form_view
msgid "The lot will be created automatically if you don't select any"
msgstr ""
8 changes: 8 additions & 0 deletions stock_weighing_auto_create_lot/readme/CONFIGURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
You need to allow to auto-create lots in your operation type. Doing so, you'll be able
to auto-assign a lot when creating a new operation from the weighing card.

Remeber that you need to go to *Inventory > Configuration > Operation Types* and set
*Auto Create Lot* on in the type you want to.

Also take into account that only products with the *Auto Create Lot* flag will have
this feature. Set it on on the product's form traceability options.
3 changes: 3 additions & 0 deletions stock_weighing_auto_create_lot/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- [Tecnativa](https://www.tecnativa.com)
- David Vidal
- Sergio Teruel
1 change: 1 addition & 0 deletions stock_weighing_auto_create_lot/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Auto-create lots when adding detailed operations from the weight kanban card.
Loading
Loading