Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][IMP] shipment_advice_planner: db column clean up #154

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion shipment_advice_planner/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
from . import models
from . import wizards
from .hooks import pre_init_hook
1 change: 0 additions & 1 deletion shipment_advice_planner/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
"wizards/shipment_advice_planner.xml",
],
"demo": [],
"pre_init_hook": "pre_init_hook",
}
35 changes: 0 additions & 35 deletions shipment_advice_planner/hooks.py

This file was deleted.

10 changes: 0 additions & 10 deletions shipment_advice_planner/models/stock_picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,3 @@ def _search_can_be_planned_in_shipment_advice(self, operator, value):
("state", "!=", "assigned"),
("picking_type_code", "!=", "outgoing"),
]

def init(self):
self.env.cr.execute(
"""
CREATE INDEX IF NOT EXISTS
stock_picking_can_be_planned_in_shipment_advice_index
ON stock_picking(can_be_planned_in_shipment_advice)
WHERE can_be_planned_in_shipment_advice is true;
"""
)
11 changes: 7 additions & 4 deletions shipment_advice_planner/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@

/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
:Copyright: This stylesheet has been placed in the public domain.

Default cascading style sheet for the HTML output of Docutils.
Despite the name, some widely supported CSS2 features are used.

See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
Expand Down Expand Up @@ -274,7 +275,7 @@
margin-left: 2em ;
margin-right: 2em }

pre.code .ln { color: grey; } /* line numbers */
pre.code .ln { color: gray; } /* line numbers */
pre.code, code { background-color: #eeeeee }
pre.code .comment, code .comment { color: #5C6576 }
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
Expand All @@ -300,7 +301,7 @@
span.pre {
white-space: pre }

span.problematic {
span.problematic, pre.problematic {
color: red }

span.section-subtitle {
Expand Down Expand Up @@ -422,7 +423,9 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<a class="reference external image-reference" href="https://odoo-community.org">
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
</a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
Expand Down
Loading