[MOV] content/*: move resource files into their related page's directory

Since odoo/documentation#903, the guideline for the location of new
resource (images, downloadable files, RST includes...) files is to place
those inside the directory of the RST page that references them.

For example, if `doc1.rst` has a reference to `image.png` and to
`download.zip`, the file structure should look like this:

├── parent_doc/
│     └── doc1/
│     │     └── image.png
│     │     └── download.zip
│     └── doc1.rst
│     └── doc2.rst
├── parent_doc.rst

Before this commit, most of the resource files were still located inside
'media' directories holding all the resource files referenced by RST
pages located at the same level as these directories. In the example
above, a single 'media' directory would hold all the resource files
referenced by both `doc1.rst` and `doc2.rst`. Doing so prevented us from
figuring out easily which resource file was referenced by which RST page
and, thus, lead to unused resource files piling up in the repository. It
also made it more complicated to define codeowners regex rules because a
team could not simply be assigned to `/some_page.*` but needed to be
assigned to both `/some_page\.rst` and to the location of 'media'.

In order to help new content writers figure out the guideline when
taking examples from other RST pages, this commit retroactively applies
the guideline to existing resource files and 'media' directories. The
left-over resource files that are not referenced by any RST page are
removed.

task-2497965

Part-of: odoo/documentation#2068
This commit is contained in:
Antoine Vandevenne (anv)
2022-05-20 09:54:32 +00:00
parent 3901e3b241
commit 8722ea902e
2056 changed files with 1777 additions and 1776 deletions
@@ -6,7 +6,7 @@ To process an inventory adjustment by using barcodes, you first need to
open the *Barcode* app. Then, from the application, click on
*Inventory Adjustments*.
.. image:: media/adjustments_01.png
.. image:: adjustments/adjustments_01.png
:align: center
.. note::
@@ -18,13 +18,13 @@ automatically create one. Note that, if you work with multi-location,
you first need to specify in which location the inventory adjustment
takes place.
.. image:: media/adjustments_02.png
.. image:: adjustments/adjustments_02.png
:align: center
If you dont work with multi-location, you will be able to scan the
different products you want to include in the inventory adjustment.
.. image:: media/adjustments_03.png
.. image:: adjustments/adjustments_03.png
:align: center
.. note::
@@ -35,14 +35,14 @@ Besides using the barcode scanner, you can also manually add a product
if necessary. To do so, click on *Add Product* and fill the
information in manually.
.. image:: media/adjustments_04.png
.. image:: adjustments/adjustments_04.png
:align: center
.. image:: media/adjustments_05.png
.. image:: adjustments/adjustments_05.png
:align: center
When you have scanned all the items of the location, validate the
inventory manually or scan the *Validate* barcode.
.. image:: media/adjustments_06.png
.. image:: adjustments/adjustments_06.png
:align: center
@@ -20,14 +20,14 @@ To do so, go to :menuselection:`Inventory --> Configuration --> Barcode Nomencla
You can create a barcode nomenclature from there, and then add a line to
create your first rule.
.. image:: media/barcode_nomenclature_01.png
.. image:: barcode_nomenclature/barcode_nomenclature_01.png
:align: center
The first step is to specify the **rule name**, for example Weight
Barcode with 3 Decimals. You then have to specify the type for barcode
nomenclature, in our case it will be Weighted Product.
.. image:: media/barcode_nomenclature_02.png
.. image:: barcode_nomenclature/barcode_nomenclature_02.png
:align: center
The Barcode Pattern is a regular expression that defines the structure
@@ -53,7 +53,7 @@ Configure your Product
3. The barcode should contain 0s where you did defined Ds or Ns. In our case we need to set 5 zeros because we configured “21…..{NNDDD}”;
4. In EAN-13, the last number is a check number, use an EAN13 generator to know which digit it should be in your case.
.. image:: media/barcode_nomenclature_03.png
.. image:: barcode_nomenclature/barcode_nomenclature_03.png
:align: center
In case you weight 1,5 Kg of pasta, the balance will print you the
@@ -63,7 +63,7 @@ automatically create a new line for the Pasta product for a quantity of
1.5 Kg. For the point of sale, a price depending on the quantity will
also be computed.
.. image:: media/barcode_nomenclature_04.png
.. image:: barcode_nomenclature/barcode_nomenclature_04.png
:align: center
Rule Types
@@ -8,17 +8,17 @@ Simple Transfers
To process a transfer from the *Barcode* app, the first step is to go
to *Operations*.
.. image:: media/internal_01.png
.. image:: internal/internal_01.png
:align: center
Then, you have the choice to either enter an existing transfer, by going
to the corresponding operation type and manually selecting the one you
want to enter, or by scanning the barcode of the transfer.
.. image:: media/internal_02.png
.. image:: internal/internal_02.png
:align: center
.. image:: media/internal_03.png
.. image:: internal/internal_03.png
:align: center
From there, you will be able to scan the products that are part of the
@@ -26,7 +26,7 @@ existing transfer and/or add new products to this transfer. Once all the
products have been scanned, you can validate the transfer to proceed
with the stock moves.
.. image:: media/internal_04.png
.. image:: internal/internal_04.png
:align: center
.. note::
@@ -41,7 +41,7 @@ to identify it in the system. Once done, you can either make it enter
the main location of the transfer, for example WH/Stock, or scan a
location barcode to make it enter a sub-location of the main location.
.. image:: media/internal_05.png
.. image:: internal/internal_05.png
:align: center
.. note::
@@ -56,7 +56,7 @@ different than the one initially set on the transfer. Then, you can
start scanning the products that are delivered from this specific
location.
.. image:: media/internal_06.png
.. image:: internal/internal_06.png
:align: center
Once the different products have been scanned, you have the possibility
@@ -64,14 +64,14 @@ to scan another location, such as WH/Stock, and another page will be
added to your delivery order. You can move from one to the other thanks
to the *Previous* and *Next* buttons.
.. image:: media/internal_07.png
.. image:: internal/internal_07.png
:align: center
Now, you can validate your transfer. To do so, click on *Next* until
you reach the last page of the transfer. There, you will be able to
validate it.
.. image:: media/internal_08.png
.. image:: internal/internal_08.png
:align: center
Internal Transfers
@@ -93,10 +93,10 @@ ways of working:
- If you work with serial/lot numbers taking all products into consideration, you can scan the barcode of the lot/serial number and Odoo will increase the quantity of the product, setting its lot/serial number.
.. image:: media/internal_09.png
.. image:: internal/internal_09.png
:align: center
- If you have the same lot/serial number for different products, you can work by scanning the product barcode first, and then the barcode of the lot/serial number.
.. image:: media/internal_10.png
.. image:: internal/internal_10.png
:align: center
@@ -6,12 +6,12 @@ To create a transfer from the *Barcode* application, you first need to
print the operation type barcodes. To do so, you can download the
*Stock barcode sheet* from the home page of the app.
.. image:: media/transfers_scratch_01.png
.. image:: transfers_scratch/transfers_scratch_01.png
:align: center
Once done, you can scan the one for which you want to create a new
document. Then, an empty document will be created and you will be able
to scan your products to populate it.
.. image:: media/transfers_scratch_02.png
.. image:: transfers_scratch/transfers_scratch_02.png
:align: center
@@ -14,7 +14,7 @@ The 3 recommended type of barcode scanners to work with the Odoo
**Inventory** and **Barcode Scanning** apps are the **USB scanner**, **the bluetooth
scanner** and the **mobile computer scanner**.
.. image:: media/hardware02.png
.. image:: hardware/hardware02.png
:align: center
- If you scan products at a computer location, the **USB scanner** is the
@@ -44,7 +44,7 @@ Configure your barcode scanner
Keyboard layout
---------------
.. image:: media/hardware01.png
.. image:: hardware/hardware01.png
:align: center
An USB barcode scanner needs to be configured to use the same keyboard
@@ -15,7 +15,7 @@ To use this feature, you first need to activate the *Barcode*
functionality via :menuselection:`Inventory --> Settings --> Barcode Scanner`. Once you
have ticked the feature, you can hit save.
.. image:: media/software_01.png
.. image:: software/software_01.png
:align: center
Set Product Barcodes
@@ -24,16 +24,16 @@ Set Product Barcodes
You can easily assign barcodes to your different products via the
*Inventory* app. To do so, go to :menuselection:`Settings --> Configure Products Barcodes`.
.. image:: media/software_02.png
.. image:: software/software_02.png
:align: center
Then, you have the possibility to assign barcodes to your products
directly at creation on the product form.
.. image:: media/software_03.png
.. image:: software/software_03.png
:align: center
.. image:: media/software_04.png
.. image:: software/software_04.png
:align: center
.. note::
@@ -48,10 +48,10 @@ If you manage multiple locations, you will find useful to attribute a
barcode to each location and stick it on the location. You can configure
the locations barcodes in :menuselection:`Inventory --> Configuration --> Locations`.
.. image:: media/software_05.png
.. image:: software/software_05.png
:align: center
.. image:: media/software_06.png
.. image:: software/software_06.png
:align: center
.. note::
@@ -54,7 +54,7 @@ Configure Drop-Shipping
Activate the functionality in the *Purchase* application by going to :menuselection:`Configuration
--> Settings`.
.. image:: media/dropshipping_01.png
.. image:: dropshipping/dropshipping_01.png
:align: center
Then, go to the *Inventory* app, in :menuselection:`Configuration --> Settings` to
@@ -62,14 +62,14 @@ activate the *Multi-Step Routes* feature. It will allow you to make
the *Route* field appear on the sale order lines to specify you send a
product via drop-shipping.
.. image:: media/dropshipping_02.png
.. image:: dropshipping/dropshipping_02.png
:align: center
Now, in the *Sales* app, go to :menuselection:`Products --> Products`. Select the
product you would like to drop-ship and add a vendor pricelist which
contains the right supplier, via the purchase tab.
.. image:: media/dropshipping_03.png
.. image:: dropshipping/dropshipping_03.png
:align: center
Send Products from the Suppliers Directly to the Customers
@@ -80,10 +80,10 @@ vendor. Add the *Route* field thanks to the widget on the right of the
sale order line. Now, you are able to specify that your products route
is *Drop-Shipping*.
.. image:: media/dropshipping_04.png
.. image:: dropshipping/dropshipping_04.png
:align: center
.. image:: media/dropshipping_05.png
.. image:: dropshipping/dropshipping_05.png
:align: center
Once the sale order is confirmed, Odoo automatically generates a
@@ -91,7 +91,7 @@ Once the sale order is confirmed, Odoo automatically generates a
drop-shipping. You can find it in the *Purchase* app, with the sale
order as *Source Document*.
.. image:: media/dropshipping_06.png
.. image:: dropshipping/dropshipping_06.png
:align: center
Once this *Purchase Order* is confirmed, a *Receipt Order* is
@@ -99,11 +99,11 @@ created and linked to it. The source location is the vendor location and
the destination location is the customer location. Then, the product
wont go through your own stock when you validate the dropship document.
.. image:: media/dropshipping_07.png
.. image:: dropshipping/dropshipping_07.png
:align: center
You can also easily access the dropship document directly from your
inventory dashboard.
.. image:: media/dropshipping_08.png
.. image:: dropshipping/dropshipping_08.png
:align: center
@@ -17,14 +17,14 @@ In the **Inventory** module, Go to **Configuration** and click on
Choose a delivery method and then click on **Edit**.
.. image:: media/label_type01.png
.. image:: label_type/label_type01.png
:align: center
In the **Pricing** tab, under **Fedex label stock type**, you can choose
one of the label types available. The availability will vary depending
on the carrier.
.. image:: media/label_type02.png
.. image:: label_type/label_type02.png
:align: center
Once this is done, you can see the result if you go to the Sales module
@@ -34,20 +34,20 @@ As you confirm the sale and validate the delivery with the carrier for
which you have modified the label type, The label will appear in your
history.
.. image:: media/label_type03.png
.. image:: label_type/label_type03.png
:align: center
.. image:: media/label_type04.png
.. image:: label_type/label_type04.png
:align: center
.. image:: media/label_type05.png
.. image:: label_type/label_type05.png
:align: center
The default label type is paper letter, and if you choose the label type
bottom half for example, here is the difference :
.. image:: media/label_type06.png
.. image:: label_type/label_type06.png
:align: center
.. image:: media/label_type07.png
.. image:: label_type/label_type07.png
:align: center
@@ -14,7 +14,7 @@ and edit the warehouse in question.
Then, choose *Deliver goods directly* as your *Outgoing Shipments*
strategy.
.. image:: media/one_step_01.png
.. image:: one_step/one_step_01.png
:align: center
Create a Sales Order
@@ -27,7 +27,7 @@ Notice that we now see 1 delivery associated with this *sales order*
in the stat button above the sales order. If you click on the 1 Delivery
stat button, you should now see your delivery order.
.. image:: media/one_step_02.png
.. image:: one_step/one_step_02.png
:align: center
Process a Delivery
@@ -37,13 +37,13 @@ You can also find the *delivery order* directly from the *Inventory*
application. In the dashboard, you can click the *1 TO PROCESS* button
under the Delivery Orders Kanban card.
.. image:: media/one_step_03.png
.. image:: one_step/one_step_03.png
:align: center
Enter the picking that you want to process. You will be able to click on
*Validate* to complete the move if you have products in stock.
.. image:: media/one_step_04.png
.. image:: one_step/one_step_04.png
:align: center
Once you *Validate* the delivery order, the products leave your
@@ -51,5 +51,5 @@ Once you *Validate* the delivery order, the products leave your
can easily see that the delivery took place thanks to the status of the
document which is now *Done*.
.. image:: media/one_step_05.png
.. image:: one_step/one_step_05.png
:align: center
@@ -23,7 +23,7 @@ To allow *multi-step routes*, go to :menuselection:`Inventory --> Configuration
activate the option. Note that activating *Multi-Step
Routes* will also activate *Storage Locations*.
.. image:: media/three_steps_01.png
.. image:: three_steps/three_steps_01.png
:align: center
Configure Warehouse for Delivery in 3 Steps
@@ -34,7 +34,7 @@ Once *Multi-Step Routes* has been activated, you can go to
delivery in 3 steps. You can then select the option *Pack goods, send
goods in output and then deliver (3 steps)* for *Outgoing Shipments*.
.. image:: media/three_steps_02.png
.. image:: three_steps/three_steps_02.png
:align: center
Activating this option will lead to the creation of two new locations,
@@ -48,7 +48,7 @@ In the *Sales* application, you can create a quotation with some
storable products to deliver. Once you confirm the quotation, three
pickings will be created and automatically linked to your sale order.
.. image:: media/three_steps_03.png
.. image:: three_steps/three_steps_03.png
:align: center
If you click the button, you should now see three different pickings:
@@ -59,7 +59,7 @@ If you click the button, you should now see three different pickings:
3. The last one with a reference OUT to designate the shipping process.
.. image:: media/three_steps_04.png
.. image:: three_steps/three_steps_04.png
:align: center
Process the Picking, Packing, and Delivery
@@ -73,13 +73,13 @@ is marked as done.
You can enter the picking operation from here, or access it through the
inventory dashboard.
.. image:: media/three_steps_05.png
.. image:: three_steps/three_steps_05.png
:align: center
In case you have the product in stock, it has automatically been
reserved and you can simply validate the picking document.
.. image:: media/three_steps_06.png
.. image:: three_steps/three_steps_06.png
:align: center
Once the picking has been validated, the packing order is ready to be
@@ -87,18 +87,18 @@ processed. Thanks to the fact that the documents are chained, the
products which have been previously picked are automatically reserved on
the packing order which can be directly validated.
.. image:: media/three_steps_07.png
.. image:: three_steps/three_steps_07.png
:align: center
.. image:: media/three_steps_08.png
.. image:: three_steps/three_steps_08.png
:align: center
Once the packing has been validated, the delivery order is ready to be
processed. Here again, it is directly ready to be validated in order to
transfer the products to the customer location.
.. image:: media/three_steps_09.png
.. image:: three_steps/three_steps_09.png
:align: center
.. image:: media/three_steps_10.png
.. image:: three_steps/three_steps_10.png
:align: center
@@ -22,7 +22,7 @@ To allow *multi-step routes*, go to :menuselection:`Inventory --> Configuration
activate the option. Note that activating *Multi-Step Routes* will also
activate *Storage Locations*.
.. image:: media/two_steps_01.png
.. image:: two_steps/two_steps_01.png
:align: center
Warehouse configuration
@@ -33,14 +33,14 @@ Configuration --> Warehouse` and enter the warehouse which will use
delivery in 2 steps. You can then select the option *Send goods in
output and then deliver (2 steps)* for Outgoing Shipments.
.. image:: media/two_steps_02.png
.. image:: two_steps/two_steps_02.png
:align: center
Activating this option will lead to the creation of a new *Output*
location. If you want to rename it go to :menuselection:`Inventory --> Configuration -->
Locations`, Select Output and update its name.
.. image:: media/two_steps_03.png
.. image:: two_steps/two_steps_03.png
:align: center
Create a Sales Order
@@ -50,7 +50,7 @@ In the *Sales* application, you can create a quotation with some
storable products to deliver. Once you confirm the quotation, two
pickings will be created and automatically linked to your sale order.
.. image:: media/two_steps_04.png
.. image:: two_steps/two_steps_04.png
:align: center
If you click on the *2 Delivery* button, you should now see two
@@ -58,7 +58,7 @@ different pickings, one with a reference *PICK* to designate the
picking process and another one with a reference *OUT* to designate
the shipping process.
.. image:: media/two_steps_05.png
.. image:: two_steps/two_steps_05.png
:align: center
Process the Picking and the Delivery
@@ -71,13 +71,13 @@ once the picking operation has been marked as done.
You can enter the picking operation from here, or access it through the
inventory dashboard.
.. image:: media/two_steps_06.png
.. image:: two_steps/two_steps_06.png
:align: center
In case you have the product in stock, it has automatically been
reserved and you can simply validate the picking document.
.. image:: media/two_steps_07.png
.. image:: two_steps/two_steps_07.png
:align: center
Once the picking has been validated, the delivery order is ready to be
@@ -85,8 +85,8 @@ processed. Thanks to the fact that the documents are chained, the
products which have been previously picked are automatically reserved on
the delivery order.
.. image:: media/two_steps_08.png
.. image:: two_steps/two_steps_08.png
:align: center
.. image:: media/two_steps_09.png
.. image:: two_steps/two_steps_09.png
:align: center
Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

@@ -14,7 +14,7 @@ Warehouses` and edit the warehouse in question.
Set the *Incoming Shipments* option to *Receive goods directly (1
step)*.
.. image:: media/one_step_01.png
.. image:: one_step/one_step_01.png
:align: center
Create a Purchase Order
@@ -28,7 +28,7 @@ Notice that, now, we see 1 receipt associated with the purchase order
you just created. If you click on the button, you will see your receipt
order.
.. image:: media/one_step_02.png
.. image:: one_step/one_step_02.png
:align: center
Process a Receipt
@@ -38,7 +38,7 @@ You can also fin the receipt directly from the *Inventory* app. When
on the dashboard, you can click the *1 TO PROCESS* button under the
*Receipts* Kanban card. Then, you will see your receipt.
.. image:: media/one_step_03.png
.. image:: one_step/one_step_03.png
:align: center
Now, enter the picking that you want to process. You will be able to
@@ -50,7 +50,7 @@ from suppliers are considered as being always available.
the :guilabel:`Done quantity` to specify the location(s) where you are storing the received
product(s).
.. image:: media/one_step_04.png
.. image:: one_step/one_step_04.png
:align: center
Once you *Validate* the receipt, the products leave the *Supplier
@@ -58,5 +58,5 @@ Location* to enter your *WH/Stock Location*. You can easily see that
the receipt took place thanks to the status of the document, which is
now *Done*.
.. image:: media/one_step_05.png
.. image:: one_step/one_step_05.png
:align: center
@@ -23,7 +23,7 @@ actions together. In this case, we will chain the picking step to the shipping s
To enable *Multi-Step Routes*, go to :menuselection:`Inventory --> Configuration --> Settings` and
activate the option.
.. image:: media/three_steps_01.png
.. image:: three_steps/three_steps_01.png
:align: center
:alt: View of the features to enable in order to use multi-step routes for goods reception
@@ -38,7 +38,7 @@ Once *Multi-Step Routes* has been activated, go to :menuselection:`Inventory -->
Warehouse` and enter the warehouse which should work with the 3-steps reception. Then, select
*Receive goods in input, then quality and then stock (3 steps)* for *Incoming Shipments*.
.. image:: media/three_steps_02.png
.. image:: three_steps/three_steps_02.png
:align: center
:alt: View of the incoming shipment strategy to choose to receive goods in three steps
@@ -61,7 +61,7 @@ Order* as the source document:
3. The last one with a reference *INT* to designate the move to stock.
.. image:: media/three_steps_03.png
.. image:: three_steps/three_steps_03.png
:align: center
:alt: View of the three moves created by the purchase of products in three steps strategy
@@ -74,14 +74,14 @@ are *Waiting Another Operation*.
To access the receipt operation, click on the button from the *Purchase Order* or go back to the
*Inventory* app dashboard and click on *Receipts*.
.. image:: media/three_steps_04.png
.. image:: three_steps/three_steps_04.png
:align: center
:alt: View of the button to click to see the receipts that need to be processed
In the receipt order, products are always considered available because they come from the supplier.
Then, the receipt can be validated.
.. image:: media/three_steps_05.png
.. image:: three_steps/three_steps_05.png
:align: center
:alt: View of the move (internal transfer) from the reception area to the warehouse input area
@@ -89,21 +89,21 @@ Once the receipt has been validated, the transfer to quality becomes *Ready*. An
are chained to each other, products previously received are automatically reserved on the
transfer. Then, the transfer can be directly validated.
.. image:: media/three_steps_06.png
.. image:: three_steps/three_steps_06.png
:align: center
:alt: View of the button to click to see the internal transfers that need to be processed
.. image:: media/three_steps_07.png
.. image:: three_steps/three_steps_07.png
:align: center
:alt: View of the move (internal transfer) from the input area to the quality control area
Now, the transfer that enters the products to stock is *Ready*. Here, it is again ready to be
validated in order to transfer the products to your stock location.
.. image:: media/three_steps_08.png
.. image:: three_steps/three_steps_08.png
:align: center
:alt: View of the button to click to see the internal transfers that need to be processed
.. image:: media/three_steps_09.png
.. image:: three_steps/three_steps_09.png
:align: center
:alt: View of the move (internal transfer) from the quality control area to the stock
@@ -27,7 +27,7 @@ To allow *multi-step routes*, go to :menuselection:`Configuration --> Settings`
activate the feature. By default, activating *multi-step routes* will
also activate *Storage Locations*.
.. image:: media/two_steps_01.png
.. image:: two_steps/two_steps_01.png
:align: center
Configure warehouse for receipt in 2 steps
@@ -38,14 +38,14 @@ Warehouse` and enter the warehouse which will use receipt in 2 steps.
Then, you can select the option *Receive goods in input and then stock
(2 steps)* for *Incoming Shipments*.
.. image:: media/two_steps_02.png
.. image:: two_steps/two_steps_02.png
:align: center
Activating this option will lead to the creation of a new *Input*
location. If you want to rename it, you can go to :menuselection:`Configuration -->
Locations --> Select Input` and update its name.
.. image:: media/two_steps_03.png
.. image:: two_steps/two_steps_03.png
:align: center
Create a purchase order
@@ -56,7 +56,7 @@ Quotation* with some storable products to receive from a supplier. Once
the *RfQ* is confirmed, the receipt picking will be created and
automatically linked to your purchase order.
.. image:: media/two_steps_04.png
.. image:: two_steps/two_steps_04.png
:align: center
Now, by clicking on the *1 Receipt* button, you will see the first
@@ -74,14 +74,14 @@ has been marked as *Done*.
You can enter the receipt operation from the purchase order, or access
it through the inventory dashboard.
.. image:: media/two_steps_05.png
.. image:: two_steps/two_steps_05.png
:align: center
By default, a receipt is always considered as ready to be processed.
Then, you will be able to directly click on *Validate* to mark it as
done.
.. image:: media/two_steps_06.png
.. image:: two_steps/two_steps_06.png
:align: center
Once the receipt has been validated, the internal transfer is ready to
@@ -90,8 +90,8 @@ received are automatically reserved on the internal transfer. Once the
transfer is validated, those products enter the stock and you will be
able to use them to fulfill customer deliveries or manufacture products.
.. image:: media/two_steps_07.png
.. image:: two_steps/two_steps_07.png
:align: center
.. image:: media/two_steps_08.png
.. image:: two_steps/two_steps_08.png
:align: center

Some files were not shown because too many files have changed in this diff Show More