Daily updates from Odoo
Wednesday, December 16, 2015
5 changes · master
Enhancements to existing features
The sales margin feature has been modernized and reorganized to align with Odoo's newer framework standards. This improves maintainability and keeps margin reporting and tests reliable without changing the core business workflow.
Original PR description
Task: https://www.odoo.com/web#id=13378&view_type=form&model=project.task&menu_id=3942&action=327 Pad: https://pad.odoo.com/p/r.bSJGE9rAhvMGNKC7
The stock barcode app now matches the stock dashboard by hiding internal transfer options when multi-location management is not enabled. This reduces confusion for warehouse users and adds automated checks to help keep the behavior reliable.
Original PR description
- Add tests - Small fixes
Resolved issues and error corrections
This fix prevents calendar drag-and-drop from changing dates when the related date field is read-only, helping preserve completed business records such as sales, manufacturing, and purchase orders. It also shortens overly long breadcrumb names so navigation remains usable and visually consistent.
Original PR description
Hello,
Task: [Calendar] read-only and invisible modifiers
i have FIX the following points:
-> when the record's name field contains more values the breadcrumb is getting expanded, it should cut after 45Char length(approx when it reaches right edge of More button) with ...
-> if the SO/MO/PO is done, date field is readonly so we cannot change it. but dragging/dropping it in calendar view changes date value, it should not
For more details:
https://www.odoo.com/web#id=5920&view_type=form&model=project.task&menu_id=3942&action=327
https://pad.odoo.com/p/r.woKAaZxe03Gi5G80
Thanks
DarshanCode cleanup and technical improvements
The signup and related login account functionality has been reorganized and updated to use Odoo's newer internal framework. This should make the authentication signup area easier to maintain and evolve, with limited direct impact on day-to-day users.
Original PR description
Task : https://www.odoo.com/web?#id=12144&view_type=form&model=project.task&action=327 Pad : https://pad.odoo.com/p/r.RK97wtM3mY68aNre
The pricelist calculation code was reorganized into smaller, clearer parts without changing the intended business behavior. This makes pricing logic easier to maintain and easier for other modules to extend in the future.
Original PR description
Logic factored out from method '_price_get_multi' of product.pricelist model: - fetching pricelist items for specific version and products - checking if rule is applicable for specific product - calcaulation of price modification by specific rule - getting base price from specific rule - getting base price from partner section - getting base price from other pricelist - getting base price from file of product model - getting correct pricelist.version for specified pricelist and date Reasons: - better structure of code. - To ease way other modules could extend pricelist functionalyty.