Daily updates from Odoo
Thursday, October 10, 2019
3 changes
New functionality added to Odoo
The website now tracks products visitors spend time viewing and uses that history to show a recently viewed products carousel. This helps shoppers return to items of interest more easily, including after logging in or creating an account, while excluding products already in the cart.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo can now be configured to use a custom session storage provider instead of only local file-based storage. This helps businesses run multiple Odoo servers more reliably without depending on a shared filesystem.
Original PR description
Hey there, currently odoo uses the `FilesystemSessionStore` of werkzeug to save and manage the user sessions. If you want to run more than one odoo instance on different machines you have to use a…
Hey there, currently odoo uses the `FilesystemSessionStore` of werkzeug to save and manage the user sessions. If you want to run more than one odoo instance on different machines you have to use a shared filesystem. To avoid these you want to save the session in the database or another servers. Other tools allow to define a specific session store. With this commit I add the ability to define the class to use. With this change you can set the config option `session_store` to the class of the session store (with the python module path). Also you can set this class via the option `--session-store`. Why I did this in the core: First I created a new addon which replaces the `session_store`. But this overwritings are only loaded if the module is already installed and the database is set via the commandline or config. If the module is installed or the database is picked by the selection in the browser then the function is already loaded and the overwriting doesn't work anymore. [See my question in odoo forum.](https://www.odoo.com/fr_FR/forum/help-1/question/replace-session-store-of-odoo-werkzeug-86843)
Odoo now includes a Cash Flow report using the indirect method, a format commonly preferred by accounting teams. This makes it easier for businesses to review cash flow starting from profit and loss figures while reusing existing investing and financing activity data.
Original PR description
So far Odoo just provides Cash Flow - Direct Method. Though it can be quickly configure it is claimed that this report is the least used of all.  Now we are adding the Cash Flow - Indirect Method. This report is claimed to be the most widely used among accounting people. Indirect Method is fetched from Income and then some transactions have to be added or subtracted depending on the nature of the activity. Below there is an exhibit of that report. Cash Flow for Investing and Financing Activities is directly fetch from Odoo's original report for Cash Flow. As Profit (loss) is fetch from Profit and Loss report too. In order to not repeat the same info in both reports.  This PR depends on https://github.com/odoo/odoo/pull/35522.