[IMP] *: remove 'remove me in master'
This commit is contained in:
@@ -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
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user