Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
129
sale_stock_picking_note/README.rst
Executable file
129
sale_stock_picking_note/README.rst
Executable file
@@ -0,0 +1,129 @@
|
||||
.. image:: https://odoo-community.org/readme-banner-image
|
||||
:target: https://odoo-community.org/get-involved?utm_source=readme
|
||||
:alt: Odoo Community Association
|
||||
|
||||
=======================
|
||||
Sale Stock Picking Note
|
||||
=======================
|
||||
|
||||
..
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:70db86016cb8bff06418928497beb15112aebd120a176f6f327d4fb201deca52
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
.. |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/license-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%2Fsale--workflow-lightgray.png?logo=github
|
||||
:target: https://github.com/OCA/sale-workflow/tree/18.0/sale_stock_picking_note
|
||||
:alt: OCA/sale-workflow
|
||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||
:target: https://translation.odoo-community.org/projects/sale-workflow-18-0/sale-workflow-18-0-sale_stock_picking_note
|
||||
: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/sale-workflow&target_branch=18.0
|
||||
:alt: Try me on Runboat
|
||||
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|
||||
This module extends sales order to include both a external (customer)
|
||||
and internal picking note that will be transferred to the picking.
|
||||
|
||||
**Table of contents**
|
||||
|
||||
.. contents::
|
||||
:local:
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
1. Go to Sales > Orders > Customers.
|
||||
2. Create new customer and set **Picking Internal Note** and **Picking
|
||||
Customer Comments** in *Sales & Purchase* tab.
|
||||
3. Go to Sales > Orders > Orders.
|
||||
4. Create new sale order with storable products and select customer
|
||||
created before.
|
||||
5. Go to *Other information* tab.
|
||||
6. Fields **Picking Internal Note** and **Picking Customer Comments**
|
||||
will be filled with values from customer.
|
||||
7. Can update the **Picking Internal Note** and **Picking Customer
|
||||
Comments** you want to.
|
||||
8. Confirm the Sale Order and go to the created picking.
|
||||
9. On the "Comments" tab, you will see both the internal note and
|
||||
customer comments.
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-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/sale-workflow/issues/new?body=module:%20sale_stock_picking_note%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
|
||||
-------
|
||||
|
||||
* Tecnativa
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
- Tecnativa <https://www.tecnativa.com>
|
||||
|
||||
- Carlos Dauden
|
||||
- David Vidal
|
||||
- João Marques
|
||||
- Víctor Martínez
|
||||
|
||||
- Sudhir Arya <sudhir@erpharbor.com>
|
||||
- Emilio Pascual (`Moduon <https://www.moduon.team/>`__)
|
||||
- Rafael Blasco (`Moduon <https://www.moduon.team/>`__)
|
||||
- Gelo Joga (`Moduon <https://www.moduon.team/>`__)
|
||||
- `Binhex Systems Solutions <https://binhex.cloud/>`__:
|
||||
|
||||
- Deriman Alonso <d.alonso@binhex.cloud>
|
||||
|
||||
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-carlosdauden| image:: https://github.com/carlosdauden.png?size=40px
|
||||
:target: https://github.com/carlosdauden
|
||||
:alt: carlosdauden
|
||||
.. |maintainer-victoralmau| image:: https://github.com/victoralmau.png?size=40px
|
||||
:target: https://github.com/victoralmau
|
||||
:alt: victoralmau
|
||||
.. |maintainer-chienandalu| image:: https://github.com/chienandalu.png?size=40px
|
||||
:target: https://github.com/chienandalu
|
||||
:alt: chienandalu
|
||||
.. |maintainer-EmilioPascual| image:: https://github.com/EmilioPascual.png?size=40px
|
||||
:target: https://github.com/EmilioPascual
|
||||
:alt: EmilioPascual
|
||||
|
||||
Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:
|
||||
|
||||
|maintainer-carlosdauden| |maintainer-victoralmau| |maintainer-chienandalu| |maintainer-EmilioPascual|
|
||||
|
||||
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/18.0/sale_stock_picking_note>`_ project on GitHub.
|
||||
|
||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||
1
sale_stock_picking_note/__init__.py
Executable file
1
sale_stock_picking_note/__init__.py
Executable file
@@ -0,0 +1 @@
|
||||
from . import models
|
||||
22
sale_stock_picking_note/__manifest__.py
Executable file
22
sale_stock_picking_note/__manifest__.py
Executable file
@@ -0,0 +1,22 @@
|
||||
# Copyright 2018 Tecnativa - Carlos Dauden
|
||||
# Copyright 2021 Tecnativa - Víctor Martínez
|
||||
# Copyright 2023 Moduon Team S.L.
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
{
|
||||
"name": "Sale Stock Picking Note",
|
||||
"summary": "Add picking note in sale and purchase order",
|
||||
"version": "18.0.1.1.0",
|
||||
"category": "Sales",
|
||||
"website": "https://github.com/OCA/sale-workflow",
|
||||
"author": "Tecnativa, Odoo Community Association (OCA)",
|
||||
"maintainers": ["carlosdauden", "victoralmau", "chienandalu", "EmilioPascual"],
|
||||
"license": "AGPL-3",
|
||||
"depends": ["sale_stock"],
|
||||
"data": [
|
||||
"views/sale_order_view.xml",
|
||||
"views/stock_picking_view.xml",
|
||||
"views/report_deliveryslip.xml",
|
||||
"views/res_partner_view.xml",
|
||||
],
|
||||
"installable": True,
|
||||
}
|
||||
100
sale_stock_picking_note/i18n/ca.po
Executable file
100
sale_stock_picking_note/i18n/ca.po
Executable file
@@ -0,0 +1,100 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * sale_stock_picking_note
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2020-09-01 13:00+0000\n"
|
||||
"Last-Translator: brendapaniagua <brenda.paniagua@qubiq.es>\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: ca\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 3.10\n"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.report_delivery_document_customer_note
|
||||
msgid ""
|
||||
"<strong>Customer Comments:</strong>\n"
|
||||
" <br/>"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_picking_form
|
||||
msgid "Comments"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_picking_form
|
||||
msgid "Comments that will be printed in the delivery slip"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_res_partner
|
||||
msgid "Contact"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_stock_picking__customer_note
|
||||
msgid "Customer Comments"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_stock_picking__note
|
||||
msgid "Notes"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_partner__picking_customer_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_users__picking_customer_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_sale_order__picking_customer_note
|
||||
msgid "Picking Customer Comments"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_partner__picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_users__picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_sale_order__picking_note
|
||||
msgid "Picking Internal Note"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_partner_form_inherit_partner_picking_note
|
||||
msgid "Picking customer notes..."
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_partner_form_inherit_partner_picking_note
|
||||
msgid "Picking notes..."
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_sale_order
|
||||
#, fuzzy
|
||||
msgid "Sales Order"
|
||||
msgstr "Comanda de venda"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_partner__picking_customer_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_users__picking_customer_note
|
||||
msgid ""
|
||||
"The notes will be added to the sales order andpickings and will be printed "
|
||||
"on the delivery slip."
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_partner__picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_users__picking_note
|
||||
msgid ""
|
||||
"The notes will be added to the sales order andpickings but will not be "
|
||||
"printed on the delivery slip."
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_stock_picking
|
||||
msgid "Transfer"
|
||||
msgstr ""
|
||||
101
sale_stock_picking_note/i18n/de.po
Executable file
101
sale_stock_picking_note/i18n/de.po
Executable file
@@ -0,0 +1,101 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * sale_stock_picking_note
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2024-04-09 22:38+0000\n"
|
||||
"Last-Translator: jappi00 <jappi2000@ewetel.net>\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: de\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: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.report_delivery_document_customer_note
|
||||
msgid ""
|
||||
"<strong>Customer Comments:</strong>\n"
|
||||
" <br/>"
|
||||
msgstr ""
|
||||
"<strong>Kunden Kommentare:</strong>\n"
|
||||
" <br/>"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_picking_form
|
||||
msgid "Comments"
|
||||
msgstr "Kommentare"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_picking_form
|
||||
msgid "Comments that will be printed in the delivery slip"
|
||||
msgstr "Kommentare die auf dem Lieferschein abgedruckt werden"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_res_partner
|
||||
msgid "Contact"
|
||||
msgstr "Kontakt"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_stock_picking__customer_note
|
||||
msgid "Customer Comments"
|
||||
msgstr "Kunden Kommentare"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_stock_picking__note
|
||||
msgid "Notes"
|
||||
msgstr "Notizen"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_partner__picking_customer_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_users__picking_customer_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_sale_order__picking_customer_note
|
||||
msgid "Picking Customer Comments"
|
||||
msgstr "Kundenkommentare für Lieferung"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_partner__picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_users__picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_sale_order__picking_note
|
||||
msgid "Picking Internal Note"
|
||||
msgstr "Interne Notiz für Lieferung"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_partner_form_inherit_partner_picking_note
|
||||
msgid "Picking customer notes..."
|
||||
msgstr "Kommissionierungsnotizen für den Kunden..."
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_partner_form_inherit_partner_picking_note
|
||||
msgid "Picking notes..."
|
||||
msgstr "Kommissionsnotizen..."
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_sale_order
|
||||
msgid "Sales Order"
|
||||
msgstr "Verkaufsauftrag"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_partner__picking_customer_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_users__picking_customer_note
|
||||
msgid ""
|
||||
"The notes will be added to the sales order andpickings and will be printed "
|
||||
"on the delivery slip."
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_partner__picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_users__picking_note
|
||||
msgid ""
|
||||
"The notes will be added to the sales order andpickings but will not be "
|
||||
"printed on the delivery slip."
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_stock_picking
|
||||
msgid "Transfer"
|
||||
msgstr "Bewegung"
|
||||
102
sale_stock_picking_note/i18n/es.po
Executable file
102
sale_stock_picking_note/i18n/es.po
Executable file
@@ -0,0 +1,102 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * sale_stock_picking_note
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 11.0c\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-12-11 12:33+0000\n"
|
||||
"PO-Revision-Date: 2023-12-11 13:37+0100\n"
|
||||
"Last-Translator: Emilio Pascual <emilio@moduom.team>\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\n"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.report_delivery_document_customer_note
|
||||
msgid ""
|
||||
"<strong>Customer Comments:</strong>\n"
|
||||
" <br/>"
|
||||
msgstr ""
|
||||
"<strong>Comentarios de cliente:</strong>\n"
|
||||
" <br/>"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_picking_form
|
||||
msgid "Comments"
|
||||
msgstr "Comentarios"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_picking_form
|
||||
msgid "Comments that will be printed in the delivery slip"
|
||||
msgstr "Comentarios que se imprimirán en el albarán de entrega"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_res_partner
|
||||
msgid "Contact"
|
||||
msgstr "Contacto"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_stock_picking__customer_note
|
||||
msgid "Customer Comments"
|
||||
msgstr "Comentarios de cliente"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_stock_picking__note
|
||||
msgid "Notes"
|
||||
msgstr "Notas"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_partner__picking_customer_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_users__picking_customer_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_sale_order__picking_customer_note
|
||||
msgid "Picking Customer Comments"
|
||||
msgstr "Comentarios de albarán"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_partner__picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_users__picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_sale_order__picking_note
|
||||
msgid "Picking Internal Note"
|
||||
msgstr "Notas internas de albarán"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_partner_form_inherit_partner_picking_note
|
||||
msgid "Picking customer notes..."
|
||||
msgstr "Comentarios de albarán..."
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_partner_form_inherit_partner_picking_note
|
||||
msgid "Picking notes..."
|
||||
msgstr "Notas internas de albarán..."
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_sale_order
|
||||
msgid "Sales Order"
|
||||
msgstr "Pedidos de venta"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_partner__picking_customer_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_users__picking_customer_note
|
||||
msgid ""
|
||||
"The notes will be added to the sales order andpickings and will be printed "
|
||||
"on the delivery slip."
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_partner__picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_users__picking_note
|
||||
msgid ""
|
||||
"The notes will be added to the sales order andpickings but will not be "
|
||||
"printed on the delivery slip."
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_stock_picking
|
||||
msgid "Transfer"
|
||||
msgstr "Transferencia"
|
||||
101
sale_stock_picking_note/i18n/fr.po
Executable file
101
sale_stock_picking_note/i18n/fr.po
Executable file
@@ -0,0 +1,101 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * sale_stock_picking_note
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2024-03-13 13:35+0000\n"
|
||||
"Last-Translator: MorganeGoujon <morgane@scalizer.fr>\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: fr\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: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.report_delivery_document_customer_note
|
||||
msgid ""
|
||||
"<strong>Customer Comments:</strong>\n"
|
||||
" <br/>"
|
||||
msgstr ""
|
||||
"<strong>Commentaires client:</strong>\n"
|
||||
" <br/>"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_picking_form
|
||||
msgid "Comments"
|
||||
msgstr "Commentaires"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_picking_form
|
||||
msgid "Comments that will be printed in the delivery slip"
|
||||
msgstr "Commentaires qui seront imprimés sur le rapport de livraison"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_res_partner
|
||||
msgid "Contact"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_stock_picking__customer_note
|
||||
msgid "Customer Comments"
|
||||
msgstr "Commentaires client"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_stock_picking__note
|
||||
msgid "Notes"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_partner__picking_customer_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_users__picking_customer_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_sale_order__picking_customer_note
|
||||
msgid "Picking Customer Comments"
|
||||
msgstr "Commentaires clients du transfert"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_partner__picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_users__picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_sale_order__picking_note
|
||||
msgid "Picking Internal Note"
|
||||
msgstr "Notes internes du transfert"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_partner_form_inherit_partner_picking_note
|
||||
msgid "Picking customer notes..."
|
||||
msgstr "Notes client de transfert..."
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_partner_form_inherit_partner_picking_note
|
||||
msgid "Picking notes..."
|
||||
msgstr "Notes de transfert..."
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_sale_order
|
||||
msgid "Sales Order"
|
||||
msgstr "Bons de commande"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_partner__picking_customer_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_users__picking_customer_note
|
||||
msgid ""
|
||||
"The notes will be added to the sales order andpickings and will be printed "
|
||||
"on the delivery slip."
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_partner__picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_users__picking_note
|
||||
msgid ""
|
||||
"The notes will be added to the sales order andpickings but will not be "
|
||||
"printed on the delivery slip."
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_stock_picking
|
||||
msgid "Transfer"
|
||||
msgstr "Transfert"
|
||||
105
sale_stock_picking_note/i18n/it.po
Executable file
105
sale_stock_picking_note/i18n/it.po
Executable file
@@ -0,0 +1,105 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * sale_stock_picking_note
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 16.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2024-06-24 13:40+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: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.report_delivery_document_customer_note
|
||||
msgid ""
|
||||
"<strong>Customer Comments:</strong>\n"
|
||||
" <br/>"
|
||||
msgstr ""
|
||||
"<strong>Commenti cliente:</strong>\n"
|
||||
" <br/>"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_picking_form
|
||||
msgid "Comments"
|
||||
msgstr "Commenti"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_picking_form
|
||||
msgid "Comments that will be printed in the delivery slip"
|
||||
msgstr "Commenti che verranno stampati nella bolla di consegna"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_res_partner
|
||||
msgid "Contact"
|
||||
msgstr "Contatto"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_stock_picking__customer_note
|
||||
msgid "Customer Comments"
|
||||
msgstr "Commenti cliente"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_stock_picking__note
|
||||
msgid "Notes"
|
||||
msgstr "Note"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_partner__picking_customer_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_users__picking_customer_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_sale_order__picking_customer_note
|
||||
msgid "Picking Customer Comments"
|
||||
msgstr "Commenti cliente trasferimento"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_partner__picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_users__picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_sale_order__picking_note
|
||||
msgid "Picking Internal Note"
|
||||
msgstr "Nota interna prelievo"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_partner_form_inherit_partner_picking_note
|
||||
msgid "Picking customer notes..."
|
||||
msgstr "Note prelievo cliente..."
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_partner_form_inherit_partner_picking_note
|
||||
msgid "Picking notes..."
|
||||
msgstr "Note prelievo..."
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_sale_order
|
||||
msgid "Sales Order"
|
||||
msgstr "Ordine di vendita"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_partner__picking_customer_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_users__picking_customer_note
|
||||
msgid ""
|
||||
"The notes will be added to the sales order andpickings and will be printed "
|
||||
"on the delivery slip."
|
||||
msgstr ""
|
||||
"Le note verranno aggiunte all'ordine di vendita e ai prelievi e verranno "
|
||||
"stampate sulla bolla di consegna."
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_partner__picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_users__picking_note
|
||||
msgid ""
|
||||
"The notes will be added to the sales order andpickings but will not be "
|
||||
"printed on the delivery slip."
|
||||
msgstr ""
|
||||
"Le note verranno aggiunte all'ordine di vendita e prelievi ma non stampate "
|
||||
"sulla bolla di consegna."
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_stock_picking
|
||||
msgid "Transfer"
|
||||
msgstr "Trasferimento"
|
||||
96
sale_stock_picking_note/i18n/sale_stock_picking_note.pot
Executable file
96
sale_stock_picking_note/i18n/sale_stock_picking_note.pot
Executable file
@@ -0,0 +1,96 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * sale_stock_picking_note
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 18.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: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.report_delivery_document_customer_note
|
||||
msgid ""
|
||||
"<strong>Customer Comments:</strong>\n"
|
||||
" <br/>"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_picking_form
|
||||
msgid "Comments"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_picking_form
|
||||
msgid "Comments that will be printed in the delivery slip"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_res_partner
|
||||
msgid "Contact"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_stock_picking__customer_note
|
||||
msgid "Customer Comments"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_stock_picking__note
|
||||
msgid "Notes"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_partner__picking_customer_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_users__picking_customer_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_sale_order__picking_customer_note
|
||||
msgid "Picking Customer Comments"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_partner__picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_users__picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_sale_order__picking_note
|
||||
msgid "Picking Internal Note"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_partner_form_inherit_partner_picking_note
|
||||
msgid "Picking customer notes..."
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_partner_form_inherit_partner_picking_note
|
||||
msgid "Picking notes..."
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_sale_order
|
||||
msgid "Sales Order"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_partner__picking_customer_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_users__picking_customer_note
|
||||
msgid ""
|
||||
"The notes will be added to the sales order andpickings and will be printed "
|
||||
"on the delivery slip."
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_partner__picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_users__picking_note
|
||||
msgid ""
|
||||
"The notes will be added to the sales order andpickings but will not be "
|
||||
"printed on the delivery slip."
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_stock_picking
|
||||
msgid "Transfer"
|
||||
msgstr ""
|
||||
105
sale_stock_picking_note/i18n/tr.po
Executable file
105
sale_stock_picking_note/i18n/tr.po
Executable file
@@ -0,0 +1,105 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * sale_stock_picking_note
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 18.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2025-06-18 13:14+0000\n"
|
||||
"Last-Translator: Betül Öğmen <betulo@eska.biz>\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: tr\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 5.10.4\n"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.report_delivery_document_customer_note
|
||||
msgid ""
|
||||
"<strong>Customer Comments:</strong>\n"
|
||||
" <br/>"
|
||||
msgstr ""
|
||||
"<strong>Müşteri Notları:</strong>\n"
|
||||
" <br/>"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_picking_form
|
||||
msgid "Comments"
|
||||
msgstr "Notlar"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_picking_form
|
||||
msgid "Comments that will be printed in the delivery slip"
|
||||
msgstr "Teslimat Makbuzunda basılacak notlar"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_res_partner
|
||||
msgid "Contact"
|
||||
msgstr "Kontak"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_stock_picking__customer_note
|
||||
msgid "Customer Comments"
|
||||
msgstr "Müşteri Notları"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_stock_picking__note
|
||||
msgid "Notes"
|
||||
msgstr "Notlar"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_partner__picking_customer_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_users__picking_customer_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_sale_order__picking_customer_note
|
||||
msgid "Picking Customer Comments"
|
||||
msgstr "Transfer Müşteri Notları"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_partner__picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_res_users__picking_note
|
||||
#: model:ir.model.fields,field_description:sale_stock_picking_note.field_sale_order__picking_note
|
||||
msgid "Picking Internal Note"
|
||||
msgstr "Transfer İç Notlar"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_partner_form_inherit_partner_picking_note
|
||||
msgid "Picking customer notes..."
|
||||
msgstr "Transfer müşteri notları..."
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model_terms:ir.ui.view,arch_db:sale_stock_picking_note.view_partner_form_inherit_partner_picking_note
|
||||
msgid "Picking notes..."
|
||||
msgstr "Transfer notları..."
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_sale_order
|
||||
msgid "Sales Order"
|
||||
msgstr "Satış Siparişi"
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_partner__picking_customer_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_users__picking_customer_note
|
||||
msgid ""
|
||||
"The notes will be added to the sales order andpickings and will be printed "
|
||||
"on the delivery slip."
|
||||
msgstr ""
|
||||
"Satış siparişine ve transfere eklenecek notlar Teslimat Makbuzunda "
|
||||
"gösterilecektir."
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_partner__picking_note
|
||||
#: model:ir.model.fields,help:sale_stock_picking_note.field_res_users__picking_note
|
||||
msgid ""
|
||||
"The notes will be added to the sales order andpickings but will not be "
|
||||
"printed on the delivery slip."
|
||||
msgstr ""
|
||||
"Satış siparişine ve transfere eklenecek notlar Teslimat Makbuzunda "
|
||||
"gösterilmeyecektir."
|
||||
|
||||
#. module: sale_stock_picking_note
|
||||
#: model:ir.model,name:sale_stock_picking_note.model_stock_picking
|
||||
msgid "Transfer"
|
||||
msgstr "Aktarım"
|
||||
3
sale_stock_picking_note/models/__init__.py
Executable file
3
sale_stock_picking_note/models/__init__.py
Executable file
@@ -0,0 +1,3 @@
|
||||
from . import res_partner
|
||||
from . import sale_order
|
||||
from . import stock_picking
|
||||
22
sale_stock_picking_note/models/res_partner.py
Executable file
22
sale_stock_picking_note/models/res_partner.py
Executable file
@@ -0,0 +1,22 @@
|
||||
# Copyright 2023 Moduon Team S.L.
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0)
|
||||
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class Partner(models.Model):
|
||||
_inherit = "res.partner"
|
||||
|
||||
picking_note = fields.Html(
|
||||
string="Picking Internal Note",
|
||||
help="The notes will be added to the sales order and"
|
||||
"pickings but will not be printed "
|
||||
"on the delivery slip.",
|
||||
)
|
||||
picking_customer_note = fields.Text(
|
||||
string="Picking Customer Comments",
|
||||
help="The notes will be added to the sales order and"
|
||||
"pickings and will be printed on "
|
||||
"the delivery slip.",
|
||||
)
|
||||
36
sale_stock_picking_note/models/sale_order.py
Executable file
36
sale_stock_picking_note/models/sale_order.py
Executable file
@@ -0,0 +1,36 @@
|
||||
# Copyright 2018 Tecnativa - Carlos Dauden
|
||||
# Copyright 2021 Tecnativa - Víctor Martínez
|
||||
# Copyright 2023 Moduon Team S.L.
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import api, fields, models
|
||||
|
||||
|
||||
class SaleOrder(models.Model):
|
||||
_inherit = "sale.order"
|
||||
|
||||
picking_note = fields.Html(
|
||||
string="Picking Internal Note",
|
||||
compute="_compute_picking_notes",
|
||||
store=True,
|
||||
readonly=False,
|
||||
)
|
||||
picking_customer_note = fields.Text(
|
||||
string="Picking Customer Comments",
|
||||
compute="_compute_picking_notes",
|
||||
store=True,
|
||||
readonly=False,
|
||||
)
|
||||
|
||||
@api.depends("partner_id", "partner_shipping_id")
|
||||
def _compute_picking_notes(self):
|
||||
for order in self:
|
||||
if order.state not in {"sale", "cancel"}:
|
||||
order.picking_note = (
|
||||
order.partner_shipping_id.picking_note
|
||||
or order.partner_id.picking_note
|
||||
)
|
||||
order.picking_customer_note = (
|
||||
order.partner_shipping_id.picking_customer_note
|
||||
or order.partner_id.picking_customer_note
|
||||
)
|
||||
41
sale_stock_picking_note/models/stock_picking.py
Executable file
41
sale_stock_picking_note/models/stock_picking.py
Executable file
@@ -0,0 +1,41 @@
|
||||
# Copyright 2021 Tecnativa - Víctor Martínez
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import api, fields, models
|
||||
|
||||
|
||||
class StockPicking(models.Model):
|
||||
_inherit = "stock.picking"
|
||||
|
||||
customer_note = fields.Text(
|
||||
string="Customer Comments",
|
||||
compute="_compute_picking_notes",
|
||||
store=True,
|
||||
readonly=False,
|
||||
)
|
||||
note = fields.Html(
|
||||
compute="_compute_picking_notes",
|
||||
store=True,
|
||||
readonly=False,
|
||||
)
|
||||
|
||||
@api.depends(
|
||||
"sale_id",
|
||||
"sale_id.picking_note",
|
||||
"sale_id.picking_customer_note",
|
||||
"partner_id",
|
||||
"picking_type_id",
|
||||
)
|
||||
def _compute_picking_notes(self):
|
||||
for picking in self:
|
||||
if picking.picking_type_id.code != "incoming" and picking.state not in (
|
||||
"done",
|
||||
"cancel",
|
||||
):
|
||||
picking.note = (
|
||||
picking.sale_id.picking_note or picking.partner_id.picking_note
|
||||
)
|
||||
picking.customer_note = (
|
||||
picking.sale_id.picking_customer_note
|
||||
or picking.partner_id.picking_customer_note
|
||||
)
|
||||
3
sale_stock_picking_note/pyproject.toml
Executable file
3
sale_stock_picking_note/pyproject.toml
Executable file
@@ -0,0 +1,3 @@
|
||||
[build-system]
|
||||
requires = ["whool"]
|
||||
build-backend = "whool.buildapi"
|
||||
11
sale_stock_picking_note/readme/CONTRIBUTORS.md
Executable file
11
sale_stock_picking_note/readme/CONTRIBUTORS.md
Executable file
@@ -0,0 +1,11 @@
|
||||
- Tecnativa \<<https://www.tecnativa.com>\>
|
||||
- Carlos Dauden
|
||||
- David Vidal
|
||||
- João Marques
|
||||
- Víctor Martínez
|
||||
- Sudhir Arya \<<sudhir@erpharbor.com>\>
|
||||
- Emilio Pascual ([Moduon](https://www.moduon.team/))
|
||||
- Rafael Blasco ([Moduon](https://www.moduon.team/))
|
||||
- Gelo Joga ([Moduon](https://www.moduon.team/))
|
||||
- [Binhex Systems Solutions](https://binhex.cloud/):
|
||||
- Deriman Alonso \<<d.alonso@binhex.cloud>\>
|
||||
2
sale_stock_picking_note/readme/DESCRIPTION.md
Executable file
2
sale_stock_picking_note/readme/DESCRIPTION.md
Executable file
@@ -0,0 +1,2 @@
|
||||
This module extends sales order to include both a external (customer)
|
||||
and internal picking note that will be transferred to the picking.
|
||||
14
sale_stock_picking_note/readme/USAGE.md
Executable file
14
sale_stock_picking_note/readme/USAGE.md
Executable file
@@ -0,0 +1,14 @@
|
||||
1. Go to Sales \> Orders \> Customers.
|
||||
2. Create new customer and set **Picking Internal Note** and **Picking
|
||||
Customer Comments** in *Sales & Purchase* tab.
|
||||
3. Go to Sales \> Orders \> Orders.
|
||||
4. Create new sale order with storable products and select customer
|
||||
created before.
|
||||
5. Go to *Other information* tab.
|
||||
6. Fields **Picking Internal Note** and **Picking Customer Comments**
|
||||
will be filled with values from customer.
|
||||
7. Can update the **Picking Internal Note** and **Picking Customer
|
||||
Comments** you want to.
|
||||
8. Confirm the Sale Order and go to the created picking.
|
||||
9. On the "Comments" tab, you will see both the internal note and
|
||||
customer comments.
|
||||
BIN
sale_stock_picking_note/static/description/icon.png
Executable file
BIN
sale_stock_picking_note/static/description/icon.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
466
sale_stock_picking_note/static/description/index.html
Executable file
466
sale_stock_picking_note/static/description/index.html
Executable file
@@ -0,0 +1,466 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
|
||||
<title>README.rst</title>
|
||||
<style type="text/css">
|
||||
|
||||
/*
|
||||
:Author: David Goodger (goodger@python.org)
|
||||
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
|
||||
:Copyright: This stylesheet has been placed in the public domain.
|
||||
|
||||
Default cascading style sheet for the HTML output of Docutils.
|
||||
Despite the name, some widely supported CSS2 features are used.
|
||||
|
||||
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
|
||||
customize this style sheet.
|
||||
*/
|
||||
|
||||
/* used to remove borders from tables and images */
|
||||
.borderless, table.borderless td, table.borderless th {
|
||||
border: 0 }
|
||||
|
||||
table.borderless td, table.borderless th {
|
||||
/* Override padding for "table.docutils td" with "! important".
|
||||
The right padding separates the table cells. */
|
||||
padding: 0 0.5em 0 0 ! important }
|
||||
|
||||
.first {
|
||||
/* Override more specific margin styles with "! important". */
|
||||
margin-top: 0 ! important }
|
||||
|
||||
.last, .with-subtitle {
|
||||
margin-bottom: 0 ! important }
|
||||
|
||||
.hidden {
|
||||
display: none }
|
||||
|
||||
.subscript {
|
||||
vertical-align: sub;
|
||||
font-size: smaller }
|
||||
|
||||
.superscript {
|
||||
vertical-align: super;
|
||||
font-size: smaller }
|
||||
|
||||
a.toc-backref {
|
||||
text-decoration: none ;
|
||||
color: black }
|
||||
|
||||
blockquote.epigraph {
|
||||
margin: 2em 5em ; }
|
||||
|
||||
dl.docutils dd {
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Uncomment (and remove this text!) to get bold-faced definition list terms
|
||||
dl.docutils dt {
|
||||
font-weight: bold }
|
||||
*/
|
||||
|
||||
div.abstract {
|
||||
margin: 2em 5em }
|
||||
|
||||
div.abstract p.topic-title {
|
||||
font-weight: bold ;
|
||||
text-align: center }
|
||||
|
||||
div.admonition, div.attention, div.caution, div.danger, div.error,
|
||||
div.hint, div.important, div.note, div.tip, div.warning {
|
||||
margin: 2em ;
|
||||
border: medium outset ;
|
||||
padding: 1em }
|
||||
|
||||
div.admonition p.admonition-title, div.hint p.admonition-title,
|
||||
div.important p.admonition-title, div.note p.admonition-title,
|
||||
div.tip p.admonition-title {
|
||||
font-weight: bold ;
|
||||
font-family: sans-serif }
|
||||
|
||||
div.attention p.admonition-title, div.caution p.admonition-title,
|
||||
div.danger p.admonition-title, div.error p.admonition-title,
|
||||
div.warning p.admonition-title, .code .error {
|
||||
color: red ;
|
||||
font-weight: bold ;
|
||||
font-family: sans-serif }
|
||||
|
||||
/* Uncomment (and remove this text!) to get reduced vertical space in
|
||||
compound paragraphs.
|
||||
div.compound .compound-first, div.compound .compound-middle {
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
div.compound .compound-last, div.compound .compound-middle {
|
||||
margin-top: 0.5em }
|
||||
*/
|
||||
|
||||
div.dedication {
|
||||
margin: 2em 5em ;
|
||||
text-align: center ;
|
||||
font-style: italic }
|
||||
|
||||
div.dedication p.topic-title {
|
||||
font-weight: bold ;
|
||||
font-style: normal }
|
||||
|
||||
div.figure {
|
||||
margin-left: 2em ;
|
||||
margin-right: 2em }
|
||||
|
||||
div.footer, div.header {
|
||||
clear: both;
|
||||
font-size: smaller }
|
||||
|
||||
div.line-block {
|
||||
display: block ;
|
||||
margin-top: 1em ;
|
||||
margin-bottom: 1em }
|
||||
|
||||
div.line-block div.line-block {
|
||||
margin-top: 0 ;
|
||||
margin-bottom: 0 ;
|
||||
margin-left: 1.5em }
|
||||
|
||||
div.sidebar {
|
||||
margin: 0 0 0.5em 1em ;
|
||||
border: medium outset ;
|
||||
padding: 1em ;
|
||||
background-color: #ffffee ;
|
||||
width: 40% ;
|
||||
float: right ;
|
||||
clear: right }
|
||||
|
||||
div.sidebar p.rubric {
|
||||
font-family: sans-serif ;
|
||||
font-size: medium }
|
||||
|
||||
div.system-messages {
|
||||
margin: 5em }
|
||||
|
||||
div.system-messages h1 {
|
||||
color: red }
|
||||
|
||||
div.system-message {
|
||||
border: medium outset ;
|
||||
padding: 1em }
|
||||
|
||||
div.system-message p.system-message-title {
|
||||
color: red ;
|
||||
font-weight: bold }
|
||||
|
||||
div.topic {
|
||||
margin: 2em }
|
||||
|
||||
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
|
||||
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
|
||||
margin-top: 0.4em }
|
||||
|
||||
h1.title {
|
||||
text-align: center }
|
||||
|
||||
h2.subtitle {
|
||||
text-align: center }
|
||||
|
||||
hr.docutils {
|
||||
width: 75% }
|
||||
|
||||
img.align-left, .figure.align-left, object.align-left, table.align-left {
|
||||
clear: left ;
|
||||
float: left ;
|
||||
margin-right: 1em }
|
||||
|
||||
img.align-right, .figure.align-right, object.align-right, table.align-right {
|
||||
clear: right ;
|
||||
float: right ;
|
||||
margin-left: 1em }
|
||||
|
||||
img.align-center, .figure.align-center, object.align-center {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
table.align-center {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.align-left {
|
||||
text-align: left }
|
||||
|
||||
.align-center {
|
||||
clear: both ;
|
||||
text-align: center }
|
||||
|
||||
.align-right {
|
||||
text-align: right }
|
||||
|
||||
/* reset inner alignment in figures */
|
||||
div.align-right {
|
||||
text-align: inherit }
|
||||
|
||||
/* div.align-center * { */
|
||||
/* text-align: left } */
|
||||
|
||||
.align-top {
|
||||
vertical-align: top }
|
||||
|
||||
.align-middle {
|
||||
vertical-align: middle }
|
||||
|
||||
.align-bottom {
|
||||
vertical-align: bottom }
|
||||
|
||||
ol.simple, ul.simple {
|
||||
margin-bottom: 1em }
|
||||
|
||||
ol.arabic {
|
||||
list-style: decimal }
|
||||
|
||||
ol.loweralpha {
|
||||
list-style: lower-alpha }
|
||||
|
||||
ol.upperalpha {
|
||||
list-style: upper-alpha }
|
||||
|
||||
ol.lowerroman {
|
||||
list-style: lower-roman }
|
||||
|
||||
ol.upperroman {
|
||||
list-style: upper-roman }
|
||||
|
||||
p.attribution {
|
||||
text-align: right ;
|
||||
margin-left: 50% }
|
||||
|
||||
p.caption {
|
||||
font-style: italic }
|
||||
|
||||
p.credits {
|
||||
font-style: italic ;
|
||||
font-size: smaller }
|
||||
|
||||
p.label {
|
||||
white-space: nowrap }
|
||||
|
||||
p.rubric {
|
||||
font-weight: bold ;
|
||||
font-size: larger ;
|
||||
color: maroon ;
|
||||
text-align: center }
|
||||
|
||||
p.sidebar-title {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold ;
|
||||
font-size: larger }
|
||||
|
||||
p.sidebar-subtitle {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold }
|
||||
|
||||
p.topic-title {
|
||||
font-weight: bold }
|
||||
|
||||
pre.address {
|
||||
margin-bottom: 0 ;
|
||||
margin-top: 0 ;
|
||||
font: inherit }
|
||||
|
||||
pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
||||
margin-left: 2em ;
|
||||
margin-right: 2em }
|
||||
|
||||
pre.code .ln { color: gray; } /* line numbers */
|
||||
pre.code, code { background-color: #eeeeee }
|
||||
pre.code .comment, code .comment { color: #5C6576 }
|
||||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
|
||||
pre.code .literal.string, code .literal.string { color: #0C5404 }
|
||||
pre.code .name.builtin, code .name.builtin { color: #352B84 }
|
||||
pre.code .deleted, code .deleted { background-color: #DEB0A1}
|
||||
pre.code .inserted, code .inserted { background-color: #A3D289}
|
||||
|
||||
span.classifier {
|
||||
font-family: sans-serif ;
|
||||
font-style: oblique }
|
||||
|
||||
span.classifier-delimiter {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold }
|
||||
|
||||
span.interpreted {
|
||||
font-family: sans-serif }
|
||||
|
||||
span.option {
|
||||
white-space: nowrap }
|
||||
|
||||
span.pre {
|
||||
white-space: pre }
|
||||
|
||||
span.problematic, pre.problematic {
|
||||
color: red }
|
||||
|
||||
span.section-subtitle {
|
||||
/* font-size relative to parent (h1..h6 element) */
|
||||
font-size: 80% }
|
||||
|
||||
table.citation {
|
||||
border-left: solid 1px gray;
|
||||
margin-left: 1px }
|
||||
|
||||
table.docinfo {
|
||||
margin: 2em 4em }
|
||||
|
||||
table.docutils {
|
||||
margin-top: 0.5em ;
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
table.footnote {
|
||||
border-left: solid 1px black;
|
||||
margin-left: 1px }
|
||||
|
||||
table.docutils td, table.docutils th,
|
||||
table.docinfo td, table.docinfo th {
|
||||
padding-left: 0.5em ;
|
||||
padding-right: 0.5em ;
|
||||
vertical-align: top }
|
||||
|
||||
table.docutils th.field-name, table.docinfo th.docinfo-name {
|
||||
font-weight: bold ;
|
||||
text-align: left ;
|
||||
white-space: nowrap ;
|
||||
padding-left: 0 }
|
||||
|
||||
/* "booktabs" style (no vertical lines) */
|
||||
table.docutils.booktabs {
|
||||
border: 0px;
|
||||
border-top: 2px solid;
|
||||
border-bottom: 2px solid;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table.docutils.booktabs * {
|
||||
border: 0px;
|
||||
}
|
||||
table.docutils.booktabs th {
|
||||
border-bottom: thin solid;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
|
||||
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
|
||||
font-size: 100% }
|
||||
|
||||
ul.auto-toc {
|
||||
list-style-type: none }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="document">
|
||||
|
||||
|
||||
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
|
||||
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
|
||||
</a>
|
||||
<div class="section" id="sale-stock-picking-note">
|
||||
<h1>Sale Stock Picking Note</h1>
|
||||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:70db86016cb8bff06418928497beb15112aebd120a176f6f327d4fb201deca52
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/sale-workflow/tree/18.0/sale_stock_picking_note"><img alt="OCA/sale-workflow" src="https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/sale-workflow-18-0/sale-workflow-18-0-sale_stock_picking_note"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||
<p>This module extends sales order to include both a external (customer)
|
||||
and internal picking note that will be transferred to the picking.</p>
|
||||
<p><strong>Table of contents</strong></p>
|
||||
<div class="contents local topic" id="contents">
|
||||
<ul class="simple">
|
||||
<li><a class="reference internal" href="#usage" id="toc-entry-1">Usage</a></li>
|
||||
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-2">Bug Tracker</a></li>
|
||||
<li><a class="reference internal" href="#credits" id="toc-entry-3">Credits</a><ul>
|
||||
<li><a class="reference internal" href="#authors" id="toc-entry-4">Authors</a></li>
|
||||
<li><a class="reference internal" href="#contributors" id="toc-entry-5">Contributors</a></li>
|
||||
<li><a class="reference internal" href="#maintainers" id="toc-entry-6">Maintainers</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="usage">
|
||||
<h2><a class="toc-backref" href="#toc-entry-1">Usage</a></h2>
|
||||
<ol class="arabic simple">
|
||||
<li>Go to Sales > Orders > Customers.</li>
|
||||
<li>Create new customer and set <strong>Picking Internal Note</strong> and <strong>Picking
|
||||
Customer Comments</strong> in <em>Sales & Purchase</em> tab.</li>
|
||||
<li>Go to Sales > Orders > Orders.</li>
|
||||
<li>Create new sale order with storable products and select customer
|
||||
created before.</li>
|
||||
<li>Go to <em>Other information</em> tab.</li>
|
||||
<li>Fields <strong>Picking Internal Note</strong> and <strong>Picking Customer Comments</strong>
|
||||
will be filled with values from customer.</li>
|
||||
<li>Can update the <strong>Picking Internal Note</strong> and <strong>Picking Customer
|
||||
Comments</strong> you want to.</li>
|
||||
<li>Confirm the Sale Order and go to the created picking.</li>
|
||||
<li>On the “Comments” tab, you will see both the internal note and
|
||||
customer comments.</li>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="section" id="bug-tracker">
|
||||
<h2><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h2>
|
||||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/sale-workflow/issues">GitHub Issues</a>.
|
||||
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
|
||||
<a class="reference external" href="https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_stock_picking_note%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||
</div>
|
||||
<div class="section" id="credits">
|
||||
<h2><a class="toc-backref" href="#toc-entry-3">Credits</a></h2>
|
||||
<div class="section" id="authors">
|
||||
<h3><a class="toc-backref" href="#toc-entry-4">Authors</a></h3>
|
||||
<ul class="simple">
|
||||
<li>Tecnativa</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="contributors">
|
||||
<h3><a class="toc-backref" href="#toc-entry-5">Contributors</a></h3>
|
||||
<ul class="simple">
|
||||
<li>Tecnativa <<a class="reference external" href="https://www.tecnativa.com">https://www.tecnativa.com</a>><ul>
|
||||
<li>Carlos Dauden</li>
|
||||
<li>David Vidal</li>
|
||||
<li>João Marques</li>
|
||||
<li>Víctor Martínez</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Sudhir Arya <<a class="reference external" href="mailto:sudhir@erpharbor.com">sudhir@erpharbor.com</a>></li>
|
||||
<li>Emilio Pascual (<a class="reference external" href="https://www.moduon.team/">Moduon</a>)</li>
|
||||
<li>Rafael Blasco (<a class="reference external" href="https://www.moduon.team/">Moduon</a>)</li>
|
||||
<li>Gelo Joga (<a class="reference external" href="https://www.moduon.team/">Moduon</a>)</li>
|
||||
<li><a class="reference external" href="https://binhex.cloud/">Binhex Systems Solutions</a>:<ul>
|
||||
<li>Deriman Alonso <<a class="reference external" href="mailto:d.alonso@binhex.cloud">d.alonso@binhex.cloud</a>></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="maintainers">
|
||||
<h3><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h3>
|
||||
<p>This module is maintained by the OCA.</p>
|
||||
<a class="reference external image-reference" href="https://odoo-community.org">
|
||||
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
||||
</a>
|
||||
<p>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.</p>
|
||||
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainers</a>:</p>
|
||||
<p><a class="reference external image-reference" href="https://github.com/carlosdauden"><img alt="carlosdauden" src="https://github.com/carlosdauden.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/victoralmau"><img alt="victoralmau" src="https://github.com/victoralmau.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/chienandalu"><img alt="chienandalu" src="https://github.com/chienandalu.png?size=40px" /></a> <a class="reference external image-reference" href="https://github.com/EmilioPascual"><img alt="EmilioPascual" src="https://github.com/EmilioPascual.png?size=40px" /></a></p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/sale-workflow/tree/18.0/sale_stock_picking_note">OCA/sale-workflow</a> project on GitHub.</p>
|
||||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
1
sale_stock_picking_note/tests/__init__.py
Executable file
1
sale_stock_picking_note/tests/__init__.py
Executable file
@@ -0,0 +1 @@
|
||||
from . import test_sale_stock_picking_note
|
||||
112
sale_stock_picking_note/tests/test_sale_stock_picking_note.py
Executable file
112
sale_stock_picking_note/tests/test_sale_stock_picking_note.py
Executable file
@@ -0,0 +1,112 @@
|
||||
# Copyright 2018 Tecnativa - David Vidal
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo.tests import Form
|
||||
|
||||
from odoo.addons.base.tests.common import BaseCommon
|
||||
|
||||
|
||||
class TestSaleStockPickingNote(BaseCommon):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super().setUpClass()
|
||||
cls.partner = cls.env["res.partner"].create(
|
||||
{
|
||||
"name": "Mr. Odoo",
|
||||
"picking_note": "<p>Test note</p>",
|
||||
"picking_customer_note": "Test customer note",
|
||||
}
|
||||
)
|
||||
cls.product = cls.env["product.product"].create(
|
||||
{"name": "Test product", "type": "consu"}
|
||||
)
|
||||
|
||||
def test_01_sale_to_picking_note(self):
|
||||
"""Pass note to picking from SO"""
|
||||
order = self.env["sale.order"].create(
|
||||
{
|
||||
"partner_id": self.partner.id,
|
||||
"order_line": [
|
||||
(0, 0, {"product_id": self.product.id, "product_uom_qty": 1})
|
||||
],
|
||||
}
|
||||
)
|
||||
order.picking_note = "This note goes to the picking..."
|
||||
order.picking_customer_note = "Picking comment"
|
||||
order.action_confirm()
|
||||
self.assertEqual(order.picking_ids[:1].note, order.picking_note)
|
||||
self.assertEqual(
|
||||
order.picking_ids[:1].customer_note, order.picking_customer_note
|
||||
)
|
||||
report = self.env.ref("stock.action_report_delivery")
|
||||
res = str(
|
||||
report._render_qweb_html(
|
||||
"stock.action_report_delivery", order.picking_ids.ids
|
||||
)[0]
|
||||
)
|
||||
self.assertRegex(res, "Picking comment")
|
||||
|
||||
def test_02_sale_to_picking_note(self):
|
||||
sale_order_form = Form(self.env["sale.order"])
|
||||
sale_order_form.partner_id = self.partner
|
||||
with sale_order_form.order_line.new() as line:
|
||||
line.product_id = self.product
|
||||
line.product_uom_qty = 1
|
||||
self.assertEqual(sale_order_form.picking_note, self.partner.picking_note)
|
||||
self.assertEqual(
|
||||
sale_order_form.picking_customer_note, self.partner.picking_customer_note
|
||||
)
|
||||
sale_order = sale_order_form.save()
|
||||
sale_order.action_confirm()
|
||||
self.assertEqual(sale_order.picking_ids[:1].note, self.partner.picking_note)
|
||||
self.assertEqual(
|
||||
sale_order.picking_ids[:1].customer_note,
|
||||
self.partner.picking_customer_note,
|
||||
)
|
||||
report = self.env.ref("stock.action_report_delivery")
|
||||
res = str(
|
||||
report._render_qweb_html(
|
||||
"stock.action_report_delivery", sale_order.picking_ids.ids
|
||||
)[0]
|
||||
)
|
||||
self.assertRegex(res, self.partner.picking_customer_note)
|
||||
|
||||
def test_03_sale_to_picking_note(self):
|
||||
# If create manually a outgoing picking, check if notes are passed
|
||||
picking_out_form = Form(self.env["stock.picking"])
|
||||
picking_out_form.picking_type_id = self.env.ref("stock.picking_type_out")
|
||||
picking_out_form.partner_id = self.partner
|
||||
with picking_out_form.move_ids_without_package.new() as move:
|
||||
move.product_id = self.product
|
||||
move.product_uom_qty = 1
|
||||
self.assertEqual(picking_out_form.note, self.partner.picking_note)
|
||||
self.assertEqual(
|
||||
picking_out_form.customer_note, self.partner.picking_customer_note
|
||||
)
|
||||
picking_out_form.save()
|
||||
report = self.env.ref("stock.action_report_delivery")
|
||||
res = str(
|
||||
report._render_qweb_html(
|
||||
"stock.action_report_delivery", picking_out_form.id
|
||||
)[0]
|
||||
)
|
||||
self.assertRegex(res, self.partner.picking_customer_note)
|
||||
# If create manually a incoming picking, notes are not passed
|
||||
picking_in_form = Form(self.env["stock.picking"])
|
||||
picking_in_form.picking_type_id = self.env.ref("stock.picking_type_in")
|
||||
picking_in_form.partner_id = self.partner
|
||||
with picking_out_form.move_ids_without_package.new() as move:
|
||||
move.product_id = self.product
|
||||
move.product_uom_qty = 1
|
||||
self.assertNotEqual(picking_in_form.note, self.partner.picking_note)
|
||||
self.assertNotEqual(
|
||||
picking_in_form.customer_note, self.partner.picking_customer_note
|
||||
)
|
||||
picking_in_form.save()
|
||||
report = self.env.ref("stock.action_report_delivery")
|
||||
res = str(
|
||||
report._render_qweb_html(
|
||||
"stock.action_report_delivery", picking_in_form.id
|
||||
)[0]
|
||||
)
|
||||
self.assertNotRegex(res, self.partner.picking_customer_note)
|
||||
14
sale_stock_picking_note/views/report_deliveryslip.xml
Executable file
14
sale_stock_picking_note/views/report_deliveryslip.xml
Executable file
@@ -0,0 +1,14 @@
|
||||
<odoo>
|
||||
<template
|
||||
id="report_delivery_document_customer_note"
|
||||
inherit_id="stock.report_delivery_document"
|
||||
>
|
||||
<xpath expr="//table[@name='stock_move_line_table']" position="after">
|
||||
<p t-if="o.customer_note">
|
||||
<strong>Customer Comments:</strong>
|
||||
<br />
|
||||
<span t-field="o.customer_note" />
|
||||
</p>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
24
sale_stock_picking_note/views/res_partner_view.xml
Executable file
24
sale_stock_picking_note/views/res_partner_view.xml
Executable file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2023 Moduon Team S.L.
|
||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl-3.0) -->
|
||||
<odoo>
|
||||
<record id="view_partner_form_inherit_partner_picking_note" model="ir.ui.view">
|
||||
<field name="name">Partner Picking Note</field>
|
||||
<field name="model">res.partner</field>
|
||||
<field name="inherit_id" ref="base.view_partner_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//group[@name='sale']" position="inside">
|
||||
<field
|
||||
name="picking_note"
|
||||
placeholder="Picking notes..."
|
||||
groups="sales_team.group_sale_salesman,stock.group_stock_user"
|
||||
/>
|
||||
<field
|
||||
name="picking_customer_note"
|
||||
placeholder="Picking customer notes..."
|
||||
groups="sales_team.group_sale_salesman,stock.group_stock_user"
|
||||
/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
21
sale_stock_picking_note/views/sale_order_view.xml
Executable file
21
sale_stock_picking_note/views/sale_order_view.xml
Executable file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!-- Copyright 2018 Tecnativa - Carlos Dauden
|
||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||
<odoo>
|
||||
<record id="view_order_form_inherit_sale_stock" model="ir.ui.view">
|
||||
<field name="model">sale.order</field>
|
||||
<field name="inherit_id" ref="sale_stock.view_order_form_inherit_sale_stock" />
|
||||
<field name="arch" type="xml">
|
||||
<group name="sale_shipping" position="inside">
|
||||
<field
|
||||
name="picking_note"
|
||||
readonly="state not in ('draft','sent', 'sale')"
|
||||
/>
|
||||
<field
|
||||
name="picking_customer_note"
|
||||
readonly="state not in ('draft','sent', 'sale')"
|
||||
/>
|
||||
</group>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
21
sale_stock_picking_note/views/stock_picking_view.xml
Executable file
21
sale_stock_picking_note/views/stock_picking_view.xml
Executable file
@@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!-- Copyright 2021 Tecnativa - Víctor Martínez
|
||||
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
|
||||
<odoo>
|
||||
<record id="view_picking_form" model="ir.ui.view">
|
||||
<field name="model">stock.picking</field>
|
||||
<field name="inherit_id" ref="stock.view_picking_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//page[@name='note']" position="attributes">
|
||||
<attribute name="string">Comments</attribute>
|
||||
</xpath>
|
||||
<field name="note" position="after">
|
||||
<field
|
||||
name="customer_note"
|
||||
readonly="state in ('done','cancel')"
|
||||
placeholder="Comments that will be printed in the delivery slip"
|
||||
/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user