waha
waha
hi @AntoineVDV when automatic invoice is enabled a successful payment creates an invoice if the payment is made for exemple at 18:33 PST (equivalent to 01:33 UTC of the next...
@AntoineVDV you're right `sale_order_ids` is added to `payment.transaction` in the sale module I added a check to see if the attribute is set on that model
@AntoineVDV sorry I hadn't understood you at first, it's fixed now
@AntoineVDV actually the `_reconcile_after_transaction_done` in payment modifies the invoice date when posting it
I also added the fix in payment to prevent that issue from happening when paying an invoice online when the sales module isn't installed
hi @AntoineVDV I added a fall back to the company timezone if the customer timezone is not set also added the tests
> @HANNICHE-Walid Don't forget to deal with #100440 first. I will not merge this one until you deal with the forward-port. Also, your test does not pass. @AntoineVDV sorry about...
@Feyensv thanks for the feedback I fixed the tests
hi @AntoineVDV I have fixed the PR to take into consideration multiple transacations and added the tests
@smetl even when the user is logged in shouldn't we always use the company tz for invoice creation and posting ?