diff --git a/setup/stock_picking_partner_note/odoo/addons/stock_picking_partner_note b/setup/stock_picking_partner_note/odoo/addons/stock_picking_partner_note new file mode 120000 index 000000000000..ece9197e64f3 --- /dev/null +++ b/setup/stock_picking_partner_note/odoo/addons/stock_picking_partner_note @@ -0,0 +1 @@ +../../../../stock_picking_partner_note \ No newline at end of file diff --git a/setup/stock_picking_partner_note/setup.py b/setup/stock_picking_partner_note/setup.py new file mode 100644 index 000000000000..28c57bb64031 --- /dev/null +++ b/setup/stock_picking_partner_note/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/stock_picking_partner_note/README.rst b/stock_picking_partner_note/README.rst new file mode 100644 index 000000000000..7cb91cf8742c --- /dev/null +++ b/stock_picking_partner_note/README.rst @@ -0,0 +1,88 @@ +========================== +Stock Picking Partner Note +========================== + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:6b4a55a5fdd412f48d5058ba02b8f222f60cd690468612419b6ce3966c84275c + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github + :target: https://github.com/OCA/stock-logistics-workflow/tree/16.0/stock_picking_partner_note + :alt: OCA/stock-logistics-workflow +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/stock-logistics-workflow-16-0/stock-logistics-workflow-16-0-stock_picking_partner_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/stock-logistics-workflow&target_branch=16.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Allow to record a message for the person in charge of order preparation at the level of the customer, +then have it as a note on the picking transfer. + + + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +* Create partner note types in Inventory > Configuration > Note Types. +* In shipping operation types set field `Partner Note Type`. Only these types will be shown in picking operations notes. +* On contacts add picking notes. + +Bug Tracker +=========== + +Bugs are tracked on `GitHub 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 `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Camptocamp +* BCIM + +Contributors +~~~~~~~~~~~~ + +* Telmo Santos +* Jacques-Etienne Baudoux + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +This module is part of the `OCA/stock-logistics-workflow `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_picking_partner_note/__init__.py b/stock_picking_partner_note/__init__.py new file mode 100644 index 000000000000..0650744f6bc6 --- /dev/null +++ b/stock_picking_partner_note/__init__.py @@ -0,0 +1 @@ +from . import models diff --git a/stock_picking_partner_note/__manifest__.py b/stock_picking_partner_note/__manifest__.py new file mode 100644 index 000000000000..909d3a4e85d9 --- /dev/null +++ b/stock_picking_partner_note/__manifest__.py @@ -0,0 +1,24 @@ +# Copyright 2024 Camptocamp (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +{ + "name": "Stock Picking Partner Note", + "version": "16.0.1.0.0", + "development_status": "Beta", + "category": "Product", + "summary": "Add partner notes on picking", + "author": "Camptocamp, BCIM, Odoo Community Association (OCA)", + "website": "https://github.com/OCA/stock-logistics-workflow", + "license": "AGPL-3", + "depends": ["sale_stock"], + "data": [ + "security/ir.model.access.csv", + "views/res_partner.xml", + "views/stock_picking_note_type.xml", + "views/stock_picking_type.xml", + "views/stock_picking_note.xml", + "views/stock_picking_partner_note_menus.xml", + ], + "installable": True, + "auto_install": False, +} diff --git a/stock_picking_partner_note/i18n/fr.po b/stock_picking_partner_note/i18n/fr.po new file mode 100644 index 000000000000..3c7a4f74ed1d --- /dev/null +++ b/stock_picking_partner_note/i18n/fr.po @@ -0,0 +1,54 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_picking_partner_note +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-02-05 10:49+0000\n" +"PO-Revision-Date: 2024-02-05 10:49+0000\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_partner_note +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note__name +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note_type__name +msgid "Name" +msgstr "Nom" + +#. module: stock_picking_partner_note +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note__note_type_id +msgid "Note Type" +msgstr "Type de note" + +#. module: stock_picking_partner_note +#: model:ir.ui.menu,name:stock_picking_partner_note.stock_picking_note_types_menu_menu +msgid "Note Types" +msgstr "Type de notes" + + +#. module: stock_picking_partner_note +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_type__partner_note_type_ids +msgid "Partner Note Type" +msgstr "Type de note partenaire" + +#. module: stock_picking_partner_note +#: model_terms:ir.ui.view,arch_db:stock_picking_partner_note.view_stock_picking_note_form +msgid "Picking Note" +msgstr "Note d'opération" + +#. module: stock_picking_partner_note +#: model_terms:ir.ui.view,arch_db:stock_picking_partner_note.view_stock_picking_note_type_form +msgid "Picking Note Type" +msgstr "Opération Type de note" + +#. module: stock_picking_partner_note +#: model_terms:ir.ui.view,arch_db:stock_picking_partner_note.view_stock_picking_note_type_tree +msgid "Picking Note Types" +msgstr "Opération Types de note" diff --git a/stock_picking_partner_note/i18n/stock_picking_partner_note.pot b/stock_picking_partner_note/i18n/stock_picking_partner_note.pot new file mode 100644 index 000000000000..afbbce0cdc56 --- /dev/null +++ b/stock_picking_partner_note/i18n/stock_picking_partner_note.pot @@ -0,0 +1,147 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * stock_picking_partner_note +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 16.0+e\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-02-05 10:49+0000\n" +"PO-Revision-Date: 2024-02-05 10:49+0000\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_partner_note +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note__active +msgid "Active" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note__create_uid +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note_type__create_uid +msgid "Created by" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note__create_date +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note_type__create_date +msgid "Created on" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note__display_name +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note_type__display_name +msgid "Display Name" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note__id +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note_type__id +msgid "ID" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note____last_update +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note_type____last_update +msgid "Last Modified on" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note__write_uid +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note_type__write_uid +msgid "Last Updated by" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note__write_date +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note_type__write_date +msgid "Last Updated on" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note__name +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note_type__name +msgid "Name" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note__note_type_id +msgid "Note Type" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.ui.menu,name:stock_picking_partner_note.stock_picking_note_types_menu_menu +msgid "Note Types" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking__note +msgid "Notes" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_type__partner_note_type_ids +msgid "Partner Note Type" +msgstr "" + +#. module: stock_picking_partner_note +#: model_terms:ir.ui.view,arch_db:stock_picking_partner_note.view_stock_picking_note_form +msgid "Picking Note" +msgstr "" + +#. module: stock_picking_partner_note +#: model_terms:ir.ui.view,arch_db:stock_picking_partner_note.view_stock_picking_note_type_form +msgid "Picking Note Type" +msgstr "" + +#. module: stock_picking_partner_note +#: model_terms:ir.ui.view,arch_db:stock_picking_partner_note.view_stock_picking_note_type_tree +msgid "Picking Note Types" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_res_partner__stock_picking_note_ids +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_res_users__stock_picking_note_ids +#: model:ir.ui.menu,name:stock_picking_partner_note.stock_picking_notes_menu +#: model_terms:ir.ui.view,arch_db:stock_picking_partner_note.view_partner_form_inherit +msgid "Picking Notes" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.model,name:stock_picking_partner_note.model_stock_picking_type +msgid "Picking Type" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.model,name:stock_picking_partner_note.model_res_partner +msgid "Res Partner" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.model.fields,field_description:stock_picking_partner_note.field_stock_picking_note_type__sequence +msgid "Sequence" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.model,name:stock_picking_partner_note.model_stock_picking +msgid "Stock Picking" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.actions.act_window,name:stock_picking_partner_note.stock_picking_note_types_act_window +msgid "Stock Picking Note Types" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.model,name:stock_picking_partner_note.model_stock_picking_note +msgid "stock.picking.note" +msgstr "" + +#. module: stock_picking_partner_note +#: model:ir.model,name:stock_picking_partner_note.model_stock_picking_note_type +msgid "stock.picking.note.type" +msgstr "" diff --git a/stock_picking_partner_note/models/__init__.py b/stock_picking_partner_note/models/__init__.py new file mode 100644 index 000000000000..d84a8c844c26 --- /dev/null +++ b/stock_picking_partner_note/models/__init__.py @@ -0,0 +1,5 @@ +from . import stock_picking_note_type +from . import stock_picking_note +from . import stock_picking_type +from . import stock_picking +from . import res_partner diff --git a/stock_picking_partner_note/models/res_partner.py b/stock_picking_partner_note/models/res_partner.py new file mode 100644 index 000000000000..439e070d85c9 --- /dev/null +++ b/stock_picking_partner_note/models/res_partner.py @@ -0,0 +1,14 @@ +# Copyright 2024 Camptocamp (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + + +from odoo import fields, models + + +class ResPartner(models.Model): + _inherit = "res.partner" + + stock_picking_note_ids = fields.Many2many( + comodel_name="stock.picking.note", + string="Picking Notes", + ) diff --git a/stock_picking_partner_note/models/stock_picking.py b/stock_picking_partner_note/models/stock_picking.py new file mode 100644 index 000000000000..652097208aa3 --- /dev/null +++ b/stock_picking_partner_note/models/stock_picking.py @@ -0,0 +1,25 @@ +# Copyright 2024 Camptocamp (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + + +from odoo import api, fields, models + + +class StockPicking(models.Model): + _inherit = "stock.picking" + + note = fields.Html(compute="_compute_note", store=True) + + @api.depends("partner_id") + def _compute_note(self): + for picking in self: + picking_type_note_type_ids = picking.picking_type_id.partner_note_type_ids + picking_notes = picking.partner_id.stock_picking_note_ids.filtered( + lambda n: n.note_type_id in picking_type_note_type_ids + ) + picking_notes = [ + note.name.strip() + for note in picking_notes + if note.name and note.name.strip() + ] + picking.note = "
".join(picking_notes) diff --git a/stock_picking_partner_note/models/stock_picking_note.py b/stock_picking_partner_note/models/stock_picking_note.py new file mode 100644 index 000000000000..aba199a23bbe --- /dev/null +++ b/stock_picking_partner_note/models/stock_picking_note.py @@ -0,0 +1,16 @@ +# Copyright 2024 Camptocamp (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + + +from odoo import fields, models + + +class StockPickingNote(models.Model): + _name = "stock.picking.note" + _description = "Picking Note" + _order = "sequence,name" + + name = fields.Text(required=True) + active = fields.Boolean(default=True) + note_type_id = fields.Many2one("stock.picking.note.type", required=True) + sequence = sequence = fields.Integer(related="note_type_id.sequence", store=True) diff --git a/stock_picking_partner_note/models/stock_picking_note_type.py b/stock_picking_partner_note/models/stock_picking_note_type.py new file mode 100644 index 000000000000..10d5988d4b2e --- /dev/null +++ b/stock_picking_partner_note/models/stock_picking_note_type.py @@ -0,0 +1,14 @@ +# Copyright 2024 Camptocamp (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + + +from odoo import fields, models + + +class StockPickingNoteType(models.Model): + _name = "stock.picking.note.type" + _description = "Picking Note Type" + _order = "sequence,name" + + sequence = fields.Integer() + name = fields.Char(required=True) diff --git a/stock_picking_partner_note/models/stock_picking_type.py b/stock_picking_partner_note/models/stock_picking_type.py new file mode 100644 index 000000000000..291f18f6cb51 --- /dev/null +++ b/stock_picking_partner_note/models/stock_picking_type.py @@ -0,0 +1,15 @@ +# Copyright 2024 Camptocamp (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + + +from odoo import fields, models + + +class StockPickingType(models.Model): + _inherit = "stock.picking.type" + + partner_note_type_ids = fields.Many2many( + "stock.picking.note.type", + help="Type of note with customer preferences on how his products are prepared " + "for delivery.", + ) diff --git a/stock_picking_partner_note/readme/CONFIGURE.rst b/stock_picking_partner_note/readme/CONFIGURE.rst new file mode 100644 index 000000000000..056b7576929c --- /dev/null +++ b/stock_picking_partner_note/readme/CONFIGURE.rst @@ -0,0 +1,3 @@ +* Create partner note types in Inventory > Configuration > Note Types. +* In shipping operation types set field `Partner Note Type`. Only these types will be shown in picking operations notes. +* On contacts add picking notes. diff --git a/stock_picking_partner_note/readme/CONTRIBUTORS.rst b/stock_picking_partner_note/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000000..22612a25009e --- /dev/null +++ b/stock_picking_partner_note/readme/CONTRIBUTORS.rst @@ -0,0 +1,2 @@ +* Telmo Santos +* Jacques-Etienne Baudoux diff --git a/stock_picking_partner_note/readme/DESCRIPTION.rst b/stock_picking_partner_note/readme/DESCRIPTION.rst new file mode 100644 index 000000000000..f5a6ef308b30 --- /dev/null +++ b/stock_picking_partner_note/readme/DESCRIPTION.rst @@ -0,0 +1,4 @@ +Allow to record a message for the person in charge of order preparation at the level of the customer, +then have it as a note on the picking transfer. + + diff --git a/stock_picking_partner_note/security/ir.model.access.csv b/stock_picking_partner_note/security/ir.model.access.csv new file mode 100644 index 000000000000..920562ef3a3b --- /dev/null +++ b/stock_picking_partner_note/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_stock_picking_note_type_manager,stock.picking.note.type manager,model_stock_picking_note_type,stock.group_stock_manager,1,1,1,1 +access_stock_picking_note_user,stock.picking.note user,model_stock_picking_note,sales_team.group_sale_salesman,1,1,1,1 diff --git a/stock_picking_partner_note/static/description/index.html b/stock_picking_partner_note/static/description/index.html new file mode 100644 index 000000000000..7a162bc6c807 --- /dev/null +++ b/stock_picking_partner_note/static/description/index.html @@ -0,0 +1,433 @@ + + + + + + +Stock Picking Partner Note + + + +
+

