Skip to content

Commit ef5b108

Browse files
committed
[BOT] post-merge updates
1 parent fd53d3f commit ef5b108

File tree

5 files changed

+73
-48
lines changed

5 files changed

+73
-48
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Available addons
2222
addon | version | maintainers | summary
2323
--- | --- | --- | ---
2424
[delivery_line_sale_line_position](delivery_line_sale_line_position/) | 16.0.1.1.0 | | Adds the sale line position to the delivery report lines
25+
[stock_average_daily_sale](stock_average_daily_sale/) | 16.0.1.0.0 | | Allows to gather delivered products average on daily basis
2526
[stock_card_report](stock_card_report/) | 16.0.1.0.0 | | Add stock card report on Inventory Reporting.
2627
[stock_picking_report_custom_description](stock_picking_report_custom_description/) | 16.0.1.0.0 | [![carlosdauden](https://github.com/carlosdauden.png?size=30px)](https://github.com/carlosdauden) | Show moves description in picking reports
2728
[stock_picking_report_internal_delivery_address](stock_picking_report_internal_delivery_address/) | 16.0.1.0.0 | | Show delivery address when picking type is internal

setup/_metapackage/VERSION.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.0.20240314.0
1+
16.0.20240415.0

setup/_metapackage/setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
version=version,
1010
install_requires=[
1111
'odoo-addon-delivery_line_sale_line_position>=16.0dev,<16.1dev',
12+
'odoo-addon-stock_average_daily_sale>=16.0dev,<16.1dev',
1213
'odoo-addon-stock_card_report>=16.0dev,<16.1dev',
1314
'odoo-addon-stock_picking_report_custom_description>=16.0dev,<16.1dev',
1415
'odoo-addon-stock_picking_report_internal_delivery_address>=16.0dev,<16.1dev',

stock_average_daily_sale/README.rst

+23-11
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
Stock Average Daily Sale
33
========================
44

5-
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
67
!! This file is generated by oca-gen-addon-readme !!
78
!! changes will be overwritten. !!
89
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:cbc2d8aee61af519a59ebfa3ff4b8b6477f4ead65705c5eef34f52a6e886c3d6
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
912
1013
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1114
:target: https://odoo-community.org/page/development-status
@@ -19,14 +22,14 @@ Stock Average Daily Sale
1922
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
2023
:target: https://translation.odoo-community.org/projects/stock-logistics-reporting-16-0/stock-logistics-reporting-16-0-stock_average_daily_sale
2124
:alt: Translate me on Weblate
22-
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
23-
:target: https://runbot.odoo-community.org/runbot/151/16.0
24-
:alt: Try me on Runbot
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-reporting&target_branch=16.0
27+
:alt: Try me on Runboat
2528

26-
|badge1| |badge2| |badge3| |badge4| |badge5|
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
2730

2831
This module allows to gather stock consumptions and build reporting for average daily
29-
sales (aka stock consumptions). Technically, this has been done through a
32+
sales (aka stock consumptions). Technically, this has been done through a
3033
materialized postgresql view in order to be as fast as possible (some other flow
3134
modules can depend on this).
3235

@@ -42,6 +45,7 @@ Moreover, you can define:
4245

4346
* A safety factor
4447
* A standard deviation exclusion factor
48+
* A different root location for analysis per Warehouse
4549

4650
**Table of contents**
4751

@@ -51,9 +55,9 @@ Moreover, you can define:
5155
Configuration
5256
=============
5357

54-
#. To configure data analysis, you should go to Inventory > Configuration > Average daily sales computation parameters
58+
* To configure data analysis, you should go to Inventory > Configuration > Average daily sales computation parameters
5559

56-
#. You need to fill in the following informations:
60+
* You need to fill in the following informations:
5761

5862
* The product ABC classification you want - see product_abc_classification module
5963
* The concerned Warehouse
@@ -62,11 +66,17 @@ Configuration
6266
* A standard deviation exclusion factor
6367
* A safety factor
6468

65-
#. Go to Configuration > Technical > Scheduled Actions > Refresh average daily sales materialized view
69+
* Go to Configuration > Technical > Scheduled Actions > Refresh average daily sales materialized view
6670

67-
By default, the sceduled action is set to refresh data each 4 hours. You can change
71+
By default, the scheduled action is set to refresh data each 4 hours. You can change
6872
that depending on your needs.
6973

74+
* By default, the root location where analysis is done is the Warehouse stock location,
75+
but you can change it.
76+
77+
* Go to Inventory > Configuration > Warehouses
78+
* Change the 'Average Daily Sale Root Location' field according your needs
79+
7080
Known issues / Roadmap
7181
======================
7282

@@ -86,7 +96,7 @@ Bug Tracker
8696

8797
Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-reporting/issues>`_.
8898
In case of trouble, please check there if your issue has already been reported.
89-
If you spotted it first, help us smashing it by providing a detailed and welcomed
99+
If you spotted it first, help us to smash it by providing a detailed and welcomed
90100
`feedback <https://github.com/OCA/stock-logistics-reporting/issues/new?body=module:%20stock_average_daily_sale%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
91101

92102
Do not contact contributors directly about support or help with technical issues.
@@ -98,12 +108,14 @@ Authors
98108
~~~~~~~
99109

100110
* ACSONE SA/NV
111+
* BCIM
101112

102113
Contributors
103114
~~~~~~~~~~~~
104115

105116
* Laurent Mignon <laurent.mignon@acsone.eu>
106117
* Denis Roussel <denis.roussel@acsone.eu>
118+
* Jacques-Etienne Baudoux (BCIM) <je@bcim.be>
107119

108120
Maintainers
109121
~~~~~~~~~~~

stock_average_daily_sale/static/description/index.html

+47-36
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
21
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
32
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
43
<head>
54
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6-
<meta name="generator" content="Docutils: http://docutils.sourceforge.net/" />
5+
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
76
<title>Stock Average Daily Sale</title>
87
<style type="text/css">
98

109
/*
1110
:Author: David Goodger (goodger@python.org)
12-
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
11+
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
1312
:Copyright: This stylesheet has been placed in the public domain.
1413
1514
Default cascading style sheet for the HTML output of Docutils.
1615
17-
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
16+
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1817
customize this style sheet.
1918
*/
2019

@@ -366,8 +365,10 @@ <h1 class="title">Stock Average Daily Sale</h1>
366365
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367366
!! This file is generated by oca-gen-addon-readme !!
368367
!! changes will be overwritten. !!
368+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369+
!! source digest: sha256:cbc2d8aee61af519a59ebfa3ff4b8b6477f4ead65705c5eef34f52a6e886c3d6
369370
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
370-
<p><a class="reference external" 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" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/stock-logistics-reporting/tree/16.0/stock_average_daily_sale"><img alt="OCA/stock-logistics-reporting" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--reporting-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/stock-logistics-reporting-16-0/stock-logistics-reporting-16-0-stock_average_daily_sale"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/151/16.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
371+
<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/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/stock-logistics-reporting/tree/16.0/stock_average_daily_sale"><img alt="OCA/stock-logistics-reporting" src="https://img.shields.io/badge/github-OCA%2Fstock--logistics--reporting-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/stock-logistics-reporting-16-0/stock-logistics-reporting-16-0-stock_average_daily_sale"><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/stock-logistics-reporting&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
371372
<p>This module allows to gather stock consumptions and build reporting for average daily
372373
sales (aka stock consumptions). Technically, this has been done through a
373374
materialized postgresql view in order to be as fast as possible (some other flow
@@ -384,32 +385,32 @@ <h1 class="title">Stock Average Daily Sale</h1>
384385
<ul class="simple">
385386
<li>A safety factor</li>
386387
<li>A standard deviation exclusion factor</li>
388+
<li>A different root location for analysis per Warehouse</li>
387389
</ul>
388390
<p><strong>Table of contents</strong></p>
389391
<div class="contents local topic" id="contents">
390392
<ul class="simple">
391-
<li><a class="reference internal" href="#configuration" id="id2">Configuration</a></li>
392-
<li><a class="reference internal" href="#known-issues-roadmap" id="id3">Known issues / Roadmap</a></li>
393-
<li><a class="reference internal" href="#changelog" id="id4">Changelog</a><ul>
394-
<li><a class="reference internal" href="#id1" id="id5">16.0.1.0.0 (2023-01-13)</a></li>
393+
<li><a class="reference internal" href="#configuration" id="toc-entry-1">Configuration</a></li>
394+
<li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-2">Known issues / Roadmap</a></li>
395+
<li><a class="reference internal" href="#changelog" id="toc-entry-3">Changelog</a><ul>
396+
<li><a class="reference internal" href="#section-1" id="toc-entry-4">16.0.1.0.0 (2023-01-13)</a></li>
395397
</ul>
396398
</li>
397-
<li><a class="reference internal" href="#bug-tracker" id="id6">Bug Tracker</a></li>
398-
<li><a class="reference internal" href="#credits" id="id7">Credits</a><ul>
399-
<li><a class="reference internal" href="#authors" id="id8">Authors</a></li>
400-
<li><a class="reference internal" href="#contributors" id="id9">Contributors</a></li>
401-
<li><a class="reference internal" href="#maintainers" id="id10">Maintainers</a></li>
399+
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-5">Bug Tracker</a></li>
400+
<li><a class="reference internal" href="#credits" id="toc-entry-6">Credits</a><ul>
401+
<li><a class="reference internal" href="#authors" id="toc-entry-7">Authors</a></li>
402+
<li><a class="reference internal" href="#contributors" id="toc-entry-8">Contributors</a></li>
403+
<li><a class="reference internal" href="#maintainers" id="toc-entry-9">Maintainers</a></li>
402404
</ul>
403405
</li>
404406
</ul>
405407
</div>
406408
<div class="section" id="configuration">
407-
<h1><a class="toc-backref" href="#id2">Configuration</a></h1>
408-
<ol class="arabic simple">
409-
<li>To configure data analysis, you should go to Inventory &gt; Configuration &gt; Average daily sales computation parameters</li>
410-
<li>You need to fill in the following informations:</li>
411-
</ol>
412-
<blockquote>
409+
<h1><a class="toc-backref" href="#toc-entry-1">Configuration</a></h1>
410+
<ul>
411+
<li><p class="first">To configure data analysis, you should go to Inventory &gt; Configuration &gt; Average daily sales computation parameters</p>
412+
</li>
413+
<li><p class="first">You need to fill in the following informations:</p>
413414
<ul class="simple">
414415
<li>The product ABC classification you want - see product_abc_classification module</li>
415416
<li>The concerned Warehouse</li>
@@ -418,55 +419,65 @@ <h1><a class="toc-backref" href="#id2">Configuration</a></h1>
418419
<li>A standard deviation exclusion factor</li>
419420
<li>A safety factor</li>
420421
</ul>
421-
</blockquote>
422-
<ol class="arabic simple">
423-
<li>Go to Configuration &gt; Technical &gt; Scheduled Actions &gt; Refresh average daily sales materialized view</li>
424-
</ol>
422+
</li>
423+
<li><p class="first">Go to Configuration &gt; Technical &gt; Scheduled Actions &gt; Refresh average daily sales materialized view</p>
424+
<p>By default, the scheduled action is set to refresh data each 4 hours. You can change
425+
that depending on your needs.</p>
426+
</li>
427+
<li><p class="first">By default, the root location where analysis is done is the Warehouse stock location,
428+
but you can change it.</p>
425429
<blockquote>
426-
By default, the sceduled action is set to refresh data each 4 hours. You can change
427-
that depending on your needs.</blockquote>
430+
<ul class="simple">
431+
<li>Go to Inventory &gt; Configuration &gt; Warehouses</li>
432+
<li>Change the ‘Average Daily Sale Root Location’ field according your needs</li>
433+
</ul>
434+
</blockquote>
435+
</li>
436+
</ul>
428437
</div>
429438
<div class="section" id="known-issues-roadmap">
430-
<h1><a class="toc-backref" href="#id3">Known issues / Roadmap</a></h1>
439+
<h1><a class="toc-backref" href="#toc-entry-2">Known issues / Roadmap</a></h1>
431440
<ul class="simple">
432441
<li>Move the filter on saturday/sunday to configuration parameters</li>
433442
<li>An extensible data gathering query</li>
434443
</ul>
435444
</div>
436445
<div class="section" id="changelog">
437-
<h1><a class="toc-backref" href="#id4">Changelog</a></h1>
438-
<div class="section" id="id1">
439-
<h2><a class="toc-backref" href="#id5">16.0.1.0.0 (2023-01-13)</a></h2>
446+
<h1><a class="toc-backref" href="#toc-entry-3">Changelog</a></h1>
447+
<div class="section" id="section-1">
448+
<h2><a class="toc-backref" href="#toc-entry-4">16.0.1.0.0 (2023-01-13)</a></h2>
440449
<ul class="simple">
441450
<li>[16.0][ADD] stock_average_daily_sale</li>
442451
</ul>
443452
</div>
444453
</div>
445454
<div class="section" id="bug-tracker">
446-
<h1><a class="toc-backref" href="#id6">Bug Tracker</a></h1>
455+
<h1><a class="toc-backref" href="#toc-entry-5">Bug Tracker</a></h1>
447456
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/stock-logistics-reporting/issues">GitHub Issues</a>.
448457
In case of trouble, please check there if your issue has already been reported.
449-
If you spotted it first, help us smashing it by providing a detailed and welcomed
458+
If you spotted it first, help us to smash it by providing a detailed and welcomed
450459
<a class="reference external" href="https://github.com/OCA/stock-logistics-reporting/issues/new?body=module:%20stock_average_daily_sale%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
451460
<p>Do not contact contributors directly about support or help with technical issues.</p>
452461
</div>
453462
<div class="section" id="credits">
454-
<h1><a class="toc-backref" href="#id7">Credits</a></h1>
463+
<h1><a class="toc-backref" href="#toc-entry-6">Credits</a></h1>
455464
<div class="section" id="authors">
456-
<h2><a class="toc-backref" href="#id8">Authors</a></h2>
465+
<h2><a class="toc-backref" href="#toc-entry-7">Authors</a></h2>
457466
<ul class="simple">
458467
<li>ACSONE SA/NV</li>
468+
<li>BCIM</li>
459469
</ul>
460470
</div>
461471
<div class="section" id="contributors">
462-
<h2><a class="toc-backref" href="#id9">Contributors</a></h2>
472+
<h2><a class="toc-backref" href="#toc-entry-8">Contributors</a></h2>
463473
<ul class="simple">
464474
<li>Laurent Mignon &lt;<a class="reference external" href="mailto:laurent.mignon&#64;acsone.eu">laurent.mignon&#64;acsone.eu</a>&gt;</li>
465475
<li>Denis Roussel &lt;<a class="reference external" href="mailto:denis.roussel&#64;acsone.eu">denis.roussel&#64;acsone.eu</a>&gt;</li>
476+
<li>Jacques-Etienne Baudoux (BCIM) &lt;<a class="reference external" href="mailto:je&#64;bcim.be">je&#64;bcim.be</a>&gt;</li>
466477
</ul>
467478
</div>
468479
<div class="section" id="maintainers">
469-
<h2><a class="toc-backref" href="#id10">Maintainers</a></h2>
480+
<h2><a class="toc-backref" href="#toc-entry-9">Maintainers</a></h2>
470481
<p>This module is maintained by the OCA.</p>
471482
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
472483
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose

0 commit comments

Comments
 (0)