Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Thai Localization - VAT and Withholding Tax
Entity: personal.income.tax.rate
Compute Method: _compute_amount_accum
| Inputs | Method | Outputs |
|---|---|---|
|
+ for rec in self: + prev_rec = self.filtered(lambda pit, rec=rec: pit.sequence <= rec.sequence) + rec.amount_tax_accum = sum(prev_rec.mapped("amount_tax_max")) |
|
