[FIX] sale,payment: remove useless comments
DBO won't be here anymore 👋 This is my last commit, I had to find something harmless. Task-NaNNaNNaNNaNNaNNaN closes odoo/odoo#56789 X-original-commit: fc92728fb2aa306bf0e01a7f9ae1cfa3c1df0e10 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
@@ -1134,7 +1134,6 @@ class PaymentToken(models.Model):
|
||||
"""
|
||||
@TBE: stolen shamelessly from there https://www.paypal.com/us/selfhelp/article/why-is-there-a-$1.95-charge-on-my-card-statement-faq554
|
||||
Most of them are ~1.50€s
|
||||
TODO: See this with @AL & @DBO
|
||||
"""
|
||||
VALIDATION_AMOUNTS = {
|
||||
'CAD': 2.45,
|
||||
|
||||
@@ -263,7 +263,7 @@ class CustomerPortal(CustomerPortal):
|
||||
|
||||
return request.redirect(order_sudo.get_portal_url(query_string=query_string))
|
||||
|
||||
# note dbo: website_sale code
|
||||
# note: website_sale code
|
||||
@http.route(['/my/orders/<int:order_id>/transaction/'], type='json', auth="public", website=True)
|
||||
def payment_transaction_token(self, acquirer_id, order_id, save_token=False, access_token=None, **kwargs):
|
||||
""" Json method that creates a payment.transaction, used to create a
|
||||
|
||||
@@ -64,7 +64,7 @@ class TestSaleOrder(TestSaleCommon):
|
||||
""" Test the sales order flow (invoicing and quantity updates)
|
||||
- Invoice repeatedly while varrying delivered quantities and check that invoice are always what we expect
|
||||
"""
|
||||
# DBO TODO: validate invoice and register payments
|
||||
# TODO?: validate invoice and register payments
|
||||
self.sale_order.order_line.read(['name', 'price_unit', 'product_uom_qty', 'price_total'])
|
||||
|
||||
self.assertEqual(self.sale_order.amount_total, 1240.0, 'Sale: total amount is wrong')
|
||||
|
||||
Reference in New Issue
Block a user