Skip to content
Closed
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
15 changes: 14 additions & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,19 @@ considered a bad practice. USe always parenthesis to wrap multi-line strings.
* The name of the python file should be the same as the name of the model it using underscores.
For example, if the model is `res.partner`, the file should be named `res_partner.py`.
* Only one model per file.
* The xml view files should be named using the following pattern:
* The XML view files should be named using the following pattern:
`<model>_views.xml`. For example, if the model is `res.partner`, the file should be
named `res_partner_views.xml`.
* In Python code, there should be exactly 2 line between the copyright/license header
and imports and also 2 lines between the imports and the start of the code.
* There should not be a copyright/license header in `__init__.py` files.
* Every python file should have a copyright/license header with this format:
```
# Copyright 2025 Company name - Name1 Lastname1 <email1>
# Copyright Company name - Name2 Lastname2 <email2>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
```
the year can be optional.
* The summary/description on `__manifest__.py` should be consistent with the `readme/DESCRIPTION.md`
* There should be always a readme folder on the root of each module.
* Everything except the `.po` files should be in English.
71 changes: 71 additions & 0 deletions stock_picking_partner_ref/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
===============================
Stock picking partner reference
===============================

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

.. |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/18.0/stock_picking_partner_ref
:alt: NuoBiT/odoo-addons

|badge1| |badge2| |badge3|

This module adds a partner reference 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 to smash it by providing a detailed and welcomed
`feedback <https://github.com/NuoBiT/odoo-addons/issues/new?body=module:%20stock_picking_partner_ref%0Aversion:%2018.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
------------

- `NuoBiT <https://www.nuobit.com>`__:

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

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

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

Current maintainer:

|maintainer-eantones|

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

You are welcome to contribute.
1 change: 1 addition & 0 deletions stock_picking_partner_ref/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
20 changes: 20 additions & 0 deletions stock_picking_partner_ref/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright NuoBiT - 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 partner reference",
"summary": "Adds a partner reference on picking",
"author": "NuoBiT Solutions SL",
"maintainers": ["eantones"],
"category": "Warehouse",
"version": "18.0.1.0.0",
"license": "AGPL-3",
"website": "https://github.com/NuoBiT/odoo-addons",
"depends": [
"stock",
],
"data": [
"views/stock_picking_views.xml",
],
}
1 change: 1 addition & 0 deletions stock_picking_partner_ref/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import stock_picking
11 changes: 11 additions & 0 deletions stock_picking_partner_ref/models/stock_picking.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright 2021 NuoBiT - Eric Antones <eantones@nuobit.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)


from odoo import fields, models

Comment thread
eantones marked this conversation as resolved.

class Location(models.Model):
Comment thread
eantones marked this conversation as resolved.
_inherit = "stock.picking"

partner_ref = fields.Char(string="Partner Reference")
3 changes: 3 additions & 0 deletions stock_picking_partner_ref/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
3 changes: 3 additions & 0 deletions stock_picking_partner_ref/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_partner_ref/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module adds a partner reference on picking
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading