New invoice generation setting: User request but paid only (#4740)

This commit is contained in:
Raphael Michel
2025-01-14 13:54:25 +01:00
committed by GitHub
parent ff6b4ae7bf
commit 5cf2f1beef
5 changed files with 21 additions and 4 deletions

View File

@@ -1040,6 +1040,7 @@ DEFAULTS = {
('False', _('Do not generate invoices')),
('admin', _('Only manually in admin panel')),
('user', _('Automatically on user request')),
('user_paid', _('Automatically on user request for paid orders')),
('True', _('Automatically for all created orders')),
('paid', _('Automatically on payment or when required by payment method')),
),
@@ -1052,6 +1053,7 @@ DEFAULTS = {
('paid', _('Automatically after payment or when required by payment method')),
('True', _('Automatically before payment for all created orders')),
('user', _('Automatically on user request')),
('user_paid', _('Automatically on user request for paid orders')),
('admin', _('Only manually in admin panel')),
),
help_text=_("Invoices will never be automatically generated for free orders.")