Skip to content

Commit 4751fb5

Browse files
author
Anusha
committed
[IMP] sale_resource_booking: pre-commit auto fixes
1 parent 658d862 commit 4751fb5

File tree

11 files changed

+116
-108
lines changed

11 files changed

+116
-108
lines changed

sale_resource_booking/README.rst

Lines changed: 41 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ Sell resource bookings
1717
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1818
:alt: License: AGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github
20-
:target: https://github.com/OCA/sale-workflow/tree/15.0/sale_resource_booking
20+
:target: https://github.com/OCA/sale-workflow/tree/18.0/sale_resource_booking
2121
:alt: OCA/sale-workflow
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/sale-workflow-15-0/sale-workflow-15-0-sale_resource_booking
23+
:target: https://translation.odoo-community.org/projects/sale-workflow-18-0/sale-workflow-18-0-sale_resource_booking
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=15.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=18.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
3030

31-
This module extends the functionality of sale and resource bookings to support
32-
creating pending resource bookings automatically when confirming a sale order
33-
and to allow you to generate those sale orders easily from a resource booking
34-
type.
31+
This module extends the functionality of sale and resource bookings to
32+
support creating pending resource bookings automatically when confirming
33+
a sale order and to allow you to generate those sale orders easily from
34+
a resource booking type.
3535

3636
**Table of contents**
3737

@@ -49,73 +49,74 @@ Configuration
4949

5050
To enjoy all features from this module, you need these permissions:
5151

52-
* Sales / User: Own Documents Only
53-
* Resource Booking / User
52+
- Sales / User: Own Documents Only
53+
- Resource Booking / User
5454

5555
Usage
5656
=====
5757

5858
To quote one resource booking quickly, you need to:
5959

60-
#. Go to *Resource bookings > Types* and pick one.
61-
#. Click *Quote*.
62-
#. Fill the values from that wizard.
63-
#. Click on *Generate quotation*.
60+
1. Go to *Resource bookings > Types* and pick one.
61+
2. Click *Quote*.
62+
3. Fill the values from that wizard.
63+
4. Click on *Generate quotation*.
6464

65-
In the wizard, one of the things you need to indicate is the product. With this
66-
module, products can be linked to resource booking types (and, optionally,
67-
combinations). When such product is sold and the sale order is confirmed, a new
68-
booking is created automatically (in pending state).
65+
In the wizard, one of the things you need to indicate is the product.
66+
With this module, products can be linked to resource booking types (and,
67+
optionally, combinations). When such product is sold and the sale order
68+
is confirmed, a new booking is created automatically (in pending state).
6969

70-
If you need to pre-create those pending bookings when the quotation is not yet
71-
confirmed, you can also do that with the *Sync bookings* button in the
72-
quotation form.
70+
If you need to pre-create those pending bookings when the quotation is
71+
not yet confirmed, you can also do that with the *Sync bookings* button
72+
in the quotation form.
7373

74-
A booking can only be confirmed if its sale order is confirmed, when there is
75-
one.
74+
A booking can only be confirmed if its sale order is confirmed, when
75+
there is one.
7676

7777
To create one of such products:
7878

79-
#. Install ``sale_management``.
80-
#. Go to *Sales > Products > Products*.
81-
#. Create one.
82-
#. Go to the *Sales* tab.
83-
#. Under *Resource Bookings*, select one *Booking type*.
84-
#. Optionally, select a *Resource combination* to be assigned by default.
79+
1. Install ``sale_management``.
80+
2. Go to *Sales > Products > Products*.
81+
3. Create one.
82+
4. Go to the *Sales* tab.
83+
5. Under *Resource Bookings*, select one *Booking type*.
84+
6. Optionally, select a *Resource combination* to be assigned by
85+
default.
8586

86-
When you confirm a quotation that includes some products related to resource
87-
booking types, you will see a wizard that will help you update quickly those
88-
bookings' values, and invite requesters to schedule them. If you skip it, you
89-
can do it later with the bookings just created.
87+
When you confirm a quotation that includes some products related to
88+
resource booking types, you will see a wizard that will help you update
89+
quickly those bookings' values, and invite requesters to schedule them.
90+
If you skip it, you can do it later with the bookings just created.
9091

9192
Bug Tracker
9293
===========
9394

9495
Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.
9596
In case of trouble, please check there if your issue has already been reported.
9697
If you spotted it first, help us to smash it by providing a detailed and welcomed
97-
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_resource_booking%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
98+
`feedback <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_resource_booking%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
9899

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

101102
Credits
102103
=======
103104

104105
Authors
105-
~~~~~~~
106+
-------
106107

107108
* Tecnativa
108109

109110
Contributors
110-
~~~~~~~~~~~~
111+
------------
111112

112-
* `Tecnativa <https://www.tecnativa.com>`_:
113+
- `Tecnativa <https://www.tecnativa.com>`__:
113114

114-
* Jairo Llopis
115-
* Stefan Ungureanu
115+
- Jairo Llopis
116+
- Stefan Ungureanu
116117

117118
Maintainers
118-
~~~~~~~~~~~
119+
-----------
119120

120121
This module is maintained by the OCA.
121122

@@ -135,6 +136,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
135136

136137
|maintainer-Yajo|
137138

138-
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/15.0/sale_resource_booking>`_ project on GitHub.
139+
This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/18.0/sale_resource_booking>`_ project on GitHub.
139140

140141
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
To enjoy all features from this module, you need these permissions:
22

3-
* Sales / User: Own Documents Only
4-
* Resource Booking / User
3+
- Sales / User: Own Documents Only
4+
- Resource Booking / User
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- [Tecnativa](https://www.tecnativa.com):
2+
- Jairo Llopis
3+
- Stefan Ungureanu

sale_resource_booking/readme/CONTRIBUTORS.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This module extends the functionality of sale and resource bookings to
2+
support creating pending resource bookings automatically when confirming
3+
a sale order and to allow you to generate those sale orders easily from
4+
a resource booking type.

sale_resource_booking/readme/DESCRIPTION.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
To have a nice UI to manage quotations and sales orders, install
2-
``sale_management``. However, this is not strictly required.
2+
`sale_management`. However, this is not strictly required.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
To quote one resource booking quickly, you need to:
2+
3+
1. Go to *Resource bookings \> Types* and pick one.
4+
2. Click *Quote*.
5+
3. Fill the values from that wizard.
6+
4. Click on *Generate quotation*.
7+
8+
In the wizard, one of the things you need to indicate is the product.
9+
With this module, products can be linked to resource booking types (and,
10+
optionally, combinations). When such product is sold and the sale order
11+
is confirmed, a new booking is created automatically (in pending state).
12+
13+
If you need to pre-create those pending bookings when the quotation is
14+
not yet confirmed, you can also do that with the *Sync bookings* button
15+
in the quotation form.
16+
17+
A booking can only be confirmed if its sale order is confirmed, when
18+
there is one.
19+
20+
To create one of such products:
21+
22+
1. Install `sale_management`.
23+
2. Go to *Sales \> Products \> Products*.
24+
3. Create one.
25+
4. Go to the *Sales* tab.
26+
5. Under *Resource Bookings*, select one *Booking type*.
27+
6. Optionally, select a *Resource combination* to be assigned by
28+
default.
29+
30+
When you confirm a quotation that includes some products related to
31+
resource booking types, you will see a wizard that will help you update
32+
quickly those bookings' values, and invite requesters to schedule them.
33+
If you skip it, you can do it later with the bookings just created.

sale_resource_booking/readme/USAGE.rst

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)