Tuesday, March 16, 2021
9 changes · master
New functionality added to Odoo
Adds a new connection between blog posts and products so blog content can promote relevant products in a carousel. This helps turn editorial content into shopping opportunities and lays groundwork for showing related blog posts on product pages later.
Original PR description
The goal of this commit is to add m2m between product and blog posts to display a list of product promoted by one blog. And in the future the list of blog that speak about a product on ecommerce. task-2267830 Co-authored by jke@openerp.com 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
A new website sales blog feature lets teams connect blog posts with related products, showing product carousels alongside articles and related articles on product pages. This helps shoppers discover relevant products from content and gives merchants more ways to promote items through storytelling.
Original PR description
The goal of this PR is to add a module to display related products of a blog post and related blogs of a product on website. This will be done by adding 'product.template > blog.post' m2m association and optional templates to show products carousel in blog's sidebar and related blog posts in product page. task-2267830
Enhancements to existing features
This update helps HR records show the current running contract instead of a future draft contract in contract history. It also makes a small HR job view adjustment to support safer customization by other modules.
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
Resolved issues and error corrections
Users now see a normal, understandable error dialog when creating an unbalanced journal entry instead of a technical crash screen. The point of sale session closing flow still offers the existing wizard to help resolve imbalance amounts.
Original PR description
The crash manager doesn't recognize ImbalanceJournalEntryError as a user error and when creating a journal entry that is not balanced, a traceback is shown instead of the normal UserError dialog. In this commit, we fix this issue by getting rid of the new error and put back the use of UserError when checking the balance of an account move. We also make sure that the feature in pos where we show a wizard to unblock the user from closing session with imbalance amount is intact. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Replenishment orders now use the relevant purchase or manufacturing unit size instead of always defaulting to the product's base unit. This helps businesses order or produce in practical batch sizes, such as full rolls or bill-of-material quantities, reducing manual adjustments and ordering mistakes.
Original PR description
The replenishement creation currently calculates the quantity to order using the product UoM. If the product is actually purchased in another UoM (f.ex. a roll of 50 meters that is after sold meter by meter), it is preferable to set the quantity to order according to the purchase UoM (50 meters instead of 1 meter) or according to the UoM of the BoM in case of manufacturing. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
CRM lead forms now show a small warning icon next to email and phone fields when edits will also update the linked customer profile. This keeps users informed while making the form less visually disruptive than the previous ribbon warning.
Original PR description
Reduce eye catchiness of warning message when warning the user that his changes on email and phone will also update customer. Before, used a ribbon. Now, only displays a red alert sign at the end of the fields when a change would update the customer profile. Hovering on the alert sign displays the appropriate message. Python compute method of ribbon field is split in two compute methods, one per boolean field will_write_email/phone. Previous compute for ribbon message is deleted but the field is maintained to ease further ribbon implementation and extensivity. Updates ribbon_message tests accordingly Task Id - 2456105 PR - 66909
Marketing Automation workflow activities now let users edit the Activity Filter directly within the activity form instead of opening a second pop-up window. This makes campaign setup smoother and avoids the confusing experience of stacked dialogs.
Original PR description
PURPOSE In Marketing Automation, Change the domain editor in line. currently this activity_domain is open in wizard form, which is bad UX practice. CURRENT While creating/editing marketing activity in campaign it opens as wizard form, which is OK. But when we try to add domain on this particular activity, which open another wizard on the current one. which`s looks bad. TO BE Improves the behaviour of adding domain editor. Which is not open wizard for adding activity_domain, and open as inline domain editor. **TaskID - 2480625**
Campaigns that are automatically generated are now labelled more clearly, avoiding the misleading impression that only websites can create them. Campaign management views now focus on campaigns created through mass mailing and social channels, with relevant post and notification lists opening with the right campaign filter applied by default.
Original PR description
This PR renames the field is_website into is_auto_campaign for clarity purpose. The is_website field always meant that the campaigns were created automatically in some instances. Could be created automatically via a link to the website or even by simply creating a marketing campaign in marketing_automation. is_auto_campaign is a better name as it does not wrongly imply that only the website can generate campaigns automatically, while also pointing out the automatic generation mechanism. The utm campaigns behaviour rests unchanged. This PR also filters out marketing campaign from our campaign management flow. Community PR for the field renaming: https://github.com/odoo/odoo/pull/65824
This fix updates the partner import template and improves how states or regions are found during import. It helps users import contact data more reliably and reduces confusion when matching addresses to the correct country subdivisions.
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