Skip to content

Commit 3201686

Browse files
committed
[IMP] l10n_pt_stock_vehicle_daily: pre-commit auto fixes
1 parent 944ba88 commit 3201686

File tree

10 files changed

+100
-88
lines changed

10 files changed

+100
-88
lines changed
Lines changed: 36 additions & 29 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
Transport Documents for Vehicle Stock
37
=====================================
@@ -13,29 +17,30 @@ Transport Documents for Vehicle Stock
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-AGPL--3-blue.png
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
1721
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1822
:alt: License: AGPL-3
1923
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fl10n--portugal-lightgray.png?logo=github
20-
:target: https://github.com/OCA/l10n-portugal/tree/14.0/l10n_pt_stock_vehicle_daily
24+
:target: https://github.com/OCA/l10n-portugal/tree/19.0/l10n_pt_stock_vehicle_daily
2125
:alt: OCA/l10n-portugal
2226
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/l10n-portugal-14-0/l10n-portugal-14-0-l10n_pt_stock_vehicle_daily
27+
:target: https://translation.odoo-community.org/projects/l10n-portugal-19-0/l10n-portugal-19-0-l10n_pt_stock_vehicle_daily
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/l10n-portugal&target_branch=14.0
30+
:target: https://runboat.odoo-community.org/builds?repo=OCA/l10n-portugal&target_branch=19.0
2731
:alt: Try me on Runboat
2832

2933
|badge1| |badge2| |badge3| |badge4| |badge5|
3034

31-
Goods may be loaded and stored in a company vehicle, and not be a customer delivery or a
32-
supplier pickup.
35+
Goods may be loaded and stored in a company vehicle, and not be a
36+
customer delivery or a supplier pickup.
3337

34-
Examples are a travelling salesman carrying stock that might be later sold, or a
35-
maintenance and repair technician carrying tools and spare parts.
38+
Examples are a travelling salesman carrying stock that might be later
39+
sold, or a maintenance and repair technician carrying tools and spare
40+
parts.
3641

37-
Portuguese Tax Authorities require these to be electronically communicated every day to
38-
their system.
42+
Portuguese Tax Authorities require these to be electronically
43+
communicated every day to their system.
3944

4045
This feature provides a quick way generate such document.
4146

@@ -49,51 +54,53 @@ Usage
4954

5055
Usage:
5156

52-
- On the Inventory Dashboard, the daily vehicle document card shows a "Move on Hand"
53-
button at the bottom. Click on it to open an assisstant window.
54-
- On the "Move from location" form, select the Origin Location for the Vehicle.
57+
- On the Inventory Dashboard, the daily vehicle document card shows a
58+
"Move on Hand" button at the bottom. Click on it to open an
59+
assisstant window.
60+
- On the "Move from location" form, select the Origin Location for the
61+
Vehicle.
5562

56-
- The destination location will be automatically set as the same as the origin
57-
location.
58-
- The "License Plate" field will be automatically populated.
59-
- The location's current stock will be selected in the lines.
63+
- The destination location will be automatically set as the same as
64+
the origin location.
65+
- The "License Plate" field will be automatically populated.
66+
- The location's current stock will be selected in the lines.
6067

61-
- Click on "Immediate Transfer" to create the supporting transfer, or "Planned Transfer"
62-
if changes to the stock content are needed.
63-
- On the craeted Transfer, you can print the Delivery Slip.
68+
- Click on "Immediate Transfer" to create the supporting transfer, or
69+
"Planned Transfer" if changes to the stock content are needed.
70+
- On the craeted Transfer, you can print the Delivery Slip.
6471

6572
Bug Tracker
6673
===========
6774

6875
Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-portugal/issues>`_.
6976
In case of trouble, please check there if your issue has already been reported.
7077
If you spotted it first, help us to smash it by providing a detailed and welcomed
71-
`feedback <https://github.com/OCA/l10n-portugal/issues/new?body=module:%20l10n_pt_stock_vehicle_daily%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
78+
`feedback <https://github.com/OCA/l10n-portugal/issues/new?body=module:%20l10n_pt_stock_vehicle_daily%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
7279

7380
Do not contact contributors directly about support or help with technical issues.
7481

7582
Credits
7683
=======
7784

7885
Authors
79-
~~~~~~~
86+
-------
8087

8188
* Luz de Airbag
8289
* Open Source Integrators
8390

8491
Contributors
85-
~~~~~~~~~~~~
92+
------------
8693

87-
* `Open Source Integrators <https://www.opensourceintegrators.com>`_
94+
- `Open Source Integrators <https://www.opensourceintegrators.com>`__
8895

89-
* Daniel Reis (dreis@opensourceintegrators.com)
96+
- Daniel Reis (dreis@opensourceintegrators.com)
9097

91-
* `NuoBiT <https://www.nuobit.com>`_
98+
- `NuoBiT <https://www.nuobit.com>`__
9299

93-
* Deniz Gallo (dgallo@nuobit.com)
100+
- Deniz Gallo (dgallo@nuobit.com)
94101

95102
Maintainers
96-
~~~~~~~~~~~
103+
-----------
97104

