Daily updates from Odoo
Monday, March 19, 2018
7 changes · master
New functionality added to Odoo
Adds an option to show dates and times as a time difference from now, such as “1 month” or “5 seconds,” instead of a full date. This can make customer-facing pages and reports easier to read when recent timing matters.
Original PR description
[ADD] tools, qweb: possibility to format a date with the delta from now
e.g.
if today is 15/02/2017,
`format_date` now gives the possibility to format
`15/01/2017`
as
`1 month`.
`from_now`accepts either:
- a boolean. When set to True, the date must be converted to this "from now" format
- a dict, containing the kwargs to pass to relativedelta. It format the date to the format
"from now" only if the delta is smaller than what specified in this dict
(to allow using this `from now` format until the delta is greater than 2 days, for instance.)
e.g.
passing {'days': 2} as the `from_now` arg will format the date to
the `from_now` format only if the date is not older than 2 days ago.
The opportunity is took to create `format_datetime`, as well
e.g.
if now is 15/02/2017 10:00:00
`format_date` can format 15/02/2017 09:59:55
as `5 seconds`.
--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prOdoo now includes Belgium's states and regions in its country data. This helps Belgian companies and users select accurate regional information in addresses and localization workflows.
Original PR description
Current behavior before PR: The Belgian states are not listed/shown in Odoo. Desired behavior after PR is merged: The Belgian states are shown in Odoo. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Event pages can now display schedules in the visitor's own timezone, while still allowing the event creator's default timezone to be shown. Visitors can also choose another timezone from a popup list and see the event time update immediately, making event planning clearer for international audiences.
Original PR description
Task: https://www.odoo.com/web?#id=32555&view_type=form&model=project.task&action=333&active_id=131&menu_id=4720 Pad:https://pad.odoo.com/p/r.58f42807d8cf0bda9d3aadf0cb646af4 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
This adds a small icon on supported property fields so users can view the values configured for each company. It helps multi-company users understand and verify company-dependent settings directly from the form, reducing confusion when values differ by company.
Original PR description
Task: https://www.odoo.com/web?#id=12208&view_type=form&model=project.task&action=327&menu_id=4720 Pad: https://pad.odoo.com/p/r.1ab2f4ade088a906391700561b507a07 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
Event organizers can now send email notifications when important event details change, such as the event name, location, start date, end date, or cancellation status. This helps attendees stay informed and reduces confusion when schedules are updated.
Original PR description
…ent schedule. Task : https://www.odoo.com/web?#id=21241&view_type=form&model=project.task&action=327&menu_id=4720 Pad : https://pad.odoo.com/p/r.fw8zrrv4O9P4Qdrd
This change adds shared message templates used when posting communications across sales, purchasing, inventory, manufacturing, events, and timesheets. It helps make automated messages more consistent and includes fixes to purchasing email behavior and stock picking assignment handling.
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 **Task:** https://www.odoo.com/web#id=19637&view_type=form&model=project.task&action=327&menu_id=4720 **Pad link:** https://pad.odoo.com/p/r.1984de291877d0e85fa71f32f3ef1bf6 …post - Included Modules are - sale - purchase - purchase_requisition - event_sale - stock - mrp - sale_stock - sale_timesheet
Point of Sale can now assign fiscal positions to both shops and customers, helping sales apply the right tax treatment automatically. This reduces manual corrections and supports more accurate checkout and order processing.
Original PR description
TASK : https://www.odoo.com/web?#id=11404&view_type=form&model=project.task&menu_id=3942&action=327 PAD : https://pad.odoo.com/p/r.onCx0SYmwpXjbJVJ