mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[FIX] - include date_end in the period if the product is_autorenew
This commit is contained in:
committed by
Thomas Binsfeld
parent
639d2ee524
commit
326ced58c9
@@ -129,7 +129,7 @@ class TestSaleOrder(TransactionCase):
|
||||
self.order_line1.recurring_invoicing_type,
|
||||
self.product1.recurring_invoicing_type,
|
||||
)
|
||||
self.assertEqual(self.order_line1.date_end, Date.to_date('2019-01-01'))
|
||||
self.assertEqual(self.order_line1.date_end, Date.to_date('2018-12-31'))
|
||||
|
||||
def test_check_contract_sale_partner(self):
|
||||
"""Can't link order line to a partner contract different then the
|
||||
|
||||
Reference in New Issue
Block a user