Skip to content
Open
Show file tree
Hide file tree
Changes from 12 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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Available addons
addon | version | maintainers | summary
--- | --- | --- | ---
[stock_picking_report_external_note](stock_picking_report_external_note/) | 19.0.1.0.0 | <a href='https://github.com/Shide'><img src='https://github.com/Shide.png' width='32' height='32' style='border-radius:50%;' alt='Shide'/></a> | Adds a note in Stock Picking shown on external reports like Delivery Slip
[stock_picking_report_salesperson](stock_picking_report_salesperson/) | 19.0.1.0.0 | <a href='https://github.com/Shide'><img src='https://github.com/Shide.png' width='32' height='32' style='border-radius:50%;' alt='Shide'/></a> | Salesperson info in Stock Picking reports
[stock_picking_report_valued](stock_picking_report_valued/) | 19.0.1.0.0 | | Adding Valued Picking on Delivery Slip report
[stock_product_demand_info](stock_product_demand_info/) | 19.0.1.1.0 | <a href='https://github.com/ivantodorovich'><img src='https://github.com/ivantodorovich.png' width='32' height='32' style='border-radius:50%;' alt='ivantodorovich'/></a> | Past demand by configurable periods on product and orderpoint

Expand Down
1 change: 1 addition & 0 deletions setup/_metapackage/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "odoo-addons-oca-stock-logistics-reporting"
version = "19.0.20260317.0"
dependencies = [
"odoo-addon-stock_picking_report_external_note==19.0.*",
"odoo-addon-stock_picking_report_salesperson==19.0.*",
"odoo-addon-stock_picking_report_valued==19.0.*",
"odoo-addon-stock_product_demand_info==19.0.*",
]
Expand Down
110 changes: 110 additions & 0 deletions stock_picking_report_salesperson/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

================================
Stock Picking Report Salesperson
================================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--reporting-lightgray.png?logo=github
:target: https://github.com/OCA/stock-logistics-reporting/tree/19.0/stock_picking_report_salesperson
:alt: OCA/stock-logistics-reporting
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/stock-logistics-reporting-19-0/stock-logistics-reporting-19-0-stock_picking_report_salesperson
: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-reporting&target_branch=19.0
:alt: Try me on Runboat

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

This module displays salesperson info (name) on Delivery Picking type
with a related sale in:

- Delivery Slip report.
- Picking Operations report.

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

Usage
=====

To print Picking reports:

#. Create a Sale with a Salesperson with an Storable product and confirm
it. #. Confirm related Sale Pickings. #. Print Delivery Slip and Picking
Operations on the Delivery picking type.

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

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

* Moduon

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

- Eduardo de Miguel (``Moduon <https://www.moduon.team/>``\ \_\_)

- `Heliconia Solutions Pvt. Ltd. <https://www.heliconia.io>`__

- Bhavesh Heliconia

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-Shide| image:: https://github.com/Shide.png?size=40px
:target: https://github.com/Shide
:alt: Shide

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

|maintainer-Shide|

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

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
23 changes: 23 additions & 0 deletions stock_picking_report_salesperson/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2024 Moduon Team S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0)

{
"name": "Stock Picking Report Salesperson",
"summary": "Salesperson info in Stock Picking reports",
"version": "19.0.1.0.0",
"development_status": "Alpha",
"category": "Inventory/Inventory",
"website": "https://github.com/OCA/stock-logistics-reporting",
"author": "Moduon, Odoo Community Association (OCA)",
"maintainers": ["Shide"],
"license": "LGPL-3",
"application": False,
"installable": True,
"depends": [
"sale_stock",
],
"data": [
"report/report_deliveryslip.xml",
"report/report_stockpicking_operations.xml",
],
}
24 changes: 24 additions & 0 deletions stock_picking_report_salesperson/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_picking_report_salesperson
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-28 11:52+0000\n"
"PO-Revision-Date: 2024-05-28 13:52+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_picking_report_salesperson
#: model_terms:ir.ui.view,arch_db:stock_picking_report_salesperson.report_delivery_document
#: model_terms:ir.ui.view,arch_db:stock_picking_report_salesperson.report_picking
msgid "<strong>Salesperson:</strong>"
msgstr "<strong>Comercial:</strong>"
23 changes: 23 additions & 0 deletions stock_picking_report_salesperson/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_picking_report_salesperson
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-06-04 14:35+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: stock_picking_report_salesperson
#: model_terms:ir.ui.view,arch_db:stock_picking_report_salesperson.report_delivery_document
#: model_terms:ir.ui.view,arch_db:stock_picking_report_salesperson.report_picking
msgid "<strong>Salesperson:</strong>"
msgstr "<strong>Addetto alle vendite:</strong>"
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * stock_picking_report_salesperson
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 19.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_picking_report_salesperson
#: model_terms:ir.ui.view,arch_db:stock_picking_report_salesperson.report_delivery_document
#: model_terms:ir.ui.view,arch_db:stock_picking_report_salesperson.report_picking
msgid "<strong>Salesperson:</strong>"
msgstr ""
3 changes: 3 additions & 0 deletions stock_picking_report_salesperson/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_report_salesperson/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* Eduardo de Miguel (`Moduon <https://www.moduon.team/>`__)
- [Heliconia Solutions Pvt. Ltd.](https://www.heliconia.io)
- Bhavesh Heliconia
4 changes: 4 additions & 0 deletions stock_picking_report_salesperson/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
This module displays salesperson info (name) on Delivery Picking type with a related sale in:

- Delivery Slip report.
- Picking Operations report.
5 changes: 5 additions & 0 deletions stock_picking_report_salesperson/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
To print Picking reports:

#. Create a Sale with a Salesperson with an Storable product and confirm it.
#. Confirm related Sale Pickings.
#. Print Delivery Slip and Picking Operations on the Delivery picking type.
15 changes: 15 additions & 0 deletions stock_picking_report_salesperson/report/report_deliveryslip.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<template id="report_delivery_document" inherit_id="stock.report_delivery_document">
<xpath expr="//div[@id='informations']" position="inside">
<div
t-if="o.picking_type_id.code == 'outgoing' and o.sale_id.user_id"
class="col col-3 mw-100 mb-2"
name="div_salesperson"
>
<strong>Salesperson:</strong>
<p t-field="o.sale_id.user_id.name" class="m-0" />
</div>
</xpath>
</template>
</odoo>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template id="report_picking" inherit_id="stock.report_picking">
<xpath expr="//div[@name='div_origin']/.." position="inside">
<div
t-if="o.picking_type_id.code == 'outgoing' and o.sale_id.user_id"
class="col-auto"
name="div_salesperson"
>
<strong>Salesperson:</strong>
<p t-field="o.sale_id.user_id.name" />
</div>
</xpath>
</template>
</odoo>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading