Daily updates from Odoo
Thursday, August 27, 2015
8 changes
New functionality added to Odoo
Backend users can now scan barcodes directly in form views to trigger configured actions, including buttons and common form actions such as save, cancel, or create new. This makes barcode-driven workflows faster and easier to automate in operational screens.
Original PR description
- Trigger a button's action by scanning a barcode using the button attribute 'barcode_trigger' - Add an onchange-like mechanism allowing to run server-side code when a barcode is scanned in a form view - Call form view's methods save, cancel and new by scanning barcodes
Adds a new option to display yes/no fields as buttons with labels and confirmation messages that can change based on the current state. This helps teams create clearer actions in forms and improves the user experience around important toggles, including user signup status.
Original PR description
Task : https://www.odoo.com/web#id=7767&view_type=form&model=project.task&menu_id=3942&action=327 Pad : https://pad.odoo.com/p/r.lFw6dVRQWxXWZUJk Note : Make a button of Boolean field using this widget. Set dynamic string of button on "true and false" state and dynamic confirmation message using options parameter.
A new configurable button widget lets teams show clearer activate or deactivate actions with custom labels and confirmation messages. This makes status changes in forms easier to understand and helps prevent accidental changes.
Original PR description
…and pass label for button and confirmation message in options value for web-client Task : https://www.odoo.com/web#id=7767&view_type=form&model=project.task&menu_id=3942&action=327 Pad : https://pad.odoo.com/p/r.lFw6dVRQWxXWZUJk
Enhancements to existing features
The manufacturing bill of materials screen was cleaned up by removing a redundant name field, clarifying the code field label, and adding a new list view. This makes BOM records easier for users to identify and manage in manufacturing workflows.
Original PR description
…ew tree view in mrp.bom Task: https://www.odoo.com/web#id=19534&view_type=form&model=project.task&menu_id=3942&action=327 Pad: https://pad.odoo.com/p/r.PGxbD3bgIEizLl1S
Odoo now chooses the best matching fiscal position for a customer based on their country, state, and ZIP code. This helps businesses apply the right tax and accounting rules more accurately with less manual setup.
Original PR description
…elected country, state, zip values for a partner through onchange method. - Added state_ids(m2m), zip_from, zip_to fields to 'account.fiscal.position' model - Added constraint to allow only valid zip range values(ie, zip_from < zip_to) - Added on_change methods for 'country_id' and 'country_group_id' fields of 'account.fiscal.position' model - Removed constraint which was restricting users from entering both country and country group(as it will not be needed after introducing above 2 onchange methods) - Overriden 'onchange_state' method of 'res.partner' model to set correct 'Fiscal Position' - Passed context from 'res.partner' view's 'state_id' field so that it can be used to determine 'Fiscal Position' TASK : https://www.odoo.com/web#id=13064&view_type=form&model=project.task&action=333&active_id=131 PAD : https://pad.odoo.com/p/r.BJJJ2Phu5TGEtIm3
Resolved issues and error corrections
Point of Sale now correctly includes tax for the full quantity when customers buy more than one of the same product. This prevents underpaid orders from being created in the backend and helps keep payment totals accurate.
Original PR description
Before this, creating an order with two of the same products would result in a total price to pay which would only include the tax of one product. This would cause point of sale orders in the backend which weren't fully paid.
The import language wizard now validates uploaded translation files and shows clearer warnings when an import fails. The file upload field was also fixed so users can reselect the same file after clearing it, reducing confusion during translation imports.
Original PR description
Fixed generic problem in separated commits <b>Task:</b> https://www.odoo.com/web#id=12446&view_type=form&model=project.task&menu_id=3942&action=327 <b>Pad:</b> https://pad.odoo.com/p/r.D3HP8x4xYvT6HG1d
Code cleanup and technical improvements
Company bank accounts are now managed through bank journals, making banking setup and statement handling more centralized. The update also adds clearer choices for how bank statements are imported or synchronized, improving day-to-day accounting workflows.
Original PR description
Use account.journal of type bank to store a bank account belonging to the company. Goes along with https://github.com/odoo/odoo/pull/7077