From 8ac4b83b2fdce962bbef67ed4c607504b30aa501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20G=C3=B6ttsch?= Date: Thu, 24 Jul 2025 08:06:28 +0200 Subject: [PATCH] [chore] update pre-commits --- sale_order_batch_stock/README.rst | 12 ++++++------ sale_order_batch_stock/models/sale_order_batch.py | 8 ++++++-- sale_order_batch_stock/static/description/index.html | 8 ++++---- 3 files changed, 16 insertions(+), 12 deletions(-) diff --git a/sale_order_batch_stock/README.rst b/sale_order_batch_stock/README.rst index 7e407bb..765f34d 100644 --- a/sale_order_batch_stock/README.rst +++ b/sale_order_batch_stock/README.rst @@ -16,9 +16,9 @@ Sale Order Batch Stock Binding .. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html :alt: License: LGPL-3 -.. |badge3| image:: https://img.shields.io/badge/github-bruecksen%2Fife_nfu-lightgray.png?logo=github - :target: https://github.com/bruecksen/ife_nfu/tree/16.0/sale_order_batch_stock - :alt: bruecksen/ife_nfu +.. |badge3| image:: https://img.shields.io/badge/github-bruecksen%2Fnfu-lightgray.png?logo=github + :target: https://github.com/bruecksen/nfu/tree/16.0/sale_order_batch_stock + :alt: bruecksen/nfu |badge1| |badge2| |badge3| @@ -37,10 +37,10 @@ Changelog Bug Tracker =========== -Bugs are tracked on `GitHub Issues `_. +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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -60,6 +60,6 @@ Contributors Maintainers ~~~~~~~~~~~ -This module is part of the `bruecksen/ife_nfu `_ project on GitHub. +This module is part of the `bruecksen/nfu `_ project on GitHub. You are welcome to contribute. diff --git a/sale_order_batch_stock/models/sale_order_batch.py b/sale_order_batch_stock/models/sale_order_batch.py index ff9a9e8..ef245d2 100644 --- a/sale_order_batch_stock/models/sale_order_batch.py +++ b/sale_order_batch_stock/models/sale_order_batch.py @@ -7,8 +7,12 @@ STATES = [("open", "Open"), ("close", "Close")] class SaleOrderBatch(models.Model): _inherit = "sale.order.batch" - picking_ids = fields.Many2many("stock.picking", compute="_compute_picking_ids", string="Transfers") - delivery_count = fields.Integer(string="Delivery Orders", compute="_compute_picking_ids") + picking_ids = fields.Many2many( + "stock.picking", compute="_compute_picking_ids", string="Transfers" + ) + delivery_count = fields.Integer( + string="Delivery Orders", compute="_compute_picking_ids" + ) @api.depends("sale_order_ids.picking_ids") def _compute_picking_ids(self): diff --git a/sale_order_batch_stock/static/description/index.html b/sale_order_batch_stock/static/description/index.html index 515a69f..275e510 100644 --- a/sale_order_batch_stock/static/description/index.html +++ b/sale_order_batch_stock/static/description/index.html @@ -369,7 +369,7 @@ ul.auto-toc { !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:c32b4440b58e98f3bea5539d78dfa2916d64aebc757c140d78b67b2a2ce288da !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: LGPL-3 bruecksen/ife_nfu

+

Beta License: LGPL-3 bruecksen/nfu

This module adds Deliverys to Sale ORder Batch Views.

Table of contents

@@ -397,10 +397,10 @@ ul.auto-toc {

Bug Tracker

-

Bugs are tracked on GitHub Issues. +

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.

+feedback.

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

@@ -419,7 +419,7 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

Maintainers

-

This module is part of the bruecksen/ife_nfu project on GitHub.

+

This module is part of the bruecksen/nfu project on GitHub.

You are welcome to contribute.