Skip to content

Commit 1c00390

Browse files
committed
[IMP] sale_operating_unit: pre-commit auto fixes
1 parent fa4110f commit 1c00390

File tree

3 files changed

+30
-21
lines changed

3 files changed

+30
-21
lines changed

sale_operating_unit/README.rst

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
15
=======================
26
Operating Unit in Sales
37
=======================
@@ -13,17 +17,17 @@ Operating Unit in Sales
1317
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1418
:target: https://odoo-community.org/page/development-status
1519
:alt: Beta
16-
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
20+
.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png
1721
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
1822
:alt: License: LGPL-3
1923
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Foperating--unit-lightgray.png?logo=github
20-
:target: https://github.com/OCA/operating-unit/tree/18.0/sale_operating_unit
24+
:target: https://github.com/OCA/operating-unit/tree/19.0/sale_operating_unit
2125
:alt: OCA/operating-unit
2226
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/operating-unit-18-0/operating-unit-18-0-sale_operating_unit
27+
:target: https://translation.odoo-community.org/projects/operating-unit-19-0/operating-unit-19-0-sale_operating_unit
2428
:alt: Translate me on Weblate
2529
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/operating-unit&target_branch=18.0
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/operating-unit&target_branch=19.0
2731
:alt: Try me on Runboat
2832

2933
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -61,7 +65,7 @@ Bug Tracker
6165
Bugs are tracked on `GitHub Issues <https://github.com/OCA/operating-unit/issues>`_.
6266
In case of trouble, please check there if your issue has already been reported.
6367
If you spotted it first, help us to smash it by providing a detailed and welcomed
64-
`feedback <https://github.com/OCA/operating-unit/issues/new?body=module:%20sale_operating_unit%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
68+
`feedback <https://github.com/OCA/operating-unit/issues/new?body=module:%20sale_operating_unit%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
6569

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

@@ -103,6 +107,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
103107
mission is to support the collaborative development of Odoo features and
104108
promote its widespread use.
105109

106-
This module is part of the `OCA/operating-unit <https://github.com/OCA/operating-unit/tree/18.0/sale_operating_unit>`_ project on GitHub.
110+
This module is part of the `OCA/operating-unit <https://github.com/OCA/operating-unit/tree/19.0/sale_operating_unit>`_ project on GitHub.
107111

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

