Wednesday, April 24, 2024
4 changes
1 change
Enhancements to existing features
Fleet service records created from vendor bills now show the related bill, calculate the bill amount correctly, and protect billed costs from manual changes or deletion. This improves consistency between fleet expenses and accounting records, with clearer bill status shown through the smart button color.
Original PR description
With this commit, the bill's amount is correctly computed. If the service log is generated by a bill, the cost is readonly to be consistent. If the service log is generated by a bill, it can't be deleted. The bill smartbutton's color is related to the bill's state. task-3783017
3 changes
Enhancements to existing features
Odoo has added support for customer statements in the Indian accounting module. This enhancement automatically installs a customer statement feature that allows businesses to export partner ledger information, making it easier to generate and share customer account statements with clients in India.
Original PR description
This enhancement introduces support for customer statements in the Indian localization of the accounting package. The update includes an automatic installation of the customer statement module, which essentially exports the partner ledger. Task link: https://www.odoo.com/web#model=project.task&id=3774149 task-3774149
This update enhances the room booking experience by adding an "End Booking" button that allows users to mark a room as free without deleting the booking record, enabling better tracking. Button labels have been clarified ("Start Now" instead of "Book Now", "Add a Booking" instead of "Schedule Booking") to reduce user confusion, and the interface has been refined with updated icons, button colors, and improved alignment of the remaining time display.
Original PR description
Purpose: -------- Add a button in the front end view that allows users to end the current booking (to make the room appear as free), as the only way to do it for now is to delete the booking, which is not suitable if one would like to track the bookings in the backend view. The "book now" button is reworded to "start now" and the "schedule booking" button to "Add a booking" because it was observed that users were sometimes confused with these two buttons. The "booked room" icon has been changed to not use the same as in the new "end booking "button. Colors of the buttons have been updated. The remaining time is now centered vertically in all display formats (it was not always the case). Task-3792497
This update adds comprehensive testing for email server configurations by running a real SMTP server during tests. Previously, a bug in TLS certificate authentication went undetected for weeks until a customer reported it. The new test suite validates all possible email server setup scenarios, including secure connections, preventing similar issues from reaching customers in the future.
Original PR description
A previous commit broke the smtp authentication using a TLS certificate and we only figured it out after that a client created a support ticket several weeks later. It turns out that there are actually no test that do validate the various ways outgoing mail servers can be configured. In this work we add a test suite where a local smtp server is started and controlled during the test execution. This makes it possible to test all the possible outgoing mail server configurations, including TLS. We chose [aiosmtpd](https://aiosmtpd.readthedocs.io) which is a pure-python lightweight SMTP server that aims at providing a programming API that is well suited to be used inside unittests. [task-3703209](https://www.odoo.com/web#id=3703209&menu_id=4722&action=333&active_id=4872&model=project.task&view_type=form) [opw-3640374](https://www.odoo.com/web#id=3640374&menu_id=6444&action=5050&model=project.task&view_type=form&cids=1)