Skip to content

Commit f7bfe8d

Browse files
committed
[16][FIX] stock_move_propagate_first_move : add index for first_move_id field
1 parent bd060e7 commit f7bfe8d

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

stock_move_propagate_first_move/README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ Contributors
6666
~~~~~~~~~~~~
6767

6868
* Souheil Bejaoui (ACSONE SA/NV) <[email protected]>
69+
* Adriana Saiz <[email protected]>
6970

7071
Maintainers
7172
~~~~~~~~~~~

stock_move_propagate_first_move/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"summary": """
77
This addon propagate the picking type of the original move to all next moves
88
created from procurement""",
9-
"version": "16.0.1.0.1",
9+
"version": "16.0.1.0.2",
1010
"license": "AGPL-3",
1111
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
1212
"website": "https://github.com/OCA/stock-logistics-workflow",

stock_move_propagate_first_move/models/stock_move.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ class StockMove(models.Model):
1313
string="First Move",
1414
readonly=True,
1515
help="The original move which generated this one.",
16+
index="btree_not_null",
1617
)
1718
first_picking_type_id = fields.Many2one(
1819
comodel_name="stock.picking.type",
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
* Souheil Bejaoui (ACSONE SA/NV) <[email protected]>
2+
* Adriana Saiz <[email protected]>

stock_move_propagate_first_move/static/description/index.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<?xml version="1.0" encoding="utf-8"?>
21
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
32
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
43
<head>
@@ -9,10 +8,11 @@
98

109
/*
1110
:Author: David Goodger ([email protected])
12-
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
11+
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
1312
:Copyright: This stylesheet has been placed in the public domain.
1413
1514
Default cascading style sheet for the HTML output of Docutils.
15+
Despite the name, some widely supported CSS2 features are used.
1616
1717
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1818
customize this style sheet.
@@ -275,7 +275,7 @@
275275
margin-left: 2em ;
276276
margin-right: 2em }
277277

278-
pre.code .ln { color: grey; } /* line numbers */
278+
pre.code .ln { color: gray; } /* line numbers */
279279
pre.code, code { background-color: #eeeeee }
280280
pre.code .comment, code .comment { color: #5C6576 }
281281
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -301,7 +301,7 @@
301301
span.pre {
302302
white-space: pre }
303303

304-
span.problematic {
304+
span.problematic, pre.problematic {
305305
color: red }
306306

307307
span.section-subtitle {
@@ -411,12 +411,15 @@ <h2><a class="toc-backref" href="#toc-entry-3">Authors</a></h2>
411411
<h2><a class="toc-backref" href="#toc-entry-4">Contributors</a></h2>
412412
<ul class="simple">
413413
<li>Souheil Bejaoui (ACSONE SA/NV) &lt;<a class="reference external" href="mailto:souheil.bejaoui&#64;acsone.eu">souheil.bejaoui&#64;acsone.eu</a>&gt;</li>
414+
<li>Adriana Saiz &lt;<a class="reference external" href="mailto:adriana.saiz&#64;factorlibre.com">adriana.saiz&#64;factorlibre.com</a>&gt;</li>
414415
</ul>
415416
</div>
416417
<div class="section" id="maintainers">
417418
<h2><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h2>
418419
<p>This module is maintained by the OCA.</p>
419-
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
420+
<a class="reference external image-reference" href="https://odoo-community.org">
421+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
422+
</a>
420423
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
421424
mission is to support the collaborative development of Odoo features and
422425
promote its widespread use.</p>

0 commit comments

Comments
 (0)