Wednesday, June 14, 2023
12 changes · master
Enhancements to existing features
When creating or editing service products that are prepaid or billed from timesheets, Odoo now automatically selects Hours as the unit of measure when the timesheet sales app is installed. This reduces manual setup work and helps keep billing and timesheet products configured consistently, while still allowing users to change the unit manually when needed.
Original PR description
- product form view: set 'hours' as the UoM if the service is either prepaid or invoice based on timesheets and if sale_timesheet is installed. - Details: Before this commit, the default UoM was the…
- product form view: set 'hours' as the UoM if the service is either
prepaid or invoice based on timesheets and if sale_timesheet is
installed.
- Details: Before this commit, the default UoM was the same for every
invoice policy or product type selected. With this commit the UoM is
automatically changed to 'Hours' when the product is of type service
and the invoice policy is either prepaid (A) or based on
timesheet (B). The value of the UoM can still be changed manually. The
following corner cases are managed:
- The user edits (or creates) a product, changes its type to
service then to storable/consumable without saving it. The UoM
should then be set to its initial value (before change) or its
default value.
- The user edits (or creates) a product, changes its invoice
policy to A or B then again to another one without saving it. The
UoM should then be set to its initial value (before change) or its
default value.
- The user edits a product of type service with invoice policy set
to A (or B) and UoM that has manually been changed to something
else than 'Hours'. He then modifies the invoice policy to B (or A)
and then again to A (or B) without saving the changes. The UoM should
then be set back to its initial value.
Task-3072818Storage location and operation type barcode reports now use a 4x7 label layout instead of the previous 8x3 format. This makes barcode printing consistent with the desired label sheet format and helps businesses use the correct paper layout without manual adjustments.
Original PR description
Currently, Storage locations and Operations type barcode are printing in 8x3 layout. So in this commit, I have changed Report of Storage locations and Operations type barcode print into 4x7. TaskID - 2579195 Enterprise PR: https://github.com/odoo/enterprise/pull/38901
Point of Sale pricing now uses one clear price status instead of two overlapping fields. This makes price changes easier to manage across discounts, loyalty, sales orders, self-ordering, and French POS certification, reducing confusion and maintenance risk.
Original PR description
*: l10n_fr_pos_cert, pos_discount, pos_loyalty, pos_sale, pos_self_order The `Orderline` model contains the fields: `price_manually_set` and `price_automatically_set`. They are meant to signify what type of price the orderline has: `automatic`, `manual` or `original`. It's very confusing to manage the two fields when in fact they only describe three types of setting the orderline price. This PR replaces the 2 fields with a single one: `price_type`, which will take one of the 3 possible values. Task: 3358265 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Odoo can now target default field values to a specific business object instead of applying them broadly to any screen with a similarly named field. This reduces accidental data being pre-filled in the wrong place and improves consistency when users move between apps.
Original PR description
Purpose ======= The `default_` context key set the default value for a specific field, but currently, for all model having that field. For example, if you navigate in Odoo and you have `default_parent_id` in the context to set the parent_id on `res.partner`, then you go to the knowledge and you create an article, because article also have a `parent_id` field, it will be set to the value in the context, even if this context was set for the `res.partner` model. This change allow us to reduce a lot the collision that can happen (if 2 models have fields with the same name, and if a default_ context key was set for one of those model). A double underscore is used to separate the model and the field (because a field / model can itself contain underscore). Task-3358295
When users reschedule a meeting activity, the Calendar app now opens directly on the meeting's due-date week with the relevant meeting already selected. This reduces extra clicks and helps users quickly confirm or adjust the correct appointment.
Original PR description
**PURPOSE:** Calendar app should open with pop-up opened **SPECIFICATIONS:** When activity of type meeting is edited(Reschedule), he gets a calendar app open on due date's week.The calendar app should be opened with the corresponding meeting highlighted (or the pop-up opened same as if the user has click on it) **LINKS:** Task-2528115 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Cumulative line charts can now begin from an already accumulated value when the chart filters out earlier dated data. This gives business users a more accurate view of trends over a selected time period instead of always starting from zero.
Original PR description
This PR allow line graph to start to the accumulated value at the start of the graph instead of defaulting to 0. --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Attachment image previews no longer show the file name as a hover title in normal use. This removes unnecessary technical information from the interface while keeping it available for debugging contexts.
Original PR description
This commit remove the title on the attachment image widget when not in debug mode. The title gave the name of the file and wasn't really necessary as it is rather a technical info. task 3343366
Recruiter names and job titles now stay neatly within the contact card, even when they are long. The phone icon is hidden when no phone number is available, giving job applicants a cleaner and less confusing experience.
Original PR description
Before this PR, when the recruiter's name and job position were excessively long, it extended beyond the boundaries of the box. And, if the recruiter did not have a phone number, the phone symbol would still be displayed within the box. In this PR, The name and job position of the recruiter were shortened and the space at the bottom of the recruiter's email was minimized. task-3342768
A new automated test confirms that binary fields can safely be used to control available choices in many-to-many tag fields. This helps protect an existing supported behavior used by business apps and reduces the risk of future regressions.
Original PR description
The commit only adds a test which checks that binary field can be used as the domain of many2many tags field. We already have a case in the "account" addon so the test is there to check that the feature is supported. task id: 3336189
Belgian payroll individual accounts are now easier to review and update with inline editing and clearer on-screen interactions. Users also receive notifications while PDFs are being created, reducing uncertainty and removing less helpful information from the workflow.
Original PR description
This commit will simplify the usage of individual accounts by : - adding inline editing, - adding notifications when pdf's are being created - removing non-user friendly informations task - 3143597
The timesheet timer is now easier to control from the keyboard: users can stop it with Enter and see clearer shortcut guidance for starting the timer or adding time. This reduces interruptions while entering timesheet details and makes hidden shortcuts more discoverable.
Original PR description
Before this commit:
- When filling the timer fields (project, task, description), you need
to switch the mouse to stop timer, it breaks the flow and annoy the user
as doing it by just clicking Enter will make him more confortable.
- 'press Enter or a letter to start the timer' wording is confusing as the
user can understand that he can press any letter.
- no indication displayed to let the user know about the existance of
'Shift + [a] shortcut to add {min duration} minutes to the timer'.
After this commit:
- Stopping the timer can be done via Enter button
- 'press Enter or a letter to start the timer' -> 'press Enter or [a] to launch the timer'.
- Display 'press Shift + [A] to add {min duration} minutes' at the right of start/stop timer
button
- When pressing Shift, the message saying 'click on + to add {min duration} minutes was removed.
task-3186662Barcode command reports for warehouse operations are now split into separate printouts instead of being combined into one report. This makes printed barcode sheets clearer and improves page usage so staff can scan and manage locations and operation types more efficiently.
Original PR description
Currently, all operation From barcode command are in single report. In this commit,I have Split both the Operations from barcode commands and now we are printing reports separately. TaskID - 2579195 Community PR: https://github.com/odoo/odoo/pull/116844