Stock Picking Partner Note

+ + +

Beta License: AGPL-3 OCA/stock-logistics-workflow Translate me on Weblate Try me on Runboat

+

Allow to record a message for the person in charge of order preparation at the level of the customer, +then have it as a note on the picking transfer.

+

Table of contents

+ +
+

Configuration

+
    +
  • Create partner note types in Inventory > Configuration > Note Types.
  • +
  • In shipping operation types set field Partner Note Type. Only these types will be shown in picking operations notes.
  • +
  • On contacts add picking notes.
  • +
+
+
+

Bug Tracker

+

Bugs are tracked on GitHub 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.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Camptocamp
  • +
  • BCIM
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/stock-logistics-workflow project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/stock_picking_partner_note/tests/__init__.py b/stock_picking_partner_note/tests/__init__.py new file mode 100644 index 000000000000..b25c719d4f0a --- /dev/null +++ b/stock_picking_partner_note/tests/__init__.py @@ -0,0 +1 @@ +from . import test_stock_picking_partner_note diff --git a/stock_picking_partner_note/tests/test_stock_picking_partner_note.py b/stock_picking_partner_note/tests/test_stock_picking_partner_note.py new file mode 100644 index 000000000000..59e554ea5673 --- /dev/null +++ b/stock_picking_partner_note/tests/test_stock_picking_partner_note.py @@ -0,0 +1,44 @@ +# Copyright 2024 Camptocamp (). +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from odoo.tests import Form, common + +from odoo.addons.base.tests.common import DISABLED_MAIL_CONTEXT + + +class StockPickingPartnerNote(common.TransactionCase): + @classmethod + def setUpClass(cls): + super().setUpClass() + cls.env = cls.env["base"].with_context(**DISABLED_MAIL_CONTEXT).env + cls.product_a = cls.env.ref("product.product_product_4") + cls.note_type1 = cls.env["stock.picking.note.type"].create( + {"name": "Note type 1", "sequence": 10} + ) + cls.note_type2 = cls.env["stock.picking.note.type"].create( + {"name": "Note type 2", "sequence": 20} + ) + cls.partner_a = cls.env["res.partner"].create( + { + "name": "Customer A", + "stock_picking_note_ids": [ + (0, 0, {"name": "Note 1 ", "note_type_id": cls.note_type1.id}), + (0, 0, {"name": "Note 2", "note_type_id": cls.note_type2.id}), + (0, 0, {"name": " ", "note_type_id": cls.note_type2.id}), + ], + } + ) + + def test_picking_partner_note(self): + with Form(self.env["sale.order"]) as order_form: + order_form.partner_id = self.partner_a + with order_form.order_line.new() as line_form: + line_form.product_id = self.product_a + line_form.product_uom_qty = 1 + + self.order = order_form.save() + self.order.warehouse_id.out_type_id.partner_note_type_ids = [ + (6, 0, (self.note_type1 | self.note_type2).ids) + ] + self.order.action_confirm() + self.assertIn("

