Skip to content

Commit 2be3c24

Browse files
jaeschwavava-odoo
authored andcommitted
[IMP] *: forces documentation link to latest release
Added a test to ensure the url links in the knowledge articles point to the latest version of the documentation rather than to a static (and soon obsolete) version. task-4116714
1 parent 450862e commit 2be3c24

File tree

10 files changed

+54
-36
lines changed

10 files changed

+54
-36
lines changed

โ€Žbar_industry/data/knowledge_article.xmlโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@
165165
<div data-oe-protected="false" class="w-100 ms-3">
166166
<p>You completed that demo use case! There are millions of other ways to adapt your Odoo setup to fit your business needs.</p>
167167
<p>
168-
Discover more about Odoo by diving into our <a href="https://www.odoo.com/documentation/17.0/">documentation</a> and <a href="https://www.odoo.com/slides/getting-started-15">academy</a> , and feel free to
168+
Discover more about Odoo by diving into our <a href="https://www.odoo.com/documentation/latest/">documentation</a> and <a href="https://www.odoo.com/slides/getting-started-15">academy</a> , and feel free to
169169
<a href="https://www.odoo.com/contactus">request a demo</a> if you need help!<br/>
170170
</p>
171171
</div>

โ€Žbookstore/data/knowledge_article.xmlโ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
<i class="o_editor_banner_icon mb-3 fst-normal">๐Ÿš€</i>
149149
<div class="w-100 ms-3" data-oe-protected="false">
150150
<p>You can also use automated Reordering rules to ensure you will always have your best seller in stock. </p>
151-
<p><a href="https://www.odoo.com/documentation/17.0/applications/inventory_and_mrp/purchase/products/reordering.html" target="_blank" class="btn btn-secondary">Learn more</a><br /></p>
151+
<p><a href="https://www.odoo.com/documentation/latest/applications/inventory_and_mrp/purchase/products/reordering.html" target="_blank" class="btn btn-secondary">Learn more</a><br /></p>
152152
</div>
153153
</div>
154154
<p><br /></p>
@@ -170,7 +170,7 @@
170170
<i class="o_editor_banner_icon mb-3 fst-normal">๐Ÿ“–</i>
171171
<div class="w-100 ms-3" data-oe-protected="false">
172172
<p>If you want to sale consignment products, this is standard in Odoo.</p>
173-
<p><a href="https://www.odoo.com/documentation/17.0/applications/inventory_and_mrp/inventory/warehouses_storage/advanced_operations_warehouse/owned_stock.html" target="_blank" class="btn btn-secondary">Learn more</a><br /></p>
173+
<p><a href="https://www.odoo.com/documentation/latest/applications/inventory_and_mrp/inventory/warehouses_storage/advanced_operations_warehouse/owned_stock.html" target="_blank" class="btn btn-secondary">Learn more</a><br /></p>
174174
</div>
175175
</div>
176176
<h3>6. Returns</h3>

