Skip to content

Commit

Permalink
[ADD] stock_weighing_auto_create_lot: New module
Browse files Browse the repository at this point in the history
TT47127
  • Loading branch information
chienandalu committed Apr 17, 2024
1 parent b0799fb commit 5c052b1
Show file tree
Hide file tree
Showing 12 changed files with 620 additions and 0 deletions.
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--logistics--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-workflow/tree/15.0/stock_weighing_auto_create_lot
: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-15-0/stock-logistics-workflow-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-logistics-workflow&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-logistics-workflow/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-logistics-workflow/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-logistics-workflow <https://github.com/OCA/stock-logistics-workflow/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-logistics-workflow",
"author": "Tecnativa, Odoo Community Association (OCA)",
"license": "AGPL-3",
"depends": ["stock_weighing", "stock_picking_auto_create_lot"],
"data": ["wizards/weighing_wizard_views.xml"],
}
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

0 comments on commit 5c052b1

Please sign in to comment.