sale_operating_unit/__manifest__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
{
66
"name": "Operating Unit in Sales",
77
"version": "18.0.1.0.0",
8-
"summary": "An operating unit (OU) is an organizational entity part of a "
9-
"company",
8+
"summary": "An operating unit (OU) is an organizational entity part of a company",
109
"author": "ForgeFlow, "
1110
"Serpent Consulting Services Pvt. Ltd.,"
1211
"Odoo Community Association (OCA)",

sale_operating_unit/static/description/index.html

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6-
<title>Operating Unit in Sales</title>
6+
<title>README.rst</title>
77
<style type="text/css">
88

99
/*
@@ -360,16 +360,21 @@
360360
</style>
361361
</head>
362362
<body>
363-
<div class="document" id="operating-unit-in-sales">
364-
<h1 class="title">Operating Unit in Sales</h1>
363+
<div class="document">
365364

365+
366+
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
367+
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
368+
</a>
369+
<div class="section" id="operating-unit-in-sales">
370+
<h1>Operating Unit in Sales</h1>
366371
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367372
!! This file is generated by oca-gen-addon-readme !!
368373
!! changes will be overwritten. !!
369374
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370375
!! source digest: sha256:3213285322c7ae5f333caf42c36bbbef3b229f3235f1c7062918e291a63cc81a
371376
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<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/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/operating-unit/tree/18.0/sale_operating_unit"><img alt="OCA/operating-unit" src="https://img.shields.io/badge/github-OCA%2Foperating--unit-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/operating-unit-18-0/operating-unit-18-0-sale_operating_unit"><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/operating-unit&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
377+
<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/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/license-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/operating-unit/tree/19.0/sale_operating_unit"><img alt="OCA/operating-unit" src="https://img.shields.io/badge/github-OCA%2Foperating--unit-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/operating-unit-19-0/operating-unit-19-0-sale_operating_unit"><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/operating-unit&amp;target_branch=19.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373378
<p>This module extends the Sales capabilities of Odoo and introduces the
374379
operating unit to the Sales Order. Security rules are defined to ensure
375380
that users can only display the Sales Orders in which they are allowed
@@ -389,40 +394,40 @@ <h1 class="title">Operating Unit in Sales</h1>
389394
</ul>
390395
</div>
391396
<div class="section" id="usage">
392-
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
397+
<h2><a class="toc-backref" href="#toc-entry-1">Usage</a></h2>
393398
<p>Follow these steps:</p>
394399
<ol class="arabic simple">
395400
<li>Create a Sale Order.</li>
396401
<li>The Operating Unit of the Sale Team is assigned to the Sale Order.</li>
397402
</ol>
398403
</div>
399404
<div class="section" id="known-issues-roadmap">
400-
<h1><a class="toc-backref" href="#toc-entry-2">Known issues / Roadmap</a></h1>
405+
<h2><a class="toc-backref" href="#toc-entry-2">Known issues / Roadmap</a></h2>
401406
<p>The onchange_team_id method is not working. If you try to change the
402407
team in a sales quotation and the operating unit is not taken from the
403408
sales team, and moreover, I cannot select the operating unit from the
404409
team, only Main OU shows, must have to have your salesperson in the
405410
sales team of the operating unit.</p>
406411
</div>
407412
<div class="section" id="bug-tracker">
408-
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
413+
<h2><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h2>
409414
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/operating-unit/issues">GitHub Issues</a>.
410415
In case of trouble, please check there if your issue has already been reported.
411416
If you spotted it first, help us to smash it by providing a detailed and welcomed
412-
<a class="reference external" href="https://github.com/OCA/operating-unit/issues/new?body=module:%20sale_operating_unit%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
417+
<a class="reference external" href="https://github.com/OCA/operating-unit/issues/new?body=module:%20sale_operating_unit%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
413418
<p>Do not contact contributors directly about support or help with technical issues.</p>
414419
</div>
415420
<div class="section" id="credits">
416-
<h1><a class="toc-backref" href="#toc-entry-4">Credits</a></h1>
421+
<h2><a class="toc-backref" href="#toc-entry-4">Credits</a></h2>
417422
<div class="section" id="authors">
418-
<h2><a class="toc-backref" href="#toc-entry-5">Authors</a></h2>
423+
<h3><a class="toc-backref" href="#toc-entry-5">Authors</a></h3>
419424
<ul class="simple">
420425
<li>ForgeFlow</li>
421426
<li>Serpent Consulting Services Pvt. Ltd.</li>
422427
</ul>
423428
</div>
424429
<div class="section" id="contributors">
425-
<h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
430+
<h3><a class="toc-backref" href="#toc-entry-6">Contributors</a></h3>
426431
<ul class="simple">
427432
<li>Jordi Ballester Alomar &lt;<a class="reference external" href="mailto:jordi.ballester&#64;forgeflow.com">jordi.ballester&#64;forgeflow.com</a>&gt;</li>
428433
<li>Aaron Henriquez &lt;<a class="reference external" href="mailto:ahforgeflow&#64;forgeflow.com">ahforgeflow&#64;forgeflow.com</a>&gt;</li>
@@ -440,18 +445,19 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
440445
</ul>
441446
</div>
442447
<div class="section" id="maintainers">
443-
<h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
448+
<h3><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h3>
444449
<p>This module is maintained by the OCA.</p>
445450
<a class="reference external image-reference" href="https://odoo-community.org">
446451
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
447452
</a>
448453
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
449454
mission is to support the collaborative development of Odoo features and
450455
promote its widespread use.</p>
451-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/operating-unit/tree/18.0/sale_operating_unit">OCA/operating-unit</a> project on GitHub.</p>
456+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/operating-unit/tree/19.0/sale_operating_unit">OCA/operating-unit</a> project on GitHub.</p>
452457
<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>
453458
</div>
454459
</div>
455460
</div>
461+
</div>
456462
</body>
457463
</html>

0 commit comments

Comments
 (0)