combo/tests
Benjamin Dauvergne ccb2cb8500 lingo: check real payment status of remote_item when shown or paid (#53186)
Currently the remote_item.paid attribute comes from what the remote
regie is providing through a web service. But a remote_item can be
already paid if a transaction with a paid status (eopayment.PAID or
eopayment.ACCEPTED) already exist.

This patch add a RemoteItem.update_paid(regie, remote_items) which
update bunch of remote_item(s) by querying the correponding paid
transactions.

The methods Regie.get_invoices() and Regie.get_invoice() get a new
parameter update_paid=False, which is set to true in cells and views
which display or allow paying a remote item.
2021-04-15 21:24:01 +02:00
..
data general: add possibility to attach a picture to pages (#16337) 2017-05-19 16:11:11 +02:00
templates-1/combo add combo templatetags in builtins (#37273) 2019-11-20 16:53:32 +01:00
__init__.py tests: add required __init__ file so tests can import others 2016-07-13 09:21:41 +02:00
conftest.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
settings.py trivial: apply black 2021-02-15 18:02:39 +01:00
test_assets.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_calendar.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_cells.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_cron.py tests: do not run dataviz job in cron tests 2021-04-13 14:43:05 +02:00
test_dashboard.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_dataviz.py dataviz: add stacked bar percent chart type (#52845) 2021-04-13 13:49:38 +02:00
test_ensure_jsonbfields.py general: ensure jsonfields are using jsonb columns (fixup, #52915) 2021-04-12 14:11:01 +02:00
test_fargo.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_gallery_cell.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_import_export.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_kb.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_lingo_cells.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_lingo_manager.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_lingo_payment.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_lingo_remote_regie.py lingo: check real payment status of remote_item when shown or paid (#53186) 2021-04-15 21:24:01 +02:00
test_manager.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_maps_cells.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_maps_manager.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_newsletters_cell.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_notification.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_pages.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_profile.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_public.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_public_templatetags.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_publik.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_pwa.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_requests.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_search.py search: configure user search result template (#52439) 2021-04-12 15:26:21 +02:00
test_spooler.py spooler: add decorator to simplify use of spooler (#52221) 2021-03-22 15:19:42 +01:00
test_utils.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_wcs.py misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
test_wcs_templatetags.py misc: add |getlist template filter (#51184) 2021-03-01 14:11:40 +01:00