Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Employees
Entity: res.partner.bank
Compute Method: _compute_salary_amount
| Inputs | Method | Outputs |
|---|---|---|
|
+ for bank in self: + if bank.employee_id and bank.employee_id.salary_distribution: + bank.employee_salary_amount, bank.employee_salary_amount_is_percentage = bank.employee_id.get_bank_account_salary_allocation(bank.id) + continue + bank.employee_salary_amount_is_percentage = True + if bank.employee_id.salary_distribution: + bank.employee_salary_amount = bank.employee_id.get_remaining_percentage() + else: + bank.employee_salary_amount = 0 |
|
