Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
ed12e2f5 by Cédric Krier at 2024-08-01T23:24:54+02:00
Set only the missing tax amount on the current period

The ratio is computed for all the existing periods with payments, so when
updating for a new period only the part that is not yet on a period should be
modified.

Closes #13433
- - - - -
4c422519 by Cédric Krier at 2024-08-01T23:26:49+02:00
Update tax cash only for invoices with payment lines modified

Closes #13433
- - - - -
ff2db264 by Cédric Krier at 2024-08-01T23:43:43+02:00
Add SQL constraint to ensure only one tax line without period

TaxLine.update_cash_basis relies on having only one line without period per
grouping key so it is safer to make it a SQL constraint.
- - - - -


2 changed files:

- modules/account_tax_cash/account.py
- modules/account_tax_cash/message.xml


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/4840a1e96212f31f84e6bc5ad4eda64c2d74099a...ff2db2647e19fcfe9258dee06eca6dbcc6e666df

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/4840a1e96212f31f84e6bc5ad4eda64c2d74099a...ff2db2647e19fcfe9258dee06eca6dbcc6e666df
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to