โ€Žcondominium/data/knowledge_article.xmlโ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
"Kick-Off Quote" quotation template. This will automatically fill the quote by adding the kick-off fees and also the price of all the extra services such as the recurring contribution, the hourly rate, etc. Don't forget to attach
4949
the terms &amp; conditions as well. Of course, the price of each service and the content of the <font class="text-o-color-1" style="font-weight: bolder;">Quotation Templates</font> can be adapted accordingly.
5050
</p>
51-
<p><a href="https://www.odoo.com/documentation/master/applications/sales/sales.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Sales</a></p>
52-
<p><a href="https://www.odoo.com/documentation/master/applications/sales/sales/send_quotations/quote_template.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Quotation Template</a><br/></p>
51+
<p><a href="https://www.odoo.com/documentation/latest/applications/sales/sales.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Sales</a></p>
52+
<p><a href="https://www.odoo.com/documentation/latest/applications/sales/sales/send_quotations/quote_template.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Quotation Template</a><br/></p>
5353
<h2>Never forget a task โšก</h2>
5454
<p>
5555
Once the quotation is confirmed, it automatically creates <font class="text-o-color-1" style="font-weight: bolder;">Projects</font> including several tasks to properly start the collaboration.
@@ -79,7 +79,7 @@
7979
<p>
8080
<span style="width: 40px;" class="oe-tabs"> </span>โ€‹<img style="width: 50%;" src="condominium/static/src/binary/ir_attachment/image.jpg"/><br/>
8181
</p>
82-
<p><a class="btn btn-outline-primary btn-sm" href="https://www.odoo.com/documentation/master/applications/general/users/companies.html">๐ŸŽ“ Companies</a><br/></p>
82+
<p><a class="btn btn-outline-primary btn-sm" href="https://www.odoo.com/documentation/latest/applications/general/users/companies.html">๐ŸŽ“ Companies</a><br/></p>
8383
<h2>Know the stakeholders ๐Ÿ”Ž</h2>
8484
<p>
8585
In the <font class="text-o-color-1" style="font-weight: bolder;">Contacts</font> application, easily create an address book
@@ -113,7 +113,7 @@
113113
forget to define an email alias and share it with the owners. Thereby, they will easily send requests that will be centralized in a single point as tickets. This eases the follow-up and the invoicing in case the time spent is not
114114
covered by the service fees.
115115
</p>
116-
<p><a href="https://www.odoo.com/documentation/17.0/applications/services/helpdesk/overview/getting_started.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Helpdesk</a><br/></p>
116+
<p><a href="https://www.odoo.com/documentation/latest/applications/services/helpdesk/overview/getting_started.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Helpdesk</a><br/></p>
117117
<h2>Fairly split the costs โš–๏ธ</h2>
118118
<p>Each owner has to pay recurring fees:</p>
119119
<ul>
@@ -144,7 +144,7 @@
144144
For example, to collect the cotisations, the selected company must be the condominium and the customer must be the condominium too. If you want to invoice your services, the selected company must be yours and the customer must be the
145145
condominium to be invoiced.
146146
</p>
147-
<p><a href="https://www.odoo.com/documentation/master/applications/sales/subscriptions.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Subscription</a><br/></p>
147+
<p><a href="https://www.odoo.com/documentation/latest/applications/sales/subscriptions.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Subscription</a><br/></p>
148148
<h2>Book the right numbers ๐Ÿงพ</h2>
149149
<p>A condominium works like a company. It gets revenues from the owners. These are collected in two bank accounts that can be directly integrated with the bank:</p>
150150
<ul>
@@ -153,7 +153,7 @@
153153
</ul>
154154
<p>These will be used to pay the Vendor Bills that can be uploaded and automatically booked thanks to <a href="https://www.odoo.com/app/invoice-automation">Artificial Intelligence</a>.</p>
155155
<p>By the end of the period, easily generate the legal reporting such as Balance Sheet and Profit &amp; Loss for each condominium.</p>
156-
<p><a href="https://www.odoo.com/documentation/master/applications/finance/accounting.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Accounting</a><br/></p>
156+
<p><a href="https://www.odoo.com/documentation/latest/applications/finance/accounting.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Accounting</a><br/></p>
157157
<h2 class="null">Schedule the meetings ๐Ÿ“…</h2>
158158
<p>
159159
Every year, a general meeting is scheduled to talk about the financial statements, to take important decisions and so on. This event can easily be scheduled in the Calendar app by creating
@@ -170,7 +170,7 @@
170170
<p>
171171
Use the power of formulas to quickly count the votes. See an example of spreadsheet in <font class="text-o-color-1" style="font-weight: bolder;">Documents</font>
172172
</p>
173-
<p><a href="https://www.odoo.com/documentation/master/applications/finance/spreadsheet.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Spreadsheet</a></p>
173+
<p><a href="https://www.odoo.com/documentation/latest/applications/finance/spreadsheet.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Spreadsheet</a></p>
174174
]]>
175175
</field>
176176
</record>

