Skip to content

Commit

Permalink
[MIG] stock_picking_employee: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
deeniiz committed Feb 6, 2025
1 parent 4864126 commit 6d96b46
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 15 deletions.
57 changes: 47 additions & 10 deletions stock_picking_employee/README.rst
Original file line number Diff line number Diff line change
@@ -1,26 +1,63 @@
.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: https://www.gnu.org/licenses/agpl
:alt: License: AGPL-3

======================
Stock picking employee
======================

This module adds employees on picking on picking
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:db1236bd7568287f8774f2eb87fce2a01ede8d13154f98b1e57bead829292314
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-NuoBiT%2Fodoo--addons-lightgray.png?logo=github
:target: https://github.com/NuoBiT/odoo-addons/tree/17.0/stock_picking_employee
:alt: NuoBiT/odoo-addons

|badge1| |badge2| |badge3|

Adds employees on picking

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues
<https://github.com/nuobit/odoo-addons/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.
Bugs are tracked on `GitHub Issues <https://github.com/NuoBiT/odoo-addons/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/NuoBiT/odoo-addons/issues/new?body=module:%20stock_picking_employee%0Aversion:%2017.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
-------

* NuoBiT Solutions SL

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

* Eric Antones <eantones@nuobit.com>
- `NuoBiT <https://www.nuobit.com>`__:

- Eric Antones eantones@nuobit.com
- Deniz Gallo dgallo@nuobit.com

Maintainers
-----------

This module is part of the `NuoBiT/odoo-addons <https://github.com/NuoBiT/odoo-addons/tree/17.0/stock_picking_employee>`_ project on GitHub.

You are welcome to contribute.
5 changes: 3 additions & 2 deletions stock_picking_employee/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Copyright NuoBiT Solutions, S.L. (<https://www.nuobit.com>)
# Eric Antones <eantones@nuobit.com>
# Copyright 2025 NuoBiT - Deniz Gallo <dgallo@nuobit.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

{
"name": "Stock picking employee",
"summary": "Adds employees on picking",
"author": "NuoBiT Solutions, S.L., Eric Antones",
"author": "NuoBiT Solutions SL",
"category": "Warehouse",
"version": "14.0.1.0.0",
"version": "17.0.0.0.0",
"license": "AGPL-3",
"website": "https://github.com/NuoBiT/odoo-addons",
"depends": ["stock", "hr"],
Expand Down
2 changes: 1 addition & 1 deletion stock_picking_employee/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)

from . import models
from . import stock_picking
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from odoo import fields, models


class Location(models.Model):
class StockPicking(models.Model):
_inherit = "stock.picking"

employee_ids = fields.Many2many(
Expand Down
3 changes: 3 additions & 0 deletions stock_picking_employee/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- [NuoBiT](https://www.nuobit.com):
- Eric Antones <eantones@nuobit.com>
- Deniz Gallo <dgallo@nuobit.com>
1 change: 1 addition & 0 deletions stock_picking_employee/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Adds employees on picking
3 changes: 2 additions & 1 deletion stock_picking_employee/views/stock_picking_views.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright NuoBiT Solutions, S.L. (<https://www.nuobit.com>)
Eric Antones <eantones@nuobit.com>
# Copyright 2025 NuoBiT - Deniz Gallo <dgallo@nuobit.com>
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) -->
<odoo>
<record id="stock_picking_view_form_inherit_employee" model="ir.ui.view">
Expand All @@ -14,8 +15,8 @@
>
<field
name="employee_ids"
attrs="{'readonly': [('state', '!=', 'draft')]}"
widget="many2many_tags"
readonly="state != 'draft'"
/>
</xpath>
</field>
Expand Down

0 comments on commit 6d96b46

Please sign in to comment.