OCA / l10n-thailand

Thai localization
GNU Affero General Public License v3.0
50 stars 65 forks source link

[16.0][FIX] l10n_th_account_tax: no rounding wht same as standard #459

Open Saran440 opened 3 months ago

Saran440 commented 3 months ago

Step to test:

  1. Create 2 bill and use amount from image with 1% WHT Selection_003 Selection_004

  2. Register payment from 2 bills. it show 23,891.63, payment diff = 241.33 Selection_005

  3. After that, change payment date. it will recompute and get amount 23,891.62, payment diff = 241.34 Selection_006

payment diff should 241.33. it because we rounding wht each line. This PR fixed it to not rounding

OCA-git-bot commented 3 months ago

Hi @kittiu, some modules you are maintaining are being modified, check this out!