mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[MIG] account_payment_sale: Migration to 17.0
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user