[MIG] account_payment_sale: Migration to 17.0

This commit is contained in:
David Ramia
2023-11-26 20:22:45 +01:00
parent 32e09ecb89
commit 6d4af78f71
2 changed files with 1 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
{
"name": "Account Payment Sale",
"version": "16.0.1.0.0",
"version": "17.0.1.0.0",
"category": "Banking addons",
"license": "AGPL-3",
"summary": "Adds payment mode on sale orders",

View File

@@ -10,7 +10,6 @@ class TestSaleOrder(CommonTestCase):
def create_sale_order(self, payment_mode=None):
with Form(self.env["sale.order"]) as sale_form:
sale_form.partner_id = self.base_partner
sale_form.pricelist_id = self.env.ref("product.list0")
for _, p in self.products.items():
with sale_form.order_line.new() as order_line:
order_line.product_id = p