Skip to content
Open
Show file tree
Hide file tree
Changes from 4 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
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ repos:
- id: oca-gen-addon-readme
args:
- --addons-dir=.
- --branch=18.0
- --branch=19.0
- --org-name=OCA
- --repo-name=stock-logistics-warehouse
- --if-source-changed
Expand Down
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ manifest-required-authors=Odoo Community Association (OCA)
manifest-required-keys=license
manifest-deprecated-keys=description,active
license-allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
valid-odoo-versions=18.0
valid-odoo-versions=18.0,19.0

[MESSAGES CONTROL]
disable=all
Expand Down
2 changes: 1 addition & 1 deletion .pylintrc-mandatory
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ manifest-required-authors=Odoo Community Association (OCA)
manifest-required-keys=license
manifest-deprecated-keys=description,active
license-allowed=AGPL-3,GPL-2,GPL-2 or any later version,GPL-3,GPL-3 or any later version,LGPL-3
valid-odoo-versions=18.0
valid-odoo-versions=18.0,19.0

[MESSAGES CONTROL]
disable=all
Expand Down
6 changes: 3 additions & 3 deletions account_move_line_stock_info/README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
============================
Account Move Line Stock Info
============================
=====================================
Account Move Line Migration (Odoo 19)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep the name as it is. "Account Move Line Stock Info"

=====================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Expand Down
4 changes: 2 additions & 2 deletions account_move_line_stock_info/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# © 2016 ForgeFlow S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Account Move Line Stock Info",
"version": "18.0.1.0.0",
"name": "Account Move Line Migration (Odoo 19)",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep the name as it is. "Account Move Line Stock Info"

"version": "19.0.1.0.0",
"depends": ["stock_account"],
"author": "ForgeFlow," "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/stock-logistics-warehouse",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
def migrate(cr, version):
"""Post-migration script for version 19.0.1.0."""
pass
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
def migrate(cr, version):
"""Pre-migration script for version 19.0.1.0."""
pass
3 changes: 1 addition & 2 deletions account_move_line_stock_info/models/stock_move.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 2019 ForgeFlow S.L. (https://www.forgeflow.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from odoo import api, fields, models
from odoo import fields, models


class StockMove(models.Model):
Expand All @@ -13,7 +13,6 @@ class StockMove(models.Model):
copy=False,
)

@api.model
def _prepare_account_move_line(
self, qty, cost, credit_account_id, debit_account_id, svl_id, description
):
Expand Down
6 changes: 3 additions & 3 deletions account_move_line_stock_info/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>Account Move Line Stock Info</title>
<title>Account Move Line Migration (Odoo 19)</title>
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep the name as it is. "Account Move Line Stock Info"

<style type="text/css">

/*
Expand Down Expand Up @@ -360,8 +360,8 @@
</style>
</head>
<body>
<div class="document" id="account-move-line-stock-info">
<h1 class="title">Account Move Line Stock Info</h1>
<div class="document" id="account-move-line-migration-odoo-19">
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep the name as it is. "Account Move Line Stock Info"

<h1 class="title">Account Move Line Migration (Odoo 19)</h1>

<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
Expand Down