Friday, September 27, 2024
2 changes
1 change
Enhancements to existing features
Demo payroll data now includes two local banks with appropriate names and BIC codes for multiple country payroll localizations. This makes sample payroll setups feel more realistic and easier to evaluate in demonstrations or testing.
Original PR description
* = au, bd, eg, hk, jo, ke, lt, lu, ma, mx, nl, pl, ro, sk, and us. This PR improves the demo data for multiple l10n payroll modules by adding two banks (`res.bank`) with local bank names and BIC codes to each localization.
1 change
Enhancements to existing features
The web interface now lets teams define custom visual styles for fields that show remaining days. This makes it easier to highlight time-sensitive records according to each business process, such as marking items as healthy or urgent based on configured day thresholds.
Original PR description
This commit adds the ability to customize the classes of the `remaining_days` field through the `classes` option.
Usage:
```xml
<field
name="fname"
widget="remaining_days"
options="{'classes': {'success': 'days >= 10'}"
/>
```
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr