Daily updates from Odoo
Friday, August 2, 2019
13 changes
New functionality added to Odoo
Repair orders now include tags and responsible users, making it easier to classify work and assign ownership. The Repair app also gains parts filtering plus graph and pivot reporting views, helping teams analyze repair activity more effectively.
Original PR description
Task: https://www.odoo.com/web?#id=1945878&action=327&model=project.task&view_type=form&menu_id=4720 Pad: https://pad.odoo.com/p/r.43251e7b241dfdc3350864396f58708d 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 update adds a lazy translation option so shared labels and messages can be translated correctly when the user's language is known. It helps ensure multilingual text appears in the right language across affected business areas without requiring duplicated wording.
Original PR description
Introduces the method `_lt`
The translation method is now evaluated lazily.
It allows to declare global variables with translatable content
i.e. this code will now work:
```python
LABEL = _lt("User")
def _compute_label(self):
context = {'lang': self.partner_id.lang}
self.user_label = LABEL
```
Alternative patch for odoo/enterprise#3665
Doing `self.assertEqual(str(language), "Klingon", ...` is needed as comparing `language` with `"Klingon"`, returns an error:
`AssertionError: Klingon != 'Klingon' : The translation should not be applied yet `Enhancements to existing features
This update standardizes how images are stored and displayed across multiple Odoo apps, including clearer size names and a new medium-large image option. It improves consistency and efficiency for image-heavy records such as contacts, employees, products, fleet vehicles, badges, and website shop categories, while reducing unnecessary stored image versions where they are not needed.
Original PR description
Merge commit for PR #34925 Related enterprise PR odoo/enterprise/pull/4865 The goal is to: - Use `image.mixin` on the models currently storing multiple image sizes. - Create Image field and use it on models where mixin is overkill. - Rename the image fields to contain the pixel number in the name. - Add 512 size. - Clean up `image.mixin`, zoom field, variant fields. Note: models that currently store only a single size image will not be changed in this PR.
Credit notes and refunds are now clearer across invoices, bills, dashboards, and PDFs. The update makes refund documents easier to understand by showing the right document title and reference details while removing payment instructions that do not apply.
Original PR description
Task 2038326 * Tick the credit note sequence by default on the customer invoices and vendor bills journals * Write Customer Invoice/Vendor Bill/Credit Note/Customer refund at the top of the document * The reference field should be printed on the credit note pdf (interesting because it gives source and reason) * If the document is a credit note, there shouldn't be any payment information on the pdf (the customer doesn't have to pay you) (currently you see the "payment communication" the customer is supposed to use) * Rename Credit Note to Refund on dashboard * Add tooltip on payment widget 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
Canadian customer and vendor records can now store a Provincial Sales Tax (PST) number. When present, this number is shown on invoices so businesses can document PST exemptions or requirements correctly.
Original PR description
Description of the issue/feature this PR addresses: opw-1951352 Add pst number for Canadian partners 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
The live chat configuration screens have been simplified to make setup easier and reduce clutter. This improves onboarding for users configuring website live chat and helps teams get started faster with fewer distractions.
Original PR description
Description of the issue/feature this PR addresses: Purpose Clean screens and improve onboarding -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Thailand localization now has an updated VAT return report with clearer 7% tax labeling and support for zero-rated and exempt taxes. This helps businesses classify VAT more accurately and removes an unused tax group to simplify configuration.
Original PR description
- Added zero rated and exempted taxes - Improved 7% tax label - Removed unused tax group opw-39083 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
Employees using the Point of Sale frontend now have a direct button to return to the backend instead of manually changing the URL. This makes session closure and navigation smoother for POS users, with related styling moved into the appropriate HR POS area and an access-rights fix for stock valuation during POS validation.
Original PR description
Description of the issue/feature this PR addresses: Allow the user of employee feature to go back to his backend. Current behavior before PR: When we're logged as employee in the pos front end, it's impossible to go to the backend unless we change the URL Desired behavior after PR is merged: We have a new button that lead us to the back end -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Point of Sale setup now creates and assigns the right journals by default, including company-specific sales and invoicing journals. The update also improves PoS order/session screens and makes pricing and discount options available without requiring the Sales app, reducing setup errors and manual configuration.
Original PR description
1. Default PoS Orders Journal Make sure that a default POS order journal is created and set as default sales journal on the newly created pos.config 2. PoS Orders https://nimb.ws/I1sp7F [OK]…
1. Default PoS Orders Journal
Make sure that a default POS order journal is created and set as default sales journal on the newly created pos.config
2. PoS Orders
https://nimb.ws/I1sp7F [OK]
https://nimb.ws/GKmwo5 [OK]
3. In the PoS.config
When I tick the option "multi-currencies" in the pos.settings, it should tick the option "Multiple Product Prices"
And when this option is ticked, I see the default pricelist and the option to activate advanced pricelsits (it's what you've already done https://nimb.ws/9LhsVC)
Default pricelist and advanced pricelists should be next to each other
4. On pricelist:
The field discount_policy has been moved from 'sale' to 'product' in revision: https://github.com/odoo/odoo/pull/27310/commits/a216473c73086cf028228d2d5cf3470c8a8d55bc but the view is still only there in sale module, meaning that if you have only point of sale installed, you have no way to enable this on the pricelist and so use it in POS. Move the view in module 'product' and apply correct groups.
5. Define a domaine for the pos orders journal in pos.config : should be a sales journal
https://nimb.ws/lcNFf4
6. When I tick the box "invoicing", there should be a default journal set and this journal should be the customer invoices journal of the company. Would that be possible ?
task: 2008468Several business apps now use clearer, standardized image sizes and naming. This helps keep images consistent across records and screens, improves display quality options, and simplifies future maintenance without changing single-image models.
Original PR description
Merge commit for PR #4865 Related to community PR odoo/odoo/pull/34925 The goal is to: - Use `image.mixin` on the models currently storing multiple image sizes. - Create Image field and use it on models where mixin is overkill. - Rename the image fields to contain the pixel number in the name. - Add 512 size. - Clean up `image.mixin`, zoom field, variant fields. Note: models that currently store only a single size image will not be changed in this PR.
The Approvals app has been simplified with clearer naming, updated request stages, improved button labels, and a cleaner request layout. Users now receive warnings before submitting when required approvers or mandatory documents are missing, helping reduce incomplete approval requests.
Original PR description
Improve request Kanban Rename Category into "Approvals Types" and add widget radio on fields Rename buttons Rename stage New -> To Submit and Confirmed -> Submitted Put description in a tab Add warning on submit if there aren't enough approvers or if there aren't document (if mandatory) id=2040874
Expense sheets linked to payroll now give HR teams clearer options to either post accounting entries or defer reimbursement to the next payslip. Payslips also make related expenses easier to access, reducing manual steps and simplifying payroll review.
Original PR description
- Display 2 buttons on the expense sheet to either post the journal entries or ask to report the expense in next payslip. - On the many2many expense sheets on the payslip, display a stat button and redirect to the related expenses when set.
Resolved issues and error corrections
CSV exports now consistently provide the underlying raw data values instead of formatted display values. This makes exported files more predictable for reporting, data cleanup, and re-importing, while also fixing issues with empty selection fields.
Original PR description
Followup of #18819 for master - change selection field API to return an empty string in export - remove raw_data mode, every export is raw_data