Commit 3b002f0
committed
[FIX] l10n_ar: 5614/2024: Tax Breakdown on B2C (0.0 taxes)
When doing a Invoice B to exempts customer we have a problem: the RG
Leyend new table is not showed, This because if the VAT Content and
other taxes were 0. After checking with ARCA Online PDF report, and
some feedback with customers we found out that the Leyend it is
always shown and the VAT content line is always shown, even if VAT
taxes are 0.0. Only need to hide the other taxes line if this one is 0.0
We also add a new key to the dictionary that prepare the tax detail values
to properly identify the group of taxes. If not we will need to depend on
the translations of the name to check which group it is.
Update unit test to follow this new approach and also add a unit case
where vat tax 0.0 and not other taxes are added.
opw-4814730
closes odoo#214866
Signed-off-by: Antoine Dupuis (andu) <[email protected]>1 parent 0caa44c commit 3b002f0
2 files changed
+38
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
407 | 406 | | |
408 | 407 | | |
409 | 408 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
| 273 | + | |
274 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
275 | 281 | | |
276 | 282 | | |
277 | 283 | | |
| |||
282 | 288 | | |
283 | 289 | | |
284 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
285 | 321 | | |
286 | 322 | | |
287 | 323 | | |
| |||
0 commit comments