98105
This module is maintained by the OCA.
99106

@@ -105,6 +112,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
105112
mission is to support the collaborative development of Odoo features and
106113
promote its widespread use.
107114

108-
This module is part of the `OCA/l10n-portugal <https://github.com/OCA/l10n-portugal/tree/14.0/l10n_pt_stock_vehicle_daily>`_ project on GitHub.
115+
This module is part of the `OCA/l10n-portugal <https://github.com/OCA/l10n-portugal/tree/19.0/l10n_pt_stock_vehicle_daily>`_ project on GitHub.
109116

110117
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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
- [Open Source Integrators](https://www.opensourceintegrators.com)
2+
3+
> - Daniel Reis (<dreis@opensourceintegrators.com>)
4+
5+
- [NuoBiT](https://www.nuobit.com)
6+
7+
> - Deniz Gallo (<dgallo@nuobit.com>)

l10n_pt_stock_vehicle_daily/readme/CONTRIBUTORS.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Goods may be loaded and stored in a company vehicle, and not be a
2+
customer delivery or a supplier pickup.
3+
4+
Examples are a travelling salesman carrying stock that might be later
5+
sold, or a maintenance and repair technician carrying tools and spare
6+
parts.
7+
8+
Portuguese Tax Authorities require these to be electronically
9+
communicated every day to their system.
10+
11+
This feature provides a quick way generate such document.

l10n_pt_stock_vehicle_daily/readme/DESCRIPTION.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Usage:
22

3-
- On the Inventory Dashboard, the daily vehicle document card shows a "Move on Hand"
4-
button at the bottom. Click on it to open an assisstant window.
5-
- On the "Move from location" form, select the Origin Location for the Vehicle.
6-
7-
- The destination location will be automatically set as the same as the origin
8-
location.
3+
- On the Inventory Dashboard, the daily vehicle document card shows a
4+
"Move on Hand" button at the bottom. Click on it to open an assisstant
5+
window.
6+
- On the "Move from location" form, select the Origin Location for the
7+
Vehicle.
8+
- The destination location will be automatically set as the same as
9+
the origin location.
910
- The "License Plate" field will be automatically populated.
1011
- The location's current stock will be selected in the lines.
11-
12-
- Click on "Immediate Transfer" to create the supporting transfer, or "Planned Transfer"
13-
if changes to the stock content are needed.
12+
- Click on "Immediate Transfer" to create the supporting transfer, or
13+
"Planned Transfer" if changes to the stock content are needed.
1414
- On the craeted Transfer, you can print the Delivery Slip.

l10n_pt_stock_vehicle_daily/static/description/index.html

Lines changed: 34 additions & 25 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>Transport Documents for Vehicle Stock</title>
6+
<title>README.rst</title>
77
<style type="text/css">
88

99
/*
@@ -360,22 +360,28 @@
360360
</style>
361361
</head>
362362
<body>
363-
<div class="document" id="transport-documents-for-vehicle-stock">
364-
<h1 class="title">Transport Documents for Vehicle Stock</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="transport-documents-for-vehicle-stock">
370+
<h1>Transport Documents for Vehicle Stock</h1>
366371
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367372
!! This file is generated by oca-gen-addon-readme !!
368373
!! changes will be overwritten. !!
369374
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370375
!! source digest: sha256:b824ffd3c0524f306f5ec16fb6ae748e97460c4b55fcc22e3970b1c4e4dcdda9
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/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/l10n-portugal/tree/14.0/l10n_pt_stock_vehicle_daily"><img alt="OCA/l10n-portugal" src="https://img.shields.io/badge/github-OCA%2Fl10n--portugal-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/l10n-portugal-14-0/l10n-portugal-14-0-l10n_pt_stock_vehicle_daily"><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/l10n-portugal&amp;target_branch=14.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373-
<p>Goods may be loaded and stored in a company vehicle, and not be a customer delivery or a
374-
supplier pickup.</p>
375-
<p>Examples are a travelling salesman carrying stock that might be later sold, or a
376-
maintenance and repair technician carrying tools and spare parts.</p>
377-
<p>Portuguese Tax Authorities require these to be electronically communicated every day to
378-
their system.</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/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/l10n-portugal/tree/19.0/l10n_pt_stock_vehicle_daily"><img alt="OCA/l10n-portugal" src="https://img.shields.io/badge/github-OCA%2Fl10n--portugal-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/l10n-portugal-19-0/l10n-portugal-19-0-l10n_pt_stock_vehicle_daily"><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/l10n-portugal&amp;target_branch=19.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
378+
<p>Goods may be loaded and stored in a company vehicle, and not be a
379+
customer delivery or a supplier pickup.</p>
380+
<p>Examples are a travelling salesman carrying stock that might be later
381+
sold, or a maintenance and repair technician carrying tools and spare
382+
parts.</p>
383+
<p>Portuguese Tax Authorities require these to be electronically
384+
communicated every day to their system.</p>
379385
<p>This feature provides a quick way generate such document.</p>
380386
<p><strong>Table of contents</strong></p>
381387
<div class="contents local topic" id="contents">
@@ -391,42 +397,44 @@ <h1 class="title">Transport Documents for Vehicle Stock</h1>
391397
</ul>
392398
</div>
393399
<div class="section" id="usage">
394-
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
400+
<h2><a class="toc-backref" href="#toc-entry-1">Usage</a></h2>
395401
<p>Usage:</p>
396402
<ul class="simple">
397-
<li>On the Inventory Dashboard, the daily vehicle document card shows a “Move on Hand”
398-
button at the bottom. Click on it to open an assisstant window.</li>
399-
<li>On the “Move from location” form, select the Origin Location for the Vehicle.<ul>
400-
<li>The destination location will be automatically set as the same as the origin
401-
location.</li>
403+
<li>On the Inventory Dashboard, the daily vehicle document card shows a
404+
“Move on Hand” button at the bottom. Click on it to open an
405+
assisstant window.</li>
406+
<li>On the “Move from location” form, select the Origin Location for the
407+
Vehicle.<ul>
408+
<li>The destination location will be automatically set as the same as
409+
the origin location.</li>
402410
<li>The “License Plate” field will be automatically populated.</li>
403411
<li>The location’s current stock will be selected in the lines.</li>
404412
</ul>
405413
</li>
406-
<li>Click on “Immediate Transfer” to create the supporting transfer, or “Planned Transfer”
407-
if changes to the stock content are needed.</li>
414+
<li>Click on “Immediate Transfer” to create the supporting transfer, or
415+
“Planned Transfer” if changes to the stock content are needed.</li>
408416
<li>On the craeted Transfer, you can print the Delivery Slip.</li>
409417
</ul>
410418
</div>
411419
<div class="section" id="bug-tracker">
412-
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
420+
<h2><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h2>
413421
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/l10n-portugal/issues">GitHub Issues</a>.
414422
In case of trouble, please check there if your issue has already been reported.
415423
If you spotted it first, help us to smash it by providing a detailed and welcomed
416-
<a class="reference external" href="https://github.com/OCA/l10n-portugal/issues/new?body=module:%20l10n_pt_stock_vehicle_daily%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
424+
<a class="reference external" href="https://github.com/OCA/l10n-portugal/issues/new?body=module:%20l10n_pt_stock_vehicle_daily%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
417425
<p>Do not contact contributors directly about support or help with technical issues.</p>
418426
</div>
419427
<div class="section" id="credits">
420-
<h1><a class="toc-backref" href="#toc-entry-3">Credits</a></h1>
428+
<h2><a class="toc-backref" href="#toc-entry-3">Credits</a></h2>
421429
<div class="section" id="authors">
422-
<h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
430+
<h3><a class="toc-backref" href="#toc-entry-4">Authors</a></h3>
423431
<ul class="simple">
424432
<li>Luz de Airbag</li>
425433
<li>Open Source Integrators</li>
426434
</ul>
427435
</div>
428436
<div class="section" id="contributors">
429-
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
437+
<h3><a class="toc-backref" href="#toc-entry-5">Contributors</a></h3>
430438
<ul>
431439
<li><p class="first"><a class="reference external" href="https://www.opensourceintegrators.com">Open Source Integrators</a></p>
432440
<blockquote>
@@ -445,18 +453,19 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
445453
</ul>
446454
</div>
447455
<div class="section" id="maintainers">
448-
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
456+
<h3><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h3>
449457
<p>This module is maintained by the OCA.</p>
450458
<a class="reference external image-reference" href="https://odoo-community.org">
451459
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
452460
</a>
453461
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
454462
mission is to support the collaborative development of Odoo features and
455463
promote its widespread use.</p>
456-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-portugal/tree/14.0/l10n_pt_stock_vehicle_daily">OCA/l10n-portugal</a> project on GitHub.</p>
464+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/l10n-portugal/tree/19.0/l10n_pt_stock_vehicle_daily">OCA/l10n-portugal</a> project on GitHub.</p>
457465
<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>
458466
</div>
459467
</div>
460468
</div>
469+
</div>
461470
</body>
462471
</html>
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<odoo>
3-
43
<record id="view_location_form_ext" model="ir.ui.view">
54
<field name="model">stock.location</field>
65
<field name="inherit_id" ref="stock.view_location_form" />
76
<field name="arch" type="xml">
8-
97
<group name="additional_info" position="inside">
108
<field name="l10n_pt_license_plate" />
119
</group>
12-
1310
</field>
1411
</record>
15-
1612
</odoo>
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<odoo>
3-
43
<record id="view_wiz_stock_move_location_form_ext" model="ir.ui.view">
54
<field name="model">wiz.stock.move.location</field>
65
<field
76
name="inherit_id"
87
ref="stock_move_location.view_wiz_stock_move_location_form_stock_move_location"
98
/>
109
<field name="arch" type="xml">
11-
1210
<group name="main" position="inside">
1311
<field name="l10n_pt_license_plate" />
1412
</group>
@@ -19,8 +17,6 @@
1917
<field name="picking_type_id" position="attributes">
2018
<attribute name="readonly">True</attribute>
2119
</field>
22-
2320
</field>
2421
</record>
25-
2622
</odoo>

0 commit comments

Comments
 (0)