Monday, February 11, 2019
3 changes · master
New functionality added to Odoo
Businesses can now charge for access to eLearning courses by linking a course to a sellable product. When a customer buys the product and the order is confirmed, they are automatically enrolled in the course, with added tools to manage attendees and invite learners.
Original PR description
Purpose of this merge is to be able to sell courses [1] when using the slides / eLearning platform. This commit adds sale capabilities on a slide.channel. A slide.channel can now have the 'payment' visibility, that requires a 'product_id' configured on the channel. When a customer purchases a product linked to a channel, he is added to the members of the channel (see slide.channel.partner_ids) when his order is confirmed. This merge is linked to task ID 1937160 and PR #30914. Future tasks will improve homepage of channels and clearly show public, private and payment based channels [2]. [1] see task ID 1902304 (main eLearning task) PR #29876; [2] see task ID 1936153 (new homepage for slides) PR #30770;
Users can now set an out-of-office message in their preferences, making their availability visible in chat conversations and @mention suggestions. When an employee has an active leave, the leave message and return date take priority, helping colleagues understand availability without extra follow-up.
Original PR description
*: base, bus, mail_bot, test_mail Before this task, it was not easy to tell when a user is not available (or is on holiday) from conversations, such as from chat windows. With this task, a user can now tell that he is out-of-office from the user menu preferences, by defining an an out-of-office message. This information will be displayed to other users from chat conversations and mention suggestions (i.e. with `@`). Also, the computation of the user `im_status` has been changed when he has an active leave: an out-of-office message can be set on the leave, and this will be displayed on conversations instead of the user's out-of-office message from the user menu preferences. Task: 1856205
Resolved issues and error corrections
This fix restores FedEx delivery functionality after a previous software library change caused shipping requests and related cost calculations to fail. It corrects how FedEx data is read and ensures shipment documents are handled properly, reducing disruption for businesses using FedEx shipping in Odoo.
Original PR description
Since commit https://github.com/odoo/enterprise/commit/8744f072168d653a4dfa9d6e0cf62c80321d2688 that changes the library 'suds' to 'zeep', fedex delivery didn't work anymore: - Some call to self.client.factory haven't been changed to 'self.factory' - Values returned by the library zeep are in 'Decimal' instead of float. so computation of currency are not working. - CompletedShipmentDetail.ShipmentDocuments returns an empty list instead of not being present.