[IMP] *: remove 'remove me in master'

This commit is contained in:
Victor Feyens
2020-01-21 14:43:29 +00:00
parent d8c5cc1335
commit d0bcf89c33
4 changed files with 0 additions and 12 deletions
@@ -1,2 +0,0 @@
// This file is kept to avoid breaking assets compilation on instance that didn't run "-u payment".
// TBE TODO: Remove me in master
-1
View File
@@ -8,7 +8,6 @@
<xpath expr="script[last()]" position="after">
<script type="text/javascript" src="/payment/static/lib/jquery.payment/jquery.payment.js"></script>
<script type="text/javascript" src="/payment/static/src/js/payment_portal.js"></script>
<script type="text/javascript" src="/payment/static/src/js/payment_transaction_portal.js"></script>
<script type="text/javascript" src="/payment/static/src/js/payment_form.js"></script>
<script type="text/javascript" src="/payment/static/src/js/payment_processing.js"></script>
</xpath>
-4
View File
@@ -264,10 +264,6 @@ class SaleOrder(models.Model):
])._filter_programs_from_common_rules(self)
return programs
def _get_applied_coupon_program_coming_from_another_so(self):
# TODO: Remove me in master as no more used
pass
def _get_valid_applied_coupon_program(self):
self.ensure_one()
# applied_coupon_ids's coupons might be coming from:
@@ -243,8 +243,3 @@ class TestProgramWithCodeOperations(TestSaleCouponCommon):
self.assertEqual(len(order_bis.order_line), 2, "You should get 1 regular product_B and 1 free product_B")
order_bis.recompute_coupon_lines()
self.assertEqual(len(order_bis.order_line), 2, "Free product from a coupon generated from a promotion program on next order should not dissapear")
def test_on_next_order_reward_promo_program(self):
# TODO: remove me in master, this was never executed due to bad indentation (the method is not indented under the class)
# note that this flow did not worked and was not implemented.. now tested with `test_on_next_order_reward_promotion_program()`
pass