โ€Žconstruction/data/knowledge_article.xmlโ€Ž

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
the customer in the <strong><font class="text-o-color-1">Contact</font></strong> app.
107107
</p>
108108
<p>
109-
<a href="https://www.odoo.com/documentation/master/applications/sales/crm.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ CRM</a>
109+
<a href="https://www.odoo.com/documentation/lastest/applications/sales/crm.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ CRM</a>
110110
<br>
111111
</p>
112112
<h2>
@@ -148,7 +148,7 @@
148148
reduced one
149149
</p>
150150
<p>
151-
<a href="https://www.odoo.com/documentation/17.0/applications/finance/accounting/taxes/fiscal_positions.html" class="btn btn-fill-secondary btn-sm">๐ŸŽ“ Fiscal Positions๏ปฟ</a>
151+
<a href="https://www.odoo.com/documentation/lastest/applications/finance/accounting/taxes/fiscal_positions.html" class="btn btn-fill-secondary btn-sm">๐ŸŽ“ Fiscal Positions๏ปฟ</a>
152152
</p>
153153
</div>
154154
</div>
@@ -174,7 +174,7 @@
174174
orders are centralized in the <strong><font class="text-o-color-1">Sales</font></strong> app.
175175
</p>
176176
<p>
177-
<a href="https://www.odoo.com/documentation/master/applications/sales/sales.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“Sales</a>
177+
<a href="https://www.odoo.com/documentation/lastest/applications/sales/sales.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“Sales</a>
178178
</p>
179179
<h2><br></h2>
180180
<h2>Centralize all the important information ๐Ÿ“</h2>
@@ -186,7 +186,7 @@
186186
<strong><font class="text-o-color-1">Documents</font></strong> app.
187187
</p>
188188
<p>
189-
<a class="btn btn-outline-primary btn-sm" href="https://www.odoo.com/documentation/master/applications/finance/documents.html?highlight=documents">๐ŸŽ“ Documents</a>
189+
<a class="btn btn-outline-primary btn-sm" href="https://www.odoo.com/documentation/lastest/applications/finance/documents.html?highlight=documents">๐ŸŽ“ Documents</a>
190190
</p>
191191
<p>
192192
Speed up the signing process thanks to the
@@ -195,7 +195,7 @@
195195
<strong><font class="text-o-color-1">Documents</font></strong> app.
196196
</p>
197197
<p>
198-
<a class="btn btn-outline-primary btn-sm" href="https://www.odoo.com/documentation/master/applications/finance/sign.html?highlight=sign">๐ŸŽ“ Sign</a>
198+
<a class="btn btn-outline-primary btn-sm" href="https://www.odoo.com/documentation/lastest/applications/finance/sign.html?highlight=sign">๐ŸŽ“ Sign</a>
199199
</p>
200200
<h2><br></h2>
201201
<h2>Quickly start the construction projects ๐Ÿ—๏ธ</h2>
@@ -230,7 +230,7 @@
230230
in the Kanban view.
231231
</p>
232232
<p>
233-
<a href="https://www.odoo.com/documentation/master/applications/services/project.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Project</a>
233+
<a href="https://www.odoo.com/documentation/lastest/applications/services/project.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Project</a>
234234
</p>
235235
<div data-oe-protected="true" class="o_editor_banner o_not_editable lh-1 d-flex align-items-center alert alert-info pb-0 pt-3">
236236
<i class="o_editor_banner_icon mb-3 fst-normal">๐Ÿš€</i>
@@ -296,7 +296,7 @@
296296
app where you can check the stock levels of each needed storable product.
297297
</p>
298298
<p>
299-
<a href="https://www.odoo.com/documentation/master/applications/inventory_and_mrp/inventory.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Inventory</a>
299+
<a href="https://www.odoo.com/documentation/lastest/applications/inventory_and_mrp/inventory.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Inventory</a>
300300
</p>
301301
<p>
302302
If the stock levels are too low, resupply the materials from the
@@ -311,7 +311,7 @@
311311
in which you will be able to set for which project it will be used.
312312
</p>
313313
<p>
314-
<a href="https://www.odoo.com/documentation/master/applications/inventory_and_mrp/purchase.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Purchase</a>
314+
<a href="https://www.odoo.com/documentation/lastest/applications/inventory_and_mrp/purchase.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Purchase</a>
315315
</p>
316316
<h2><br></h2>
317317
<h2>Efficiently schedule the work ๐Ÿ“†</h2>
@@ -329,7 +329,7 @@
329329
forget to define a hourly cost on the employee form.
330330
</p>
331331
<p>
332-
<a href="https://www.odoo.com/documentation/master/applications/services/timesheets.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Timesheets</a>
332+
<a href="https://www.odoo.com/documentation/lastest/applications/services/timesheets.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Timesheets</a>
333333
</p>
334334
<h2><br></h2>
335335
<h2>Invoice at the right time ๐Ÿ“ˆ</h2>
@@ -342,7 +342,7 @@
342342
sustain your cash flow.
343343
</p>
344344
<p>
345-
<a href="https://www.odoo.com/documentation/master/applications/productivity/discuss/overview/plan_activities.html?highlight=activities" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Activities</a>
345+
<a href="https://www.odoo.com/documentation/lastest/applications/productivity/discuss/overview/plan_activities.html?highlight=activities" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Activities</a>
346346
</p>
347347
<p>
348348
Before generating an intermediary invoice in the
@@ -370,7 +370,7 @@
370370
for the customer.
371371
</p>
372372
<p>
373-
<a href="https://www.odoo.com/documentation/master/applications/finance/accounting/customer_invoices.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Invoicing</a>
373+
<a href="https://www.odoo.com/documentation/lastest/applications/finance/accounting/customer_invoices.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Invoicing</a>
374374
</p>
375375
<h2><br></h2>
376376
<h2><span class="h2-fs">Make your customers happy </span>๐Ÿ†˜</h2>
@@ -382,7 +382,7 @@
382382
will create a ticket that can be assigned to ensure the follow-up.
383383
</p>
384384
<p>
385-
<a class="btn btn-outline-primary btn-sm" href="https://www.odoo.com/documentation/master/applications/services/helpdesk.html">๐ŸŽ“ Helpdesk</a>
385+
<a class="btn btn-outline-primary btn-sm" href="https://www.odoo.com/documentation/lastest/applications/services/helpdesk.html">๐ŸŽ“ Helpdesk</a>
386386
</p>
387387
<p>
388388
If a technical operation such as a repair is needed, directly create a task
@@ -392,7 +392,7 @@
392392
materials and the time spent could be invoiced to the customer.
393393
</p>
394394
<p>
395-
<a class="btn btn-outline-primary btn-sm" href="https://www.odoo.com/documentation/master/applications/services/field_service.html">๐ŸŽ“ Field Service๏ปฟ</a>
395+
<a class="btn btn-outline-primary btn-sm" href="https://www.odoo.com/documentation/lastest/applications/services/field_service.html">๐ŸŽ“ Field Service๏ปฟ</a>
396396
</p>
397397
<h1><br></h1>
398398
<h1>Do you want to go further? </h1>
@@ -416,7 +416,7 @@
416416
you to find the right person to make a good work.
417417
</p>
418418
<p>
419-
<a href="https://www.odoo.com/documentation/master/applications/hr/employees.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Employees</a>
419+
<a href="https://www.odoo.com/documentation/lastest/applications/hr/employees.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Employees</a>
420420
</p>
421421
<p>
422422
<span class="h2-fs"><strong>Equipment ๐Ÿ› ๏ธ</strong></span>
@@ -427,7 +427,7 @@
427427
<strong><font class="text-o-color-1">Maintenance</font></strong> app.
428428
</p>
429429
<p>
430-
<a class="btn btn-outline-primary btn-sm" href="https://www.odoo.com/documentation/master/applications/inventory_and_mrp/maintenance.html">๐ŸŽ“ Maintenance</a>
430+
<a class="btn btn-outline-primary btn-sm" href="https://www.odoo.com/documentation/lastest/applications/inventory_and_mrp/maintenance.html">๐ŸŽ“ Maintenance</a>
431431
</p>
432432
<p>
433433
<strong><span class="h2-fs">Fleet ๐Ÿšš</span></strong>
@@ -437,7 +437,7 @@
437437
<strong><font class="text-o-color-1">Fleet</font></strong> app.
438438
</p>
439439
<p>
440-
<a class="btn btn-outline-primary btn-sm" href="https://www.odoo.com/documentation/master/applications/hr/fleet.html">๐ŸŽ“ Fleet</a>
440+
<a class="btn btn-outline-primary btn-sm" href="https://www.odoo.com/documentation/lastest/applications/hr/fleet.html">๐ŸŽ“ Fleet</a>
441441
</p>
442442
<p>
443443
<strong><span class="h2-fs">Create an attractive website ๐ŸŒ</span></strong>
@@ -449,7 +449,7 @@
449449
opportunity in the <strong><font class="text-o-color-1">CRM</font></strong> app.
450450
</p>
451451
<p>
452-
<a href="https://www.odoo.com/documentation/master/applications/websites/website.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Website</a>
452+
<a href="https://www.odoo.com/documentation/lastest/applications/websites/website.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Website</a>
453453
</p>
454454
<p>
455455
<strong><span class="h2-fs">Sell product sets ๐Ÿ”ฉ</span></strong>
@@ -462,7 +462,7 @@
462462
pick up.
463463
</p>
464464
<p>
465-
<a href="https://www.odoo.com/documentation/master/applications/inventory_and_mrp/manufacturing/management/kit_shipping.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Manufacturing</a>
465+
<a href="https://www.odoo.com/documentation/lastest/applications/inventory_and_mrp/manufacturing/management/kit_shipping.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Manufacturing</a>
466466
</p>
467467
<p>
468468
<strong><span class="h2-fs">Accounting made easy ๐Ÿงฎ</span></strong>
@@ -485,7 +485,7 @@
485485
The financial reporting.
486486
</li>
487487
</ul>
488-
<p><a href="https://www.odoo.com/documentation/master/applications/finance/accounting.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Accounting</a>
488+
<p><a href="https://www.odoo.com/documentation/lastest/applications/finance/accounting.html" class="btn btn-outline-primary btn-sm">๐ŸŽ“ Accounting</a>
489489
</p>
490490
<div data-oe-protected="true" class="o_editor_banner o_not_editable lh-1 d-flex align-items-center alert alert-info pb-0 pt-3">
491491
<i class="o_editor_banner_icon mb-3 fst-normal">๐Ÿš€</i>

0 commit comments

Comments
ย (0)