mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
fixup! account_move_line_sale_info 13.0.1.0.3
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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)
|
||||
@@ -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)]
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user