fixup! account_move_line_sale_info 13.0.1.0.3

This commit is contained in:
AaronHForgeFlow
2021-10-29 16:46:21 +02:00
parent 1e6fd39b8c
commit a093513e65
3 changed files with 2 additions and 14 deletions

View File

@@ -6,7 +6,7 @@
"summary": "Introduces the purchase order line to the journal items",
"version": "13.0.1.0.3",
"author": "ForgeFlow S.L., " "Odoo Community Association (OCA)",
"website": "http://www.github.com/OCA/account-financial-tools",
"website": "https://github.com/OCA/account-financial-tools",
"category": "Generic",
"depends": [
"account_move_line_stock_info",

View File

@@ -1,12 +0,0 @@
# Copyright 2020 ForgeFlow <http://www.forgeflow.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
from openupgradelib import openupgrade
_field_renames = [
("account.move.line", "account_move_line", "sale_id", "sale_order_id",),
]
@openupgrade.migrate()
def migrate(env, version):
openupgrade.rename_fields(env, _field_renames)

View File

@@ -123,7 +123,7 @@ class TestAccountMoveLineSaleInfo(common.TransactionCase):
return product
def _create_sale(self, line_products):
""" Create a sale order.
"""Create a sale order.
``line_products`` is a list of tuple [(product, qty)]
"""