Thursday, June 25, 2015
6 changes
Enhancements to existing features
This change adds cleaner extension points for calculating a sales line's base price and quantity. It makes it easier to support promotions such as extra discounts or buy-two-get-one offers without changing core sales code.
Original PR description
With these hooks, additions like a second or third discount, or 3x2 like offers, can be made in a clean way, without rewriting functions in the core. Also made a PR for 8.0: https://github.com/odoo/odoo/pull/1470
References to the former OpenERP name were updated to Odoo in the mail followers area. This keeps product wording consistent with the current company and product brand, with no expected change to day-to-day functionality.
Original PR description
Change OpenERP to Odoo
Resolved issues and error corrections
Product shortcut buttons now show more accurate counts for related sales and purchases. The Sales button counts confirmed sale order lines for the product, while the Purchases button shows related purchase order lines, helping users better understand product activity at a glance.
Original PR description
The number displayed in the Sales button shows the number of sale order lines confirmed for the current product. closes:#7107
This fixes an error that could occur when moving a sales order into the waiting stage. The change helps keep sales order processing from being interrupted by a system-level argument mismatch.
Original PR description
File "/opt/openerp/openerp/osv/orm.py", line 374, in function_proxy
return attr(self._cr, self._uid, [self._id], _args, *_kwargs)
File "/opt/openerp/openerp/addons/sale_stock/sale_stock.py", line 222, in action_wait
res = super(sale_order, self).action_wait(cr, uid, ids, context=context)
TypeError: action_wait() got an unexpected keyword argument 'context'This update fixes an error that could occur in analytic plans when a journal was not set. It helps users complete accounting-related work more reliably by preventing an avoidable interruption.
Code cleanup and technical improvements
The Notes module was migrated to Odoo's newer internal framework. This keeps the app easier to maintain and helps ensure continued reliability without changing the day-to-day user experience.
Original PR description
- Task: https://www.odoo.com/web/#id=13294&view_type=form&model=project.task&action=333&active_id=131