Note 1
Note 2

", self.order.picking_ids[0].note) diff --git a/stock_picking_partner_note/views/res_partner.xml b/stock_picking_partner_note/views/res_partner.xml new file mode 100644 index 000000000000..81cb99253248 --- /dev/null +++ b/stock_picking_partner_note/views/res_partner.xml @@ -0,0 +1,29 @@ + + + + res.partner.form.inherit + res.partner + + + + + + + + + + + + + + + diff --git a/stock_picking_partner_note/views/stock_picking_note.xml b/stock_picking_partner_note/views/stock_picking_note.xml new file mode 100644 index 000000000000..20c27c0a979a --- /dev/null +++ b/stock_picking_partner_note/views/stock_picking_note.xml @@ -0,0 +1,16 @@ + + + + stock.picking.note.form + stock.picking.note + +
+ + + + + +
+
+
+
diff --git a/stock_picking_partner_note/views/stock_picking_note_type.xml b/stock_picking_partner_note/views/stock_picking_note_type.xml new file mode 100644 index 000000000000..8000067f196b --- /dev/null +++ b/stock_picking_partner_note/views/stock_picking_note_type.xml @@ -0,0 +1,33 @@ + + + + stock.picking.note.type.tree + stock.picking.note.type + + + + + + + + + + stock.picking.note.type.form + stock.picking.note.type + +
+ + + +
+
+
+ + + Stock Picking Note Types + stock.picking.note.type + tree,form + [] + {} + +
diff --git a/stock_picking_partner_note/views/stock_picking_partner_note_menus.xml b/stock_picking_partner_note/views/stock_picking_partner_note_menus.xml new file mode 100644 index 000000000000..5b32ff6fcb16 --- /dev/null +++ b/stock_picking_partner_note/views/stock_picking_partner_note_menus.xml @@ -0,0 +1,17 @@ + + + + + diff --git a/stock_picking_partner_note/views/stock_picking_type.xml b/stock_picking_partner_note/views/stock_picking_type.xml new file mode 100644 index 000000000000..39055dcd383f --- /dev/null +++ b/stock_picking_partner_note/views/stock_picking_type.xml @@ -0,0 +1,13 @@ + + + + Operation Types + stock.picking.type + + + + + + + +