-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REF] split _get_last_sequence_domain in account_move #100
base: 16.0
Are you sure you want to change the base?
Commits on May 30, 2024
-
[FIX] base: restrict CryptContext copy
The `copy` method must return the wrapper of the original `CryptContext` class.
Configuration menu - View commit details
-
Copy full SHA for 8e56d42 - Browse repository at this point
Copy the full SHA 8e56d42View commit details
Commits on Jun 4, 2024
-
[IMP] core: init, new and registries are class methods
Prevent developers to use these attributes on the registry instances, as they are supposed to be called from the class itself only closes odoo#82718 Signed-off-by: Raphael Collet <rco@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 17dc41a - Browse repository at this point
Copy the full SHA 17dc41aView commit details
Commits on Jun 14, 2024
-
The ability to filter by domain was introduced in d79678f but as the commit states, the feature was purely technical and only added the possibility to filter by domain. It itself did not use it. Afterwards this feature was moved to the portal module in commit 3cfd64f . There is no way in the front end to filter by domain, the way messages are fetched is simply by the model and it's res_id. This feature has been dead code since it's implementation and doesn't need to be there. In order not to change any RPC calls, I simply removed the logic server side. However in master I will fully remove this feature. closes odoo#33816 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 931186e - Browse repository at this point
Copy the full SHA 931186eView commit details
Commits on Jul 2, 2024
-
[FIX] tools: dateutil compatibility in server actions
The dateutil API, available attributes, depends from one version to another. Restrict the attributes developers/customers can use in their server actions to prevent compatibility issues according to different Linux distribution or PIP installations. The list is built following what customers actually use in their server actions, and what we consider useful to be used in server actions. closes odoo#93314 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for db95c4a - Browse repository at this point
Copy the full SHA db95c4aView commit details
Commits on Jul 16, 2024
-
Prevent keys from several business flows from being misused or detected, leading to unexpected behaviour. task-3817669
Configuration menu - View commit details
-
Copy full SHA for 2d78c15 - Browse repository at this point
Copy the full SHA 2d78c15View commit details
Commits on Jul 17, 2024
-
[FIX] sale_project: clean context
Prevent keys from several business flows from being misused or detected, leading to unexpected behaviour. task-3817669
Configuration menu - View commit details
-
Copy full SHA for a418aee - Browse repository at this point
Copy the full SHA a418aeeView commit details
Commits on Jul 18, 2024
-
Prevent keys from several business flows from being misused or detected, leading to unexpected behaviour. task-3817669
Configuration menu - View commit details
-
Copy full SHA for ee6a131 - Browse repository at this point
Copy the full SHA ee6a131View commit details
Commits on Jul 24, 2024
-
[FIX] loyalty: gift card report shows expiration text incorrectly
When printing the gift card report the text saying "Card expires" would show despite there being no expiration date. Added a t-if to check if the field is populated before displaying that text. Backport of odoo@ec4d3f0 opw-4016994 closes odoo#171447 Signed-off-by: Morgane Demesmaeker <edm@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for dca80ed - Browse repository at this point
Copy the full SHA dca80edView commit details -
[FIX] web_editor: prevent tables losing resizing after moving first row
Before this commit: -Resized column widths were lost when moving the top row down or the second row up. -This happened because the new widths after resizing were only applied to the <td> elements of the first <tr>. After this commit: -When moving the top row down or second row up, column widths are copied from the first row to the second row. -Tables don't lose resizing after moving the first row up or down. task-4019025 closes odoo#171695 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 1956598 - Browse repository at this point
Copy the full SHA 1956598View commit details -
[FIX] l10n_gcc_invoice: correct the duplication of terms in arabic in…
…voices Steps to reproduce: - Install the 'l10n_sa' module and switch to a saudi company - In the Settings of Accounting, tick the option "Default Terms & Conditions" and select "Add a Note" - Write something in for the Terms & Conditions - In the Accounting app create a new invoice, confirm and preview - At the bottom of the preview, the Terms & Conditions are duplicated Cause: The report is trying to print the Arabic and English translation of the Term & Conditions, but only one of the two exists so they appear duplicated. Solution: There is already a way to translate manually the Terms & Conditions (Have the 2 languages installed and a button appear near the text). So the fix is simply to display only the Arabic language when there are no translations. opw-4043175 closes odoo#172781 Signed-off-by: William André (wan) <wan@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 75f050b - Browse repository at this point
Copy the full SHA 75f050bView commit details -
[FIX] mass_mailing: auto save after image change
Issue: ====== Image changes aren't auto saved. Steps to reproduce the issue: ============================= - Add cover snippet and text-image snipets - Change cover image or the image in the text-image snippet - Don't click anywhere after that - Switch tab to A/B testing for example - Go back to mail body - The image changes aren't saved Origin of the issue and solution: ================================= When we choose an image from the media dialog, we loose the focus from the editable which means `onWysiwygBlur` is not called and as consequence `commitChanges` isn't called too. Since the flow of the destroy and the `commitChanges` in `onWysiwygBlur` are in parallel, the following happens: - We don't update the value in the blur flow because we will wait for some promises which may take some time and the component gets destroyed and we never call the `updateValue` at the end of the function. - Now in the `commitChanges` coming from `onWillUnmount` we need to pass the `urgent` flag in mass_mailing too. opw-3947516 closes odoo#172312 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for bd3089f - Browse repository at this point
Copy the full SHA bd3089fView commit details -
[FIX] website_sale_delivery: check carrier before payment
Check if the user selected the carrier for storable/consumable products before proceeding to payment. Backport of [35ea9bf](odoo@35ea9bfb) opw-3861697 closes odoo#174248 X-original-commit: 188f019 Signed-off-by: Julien Launois (jula) <jula@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 7650d90 - Browse repository at this point
Copy the full SHA 7650d90View commit details -
[FIX] base: skip garbage collector of sessions
Backport of commit 2b27e1b closes odoo#174367 Signed-off-by: Florian Vranckx (flvr) <flvr@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for c53fd96 - Browse repository at this point
Copy the full SHA c53fd96View commit details -
[FIX] mass_mailing_sms: fix sms link placeholders tests
In no-demo tests, there is no link tracker, so the expected length is not max+1 but 3. Follow up of e5b88d3 Task-3502174 closes odoo#174371 X-original-commit: 074ea09 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Configuration menu - View commit details
-
Copy full SHA for 42bb00b - Browse repository at this point
Copy the full SHA 42bb00bView commit details
Commits on Jul 25, 2024
-
[IMP] web: Add context to fetchUnusualDays()
When you click on the Time-off smart-button on an employee's tab, you define a context that must be maintained Similar to 15.0: https://github.com/odoo/odoo/blob/15.0/addons/web/static/src/legacy/js/views/calendar/calendar_controller.js#L160 TT49839 [IMP] hr_holidays: Use the context employee or the user's employee TT50253 closes odoo#172380 Signed-off-by: Sofie Gvaladze (sgv) <sgv@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 0a6e42c - Browse repository at this point
Copy the full SHA 0a6e42cView commit details -
[FIX] sale_loyalty : Don't show discounts that are already claimed
Steps to reproduce: - Install eCommerce and Loyalty module - Create a Discount that is applied using code - Generate coupon codes - Modify the balance of the codes to be more than 1 - Go to website and create an order - Proceed to checkout and apply one of the codes Current behavior before PR: The reward will be shown as claimable even after we already applied its code. This will lead that the user can be able to claim it more than once in the same order. This is happening becuase when getting the claimable rewards we are fetching the rewards that already got applied. https://github.com/odoo/odoo/blob/16.0/addons/sale_loyalty/models/sale_order.py#L655 Desired behavior after PR is merged: We are excluding the already-applied discounts on the order to avoid using them more than once in the same order. opw-4018909 closes odoo#173555 Signed-off-by: Morgane Demesmaeker <edm@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 380115d - Browse repository at this point
Copy the full SHA 380115dView commit details -
[FIX] mrp: set is_kit specific to env's company only
ammending 50c9c3d to take into account env.company instead of companies closes odoo#174329 Signed-off-by: Adrien Widart (awt) <awt@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for fe4b2a6 - Browse repository at this point
Copy the full SHA fe4b2a6View commit details -
[FIX] pos_sale: keep price from imported sale orders
Currently when importing an order from sale to pos, if the price was set manually, changing the partner associated with the order will set back the price to the original product sale price. Steps to reproduce: ------------------- * Make a new quotation in **sales** * Change the unit price of a product * Confirm quotation * Open the pos shop session * Import the newly created quotation to be settled * Change the partner > Observation: The price set manually changes to the product sale price Why the fix: ------------ When changing the partner of a sale order we compute all the line that have to recompute their prices: https://github.com/odoo/odoo/blob/57f1b0bd502938a6d50244896e71df73705584b5/addons/point_of_sale/static/src/js/models.js#L2918-L2920 We see that when we settle an order, `price_manually_set` is set to false. In this example, if we set it to true it would solve the issue but we cannot use it, see with odoo@70668ee . Instead what we can do is to use `price_automatically_set` and set it to true. This does not undo the previously mentionned commit and fixes this current issue. This variable was created in odoo@0672995 opw-4001497 closes odoo#172205 Signed-off-by: Adrien Guilliams (adgu) <adgu@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 6014107 - Browse repository at this point
Copy the full SHA 6014107View commit details -
[FIX] pos_discount: ensure discount product is always loaded
Prior to this commit, enabling limited product loading could result in the discount product not being loaded. opw-4057657 closes odoo#173600 Signed-off-by: Adrien Guilliams (adgu) <adgu@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 25eb419 - Browse repository at this point
Copy the full SHA 25eb419View commit details -
[FIX] product: set a default for the sequence
Problem --- The `sequence` field of product attributes has no default, This causes ordering bugs in the frontend when using handles. Steps --- * go to product attributes list view * move the last element to the top (to ensure a full reordering) * create a new product attribute *PA* > go back to the list view * it appears at the bottom of the list * its sequence appears to be 0 to the frontend but is actually NULL * move it one place up * *PA* and the item after it now have the sequence numbers 0, 1 * refresh * the two last items move to the top, crisscrossing with the previous 2 first items which also have sequence 0, 1 Cause --- The frontend always assume click-and-drag sortable lists are already sorted, but this assumption is wrong when we have a record with a NULL `sequence`, because it will appears at the end of the ORDERBY SQL query but be converted to 0 frontend-side. opw-3937263 closes odoo#174397 Signed-off-by: Nathaniel Jacques (naja) <naja@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 684b4d7 - Browse repository at this point
Copy the full SHA 684b4d7View commit details -
[FIX] stock: Preserve delivery slip description format
Steps to reproduce: - Edit any product's 'Description for delivery orders' (inventory tab) - Create a delivery for this product (or confirm sale order to create one automatically) - Print delivery slip (Correct formatting) - Validate delivery - Print delivery slip once more (Description loses linebreaks) This is only for looks, but it's a document the end user will see so there are concerns about it looking unprofessional. This formatting error is due to us not being able to use a field element after remaking the order lines to group related products in python. opw-4040127 closes odoo#174531 X-original-commit: a5e9820 Signed-off-by: Adrien Widart (awt) <awt@odoo.com> Signed-off-by: Yoann Baron (bary) <bary@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 3ceff39 - Browse repository at this point
Copy the full SHA 3ceff39View commit details -
[FIX] sale: use company from SOL when computing taxes (2)
This is a complement to previous fix: odoo@649a7f1 in which the use case where both companies have "Round Globally" set as "Rounding Method" was not handled. Steps to reproduce: - Install Sales & Accounting - Create a second company with a different currency (e.g. AED) than the first one (e.g. USD) - Configure the rounding factor of the currency of the second company to 1.000000 - Configure the default company of the current user to the second company - Switch to the second company - In Accounting settings, set "Rounding Method" to "Round Globally" - Switch to the first company - In Accounting settings, set "Rounding Method" to "Round Globally" - Create a SO: * Customer: [any] * Order Lines: [any line with a tax] - Save the SO - Edit the SO by changing the price unit of the product !!! Make sure that the tax amount has a decimal part - Save the SO Issue: In the chatter, the note about the new value of the tracked field Total is different from the Total value shown in the SO. Also, in Customer Preview, the total to pay shown on the upper-left of the page is different than the total shown in the SO details. opw-3814058 closes odoo#174560 Signed-off-by: Anh Thao Pham (pta) <pta@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for d856659 - Browse repository at this point
Copy the full SHA d856659View commit details -
[FIX] website_sale: retain rental period on attribute selection
version - 16.0 Steps: -Install rental app. -Activate the date picker from the web-editor. -Add the start date and end date from that. -Select some attribute of the product. Issue: -When any user adds the start date and end date from the date picker and after that, the user adds the other attribute(filter) of the product, that s> Cause: -The selected rental period (start and end dates) is not persisted when the page refreshes or updates due to attribute selection. Fix: Get the value of 'start_date' and 'end_date'. Update the hidden input fields for 'start_date' and 'end_date' with the values before applying the attribute changes. opw-3774060 closes odoo#165068 Related: odoo/enterprise#64962 Signed-off-by: Valentin Chevalier <vcr@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 6957035 - Browse repository at this point
Copy the full SHA 6957035View commit details
Commits on Jul 26, 2024
-
[FIX] point_of_sale: translate text used to generate account move lin…
…es description. closes odoo#174511 Signed-off-by: Vlad Stroia (vlst) <vlst@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 0eaa0b5 - Browse repository at this point
Copy the full SHA 0eaa0b5View commit details -
[FIX] survey: correct check_access call
Was always failing because of an invalid signature closes odoo#174555 X-original-commit: 17c2bcf Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Configuration menu - View commit details
-
Copy full SHA for 2fad86b - Browse repository at this point
Copy the full SHA 2fad86bView commit details -
[FIX] google_calendar: events disappearing reset account
Before this commit, when performing the Google Calendar account reset in Odoo, some events and recurrences were disappearing from Odoo when they shouldn't. This was happening because we were not removing the 'google_id' information of deleted recurrences or even unlinking events incorrectly in Odoo side. Additionally, the synchronization of only 'new' or 'all existing' events were not correctly being handled because the 'need_sync' write should change according with the selected 'sync_policy'. After this commit, we correctly remove the 'google_id' of recurrences when the deleting them and we now consider correctly the 'sync_policy' of synchronizing only 'new' or 'all existing' events by updating the 'need_sync' status of all existing synchronized events. task-3731683 closes odoo#167299 Signed-off-by: Arnaud Joset (arj) <arj@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 1db5893 - Browse repository at this point
Copy the full SHA 1db5893View commit details -
[FIX] stock: optimize the _get_weight method
Issue: The `_get_weight` method is called for each location to compute the weight and it sums up all the incoming and outgoing lines for forecasted weight. Using filtered for each record is compute intensive and gets slower overtime. While returning a delivery with 30 stock moves the _create_return took 7:41 minutes most of which were on `_get_weight`. Solution: Optimized the `_get_weight` method to use `read_group` to get the sum of incoming and outgoing lines. closes odoo#170675 Signed-off-by: Quentin Wolfs (quwo) <quwo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for f5b32cf - Browse repository at this point
Copy the full SHA f5b32cfView commit details -
[IMP] web: update owl to 2.3.0
Update the OWL lib. Release notes: https://github.com/odoo/owl/releases/tag/v2.3.0 These releases contain small improvements * v2.3.0 [IMP] compiler: add support for the .translate suffix closes odoo#174621 Signed-off-by: Géry Debongnie <ged@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for a3f1229 - Browse repository at this point
Copy the full SHA a3f1229View commit details -
[FIX] web_editor: force new twitter icon
Current behaviour: When sending an email through Email Marketing, the icon is right in the preview, but wrong in the received email. Steps to reproduce: 1. Install mass_mailing 2. Create a new mailing 3. Select a template with a twitter icon 4. The icon is the new one 5. Click on Test 6. Open the email 7. Wrong icon Cause of the issue: Twitter icons have been overriden in fontawesome_overridden.scss However this css is not loaded when writing the src in fontToImg in convert_inline.js Fix: Same fix as for tiktok, forcing a custom font and changing the icon code to match the font (ie: one icon is F099 in FA but E800 in the custom font) opw-3963437 closes odoo#173874 X-original-commit: 5b463f7 Signed-off-by: Antoine Demany (ande) <ande@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for cb1927c - Browse repository at this point
Copy the full SHA cb1927cView commit details -
[FIX] phone_validation: israeli phone numbers
Current behavior: Israeli mobile phone numbers are composed as such: +972 55-295-1235 +972 country code, 5X mobile number indicator, X5-29 phone operator Only operators up to 5-28 were supported, recent library changes now support up to 5-29 (the next operator being 5-32) Steps to reproduce: parsed = phonenumbers.parse('055 294 1234', 'IL') is_valid = phonenumbers.is_valid_number(parsed) is_valid == False Cause of the issue: Old versions of phonenumbers (external library) are not up to date with the latest israeli phone system changes Fix: Monkey patched the library Similar as: odoo@b787803 opw-3942014 closes odoo#174570 X-original-commit: 5fe431a Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com> Signed-off-by: Antoine Demany (ande) <ande@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for b5eefe8 - Browse repository at this point
Copy the full SHA b5eefe8View commit details -
[FIX] phone_validation: fix kenyan number formatting
When the user adds a Kenyan phone number, it is not correctly parsed by the phonenumbers library, resulting in a user error while sending a WhatsApp message to that number. Steps to produce: - Add a Kenyan phone number (e.g., '+254114627044'). - Try to send WhatsApp messages using this phone number. - This will throw an Invalid number error. Problem: when `phonenumbers` python library is used in odoo for parsing phone numbers, versions below `8.13.31` have problem with parsing some Kenyian numbers because they aren't updated, therefore they can't identify prefix and throw an error. task-3994165 closes odoo#174636 X-original-commit: 39e16a5 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com> Signed-off-by: Dato Nefaridze (dane) <dane@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for a2d99df - Browse repository at this point
Copy the full SHA a2d99dfView commit details -
[FIX] website: support more URLs for Facebook snippet
Some valid URLs were not working before because since [1], we were only supporting 15-16 digits facebook page ID, but some have less numbers. We now check IDs between 12 and 16 numbers. We also add a feedback notification for users if their link did not work for some reason. [1]: odoo@82c4393 task-3995431 closes odoo#174596 X-original-commit: e4e9a14 Signed-off-by: Robin Lejeune (role) <role@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for db23fec - Browse repository at this point
Copy the full SHA db23fecView commit details -
[FIX] website_sale: revert change of signature
The signature of `_get_additional_shop_values` was wrongly changed in 6957035. closes odoo#174680 Related: odoo/enterprise#67452 Signed-off-by: Valentin Chevalier <vcr@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 9fc7806 - Browse repository at this point
Copy the full SHA 9fc7806View commit details -
[FIX] l10n_cl: Update partner demo data
Updates the partner demo data for the chilean localization. One of the demo companies had real information which was dangerous to have in databases. [FIX] l10n_cl: Eliminate partner demo logo Eliminates a partner demo data logo since it was the official logo of the company, and we received complaints from the company. closes odoo#174589 X-original-commit: 88160a7 Signed-off-by: Laurent Smet (las) <las@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 0e8c224 - Browse repository at this point
Copy the full SHA 0e8c224View commit details -
[IMP] tools, web: export props with .translate modifier to .pot files
v2.3.0 of Owl added the .translate modifier to props, allowing them to be translated. This commit updates the script that generates the .pot files (the list of source terms to translate) in order to take into account props with the .translate modifier. Task-3980675 closes odoo#174697 Signed-off-by: Vincent Larcin (vila) <vila@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 3189288 - Browse repository at this point
Copy the full SHA 3189288View commit details -
[FIX] payment_stripe: set API version in js api
Before this commit, no API version was given to StripeJS. This could lead to discrepancies between the APIs. Now, the API version used will be the same client-side and server-side. closes odoo#174713 X-original-commit: 330746d Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com> Signed-off-by: Valentin Chevalier <vcr@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 02ab97f - Browse repository at this point
Copy the full SHA 02ab97fView commit details
Commits on Jul 27, 2024
-
[FIX] base: allow const_eval to return const vals in python 3.12
63a80c1 added support for safe_eval in python 3.12. However this added RETURN_CONST in _SAFE_OPCODES instead of _CONST_OPCODES. This stopped const_eval from returning const values. closes odoo#174045 Task-4067772 closes odoo#174689 X-original-commit: 11f9c11 Signed-off-by: Florian Vranckx (flvr) <flvr@odoo.com> Signed-off-by: Bram Van Gaal (brvg) <brvg@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for eaaf3dd - Browse repository at this point
Copy the full SHA eaaf3ddView commit details
Commits on Jul 29, 2024
-
[IMP] l10n_fi,l10n_eu_oss: new 25.5% tax instead of 24 required
Description of the issues this commit addresses: As from the first of september 2024, Finland will raise 24% taxes to 25.5%, those rates are currently not available in Odoo. Desired behavior after this commit is merged: New 25.5% taxes are available in Finland OSS tax mapping is done for other countries to Finland The mapping from Finland to other countries is deliberately left for later as we don't want the mapping to 25.5% to tkae place before the 09/01/24. task-4010731 closes odoo#174421 X-original-commit: 4a077e2 Signed-off-by: Aliya Tastemirova (alta) <alta@odoo.com> Signed-off-by: Thomas Becquevort (thbe) <thbe@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 5dd9ae2 - Browse repository at this point
Copy the full SHA 5dd9ae2View commit details -
[FIX] web: prevent owl patch before action from ActionSwiper is done
Steps to reproduce ================== In 17.2: - Install calendar,hr_homeworking - Use the emulated mobile view from the devtools - Go to calendar - Swipe horizontally to change the displayed week => A crash occurs here https://github.com/odoo/odoo/blob/saas-17.2/addons/hr_homeworking/static/src/calendar/common/calendar_common_renderer.js#L108 Cause of the issue ================== The `AttendeeCalendarCommonRenderer` is rendered before the data for the next week has been loaded. This means that `this.props.model.worklocations` has no entry for the `parsedDate`. Solution ======== Await the action before modifying the ActionSwiper state opw-4047632 closes odoo#173305 Signed-off-by: Jorge Pinna Puissant (jpp) <jpp@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 6565bdf - Browse repository at this point
Copy the full SHA 6565bdfView commit details -
[FIX] pos_sale: set quantities when settling quotations
Currently, when buying a gift card through the website and choosing the options to pick up in store and pay in store, the quantity set when settling the order is zero. Steps to reproduce (initial): ----------------------------- * Go to the **website** app * Select **configuration** > **Payment Providers** * Make sure `Pay in store` is published and enabled/or in test mode * Select **configuration** > **Shipping methods** * Make sure that a shipping method `Pick in store` is set up and published for your shop * Now make an order on the website for a gift card and any storable product * Choose the options to pick and pay in store * Go to the **Point of sale** app * Open shop session * Settle the order just created > Observation: The quantity for the gift card is 0 Steps to reproduce (alternative): --------------------------------- * Go to **Sale** App * Create a quotation for a gift card and any storable product * Save the quotation (not confirm) * Go to the **Point of sale** app * Open shop session * Settle the order just created Why the fix: ------------ The issue is not specific to the gift card product, it affects all `'service'` products. https://github.com/odoo/odoo/blob/7be2770f2a8dc26f7aa0c539b878b258e94592c8/addons/pos_sale/static/src/js/models.js#L85-L91 We notice that, if the order was paid instead of choosing the option to pay in store, the quantity on the pos order when settling it is 1. This is because the order not yet paid is still considered as a quotation. While if it is paid through the website it is considered as a sale order and thus `qty_to_invoice` has been computed. The same behaviors can be replicated through the **Sale** app. If a quotation is only saved we also have a quantity of 0. If it is confirmed, the quantity is 1. As discussed with DALA, using `qty_to_invoice` to set up the quantity in POS only makes sense when we deal with sale orders. When dealing with quotations we should set the quantities in the shop order depending on the quantities of the quotation. opw-4003749 closes odoo#174703 X-original-commit: 6341769 Signed-off-by: Sarah Bellefroid (sbel) <sbel@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for bf8589c - Browse repository at this point
Copy the full SHA bf8589cView commit details -
[FIX] account_update_tax_tags: avoid undeterministic error in tests
task-no closes odoo#174789 X-original-commit: ec106bf Signed-off-by: Laurent Smet (las) <las@odoo.com> Signed-off-by: Claire Bretton (clbr) <clbr@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 1dfbcee - Browse repository at this point
Copy the full SHA 1dfbceeView commit details -
[FIX] web_editor: wrong position of checkbox
Before Commit: On switching the checkbox direction from left to right and pressing tab, the checkbox would shift to the left while the text appeared on the right, and vice versa for RTL languages. After Commit: Commit [1] added the positioning of checklists in Right-to-Left (RTL) languages. Previously, only the direct child li elements of ul were styled because of the use of the child combinator selector (>), as the dir attribute was only applied to the outermost ul element. This commit ensures uniform styling across various languages, including RTL languages. [1]: bb9c4b3 task-3828737 closes odoo#174066 X-original-commit: 5b5a90f Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for b2847f8 - Browse repository at this point
Copy the full SHA b2847f8View commit details -
[PERF] stock: only recompute orderpoint quantities for relevant WH
Due to the `qty_to_order` field on `stock.orderpoint` being a stored computed field, it needs to be recalculated every time one or more of its dependencies could have changed, to keep a consistent record in the database. It is, however, dependent on the `qty_forecast` field which is a non-stored computed field, depending itself on all the stock moves that are linked to the product set on the orderpoint. This results in a complete recalculation of the `qty_on_hand`, `qty_forecast` and `qty_to_order` on ALL the orderpoints linked to a product every time some `stock.move` has been touched or created with that product. Even if many of those orderpoints may not even be located in the concerned warehouse. This situation can create a performance bottleneck when just processing pickings, as its constantly (and often pointlessly) recalculating these field values to store. This becomes a major issue in case the concerned database contains many warehouses with many different orderpoints. This issue is remedied in a more permanent way for master in [1], but due to the stable policy we use a different approach here: The `qty_to_order` field on `stock.orderpoint` is now no longer dependent on `qty_forecast`. Instead, when creating `stock.moves` or writing on its `state`, `product_uom_qty` or `date` fields, we manually trigger a recalculation of the `qty_to_order` on all the orderpoints on the relevant product, but only in the relevant warehouses. In case there is no relevant warehouse for the `stock.move` (none on the source or destination move), we fall back to the previous behavior of recalculating `qty_to_order` for all orderpoints linked to the product. [1] odoo#159432 task-3822497 closes odoo#165637 X-original-commit: b8709b3 Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for cb764a9 - Browse repository at this point
Copy the full SHA cb764a9View commit details -
[FIX] pos_loyalty: allow adding zero points
Problem: For a gift card with 0 points which have its price changed a popup error is displayed saying the gift card has already been sold Steps to reproduce: - Install "point_of_sale" app and "pos_loyalty" module - Select "Scan existing cards" in the promotions settings - Generate a gift card with a value of 0.00 $ and copy its code - Start a shop session - Select the gift card product and enter the code - Change the price of the gift card (must be an integer < 10) - Proceed to the payment - See the popup error Cause: As the gift card has no points, "couponPointChanges" stays empty. But when the price is modified, "couponPointChanges" is updated but has no giftCardId so the error is triggered (see "validateOrder" in PaymentScreen.js). There is no issue if the price is > 10 or is not an integer because "_updatePrograms" is called after each click on the numpad and "changesPerProgram" gets the values of "couponPointChanges" which are the saved in "oldChanges" which is modified by getting the values of "pointsAdded" which has "giftCardId" so "couponPointChanges" get the "giftCardId" opw-3909019 closes odoo#174538 Signed-off-by: Vlad Stroia (vlst) <vlst@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 9714ffe - Browse repository at this point
Copy the full SHA 9714ffeView commit details -
[FIX] purchase: error compute_all with python tax
We get an error when trying to validate a dropship for a product having python tax. Steps: - Create a python tax T of type purchase with python code being `result = product.weight * 0.1` - Create a storable product P, with tax T as purchase tax, set a vendor and activate dropshipping - Create and confirme a SO for product P, confirm the related PO then try to validate the related dropship -> We get an User Error (AttributeError: NoneType object has no attribute weight) This is because `_compute_all` is called without `product_id` parameter, leading to the error in `account_tax_python._compute_amount` when trying to acces the `weight` attribute. opw-4029025 closes odoo#174850 X-original-commit: 82a7a9c Signed-off-by: Aliya Tastemirova (alta) <alta@odoo.com> Signed-off-by: Guillaume Vanleynseele (guva) <guva@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for c5bbbb4 - Browse repository at this point
Copy the full SHA c5bbbb4View commit details
Commits on Jul 30, 2024
-
[FIX] base_vat: correct the method check_vat_il to not call self.company
In this PR: odoo#172760 the check_vat_il function is calling self.company. It appears it was not a good idea and several things were not done well: - It could lead to errors as run_vat_test can be called on multiple partners: https://github.com/odoo/odoo/blob/16.0/addons/base_vat/models/res_partner.py#L170. - The previous PR is also checking the VAT number depending on the field is_company but did not put it as a constraint. This can be fixed, but with more changes than needed. It has been decided to use the `` check for all Israeli VAT numbers, regardless of the partner type. With this change the VAT check for companies is not complete: it is not tested that they begin by a 5. But it is good enough. opw-3954674 closes odoo#174817 Signed-off-by: Florian Gilbert (flg) <flg@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for dacabd6 - Browse repository at this point
Copy the full SHA dacabd6View commit details -
[FIX] pos_loyalty: ensure selection of multiple products for rewards
Before this commit, when a reward eligible for multiple products was claimed, only one product was added to the order regardless of the reward's configuration. opw-4066760 closes odoo#174176 Signed-off-by: Adrien Guilliams (adgu) <adgu@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for c968c65 - Browse repository at this point
Copy the full SHA c968c65View commit details -
[FIX] sale_stock: avoid incorrect delivery_status when multi-step
Steps to reproduce: - Set delivery in 2 steps - Create a sales - Validate the transfer from Stock to Output The delivery status changes from "not delivered" to "partially delivered" even though nothing has been delivered to the customer. After the fix: If a picking is validated but nothing was delivered to the customer yet, the delivery status is set to "Started". closes odoo#169194 Signed-off-by: Tiffany Chang (tic) <tic@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for ad9f8fa - Browse repository at this point
Copy the full SHA ad9f8faView commit details -
[FIX] l10n_ar: only select "AFIP Responsibility" fiscal position if set
Steps to reproduce: - Install l10n_ar and website_sale - Switch to an Argentinian company - Create a product with a customer tax (e.g. IVA 21%) With a public user or a user without "AFIP Responsibility": - Go to eShop and add the created product to the cart - Go to the cart Issue: No tax is applied. Cause: There are some fiscal positions from Argentinian localization that map IVA 21% to IVA Exento (i.e. 0%). These fiscal positions are linked to specific "AFIP Responsibility" types and should only be applied for users having these "AFIP Responsibility" types configured on their contact form. However, when this field is not set, it is ignored in the domain computing the fiscal position and one of these Argentinian fiscal positions satisfies the resulting domain. Solution: Filter on "AFIP Responsibility" in the domain computing the fiscal position if "l10n_ar_afip_responsibility_type_id" key is present in the context, no matter what its value. opw-3943108 closes odoo#171923 Signed-off-by: Josse Colpaert (jco) <jco@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for ff30899 - Browse repository at this point
Copy the full SHA ff30899View commit details -
[FIX] web: list display field label and help in tooltip
In list views, the label of a field, displayed in the thead, is sometimes truncated (especially as we apply our own column widths logic). Moreover, fields might sometimes be unclear to the user, and in the list view we don't benefit from the "help" that might be defined on the field. This commit helps with those two issues. In non debug mode, there's now a tooltip on the field's label. This tooltip contains the (never truncated) label and the help when there's one. Note that in debug, nothing changes: we still display a big tooltip with a lot more information. task 4049882 closes odoo#173177 Signed-off-by: Mathieu Duckerts-Antoine (dam) <dam@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 81f1652 - Browse repository at this point
Copy the full SHA 81f1652View commit details -
[FIX] l10n_fi: upgrades folder missplacement
The migrations folder was put in the data folder instead of the module folder which would block the upgrade system from finding the scripts. no-task closes odoo#174958 Signed-off-by: Claire Bretton (clbr) <clbr@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for f634034 - Browse repository at this point
Copy the full SHA f634034View commit details -
[FIX] sale,website_sale: gap between label and field tags
closes odoo#174972 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 473ce0f - Browse repository at this point
Copy the full SHA 473ce0fView commit details -
[FIX] point_of_sale: prevent barcode input as payment amount
Before this commit, scanning a barcode on the payment screen would mistakenly capture the barcode value as the payment amount. This could lead to incorrect payment amounts being recorded if not noticed by the cashier. opw-4079147 closes odoo#174992 Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 58307ad - Browse repository at this point
Copy the full SHA 58307adView commit details
Commits on Jul 31, 2024
-
[FIX] hr_holidays: only show user's public holidays
Behaviour before this change ----- In the "My time off" dashboard, an user belonging to "Administrator" or "Officer" groups will see a list of all public holidays regardless of which working hours they are defined for. Confirmed to be unintended behaviour by HR PO (gmf). Behaviour after this change ----- The list of public holidays displayed on the time off dashboard is the same for all users. The same change is also applied to stress days. opw-4019868 closes odoo#173205 Signed-off-by: Bertrand Dossogne (bedo) <bedo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for cdb4fb8 - Browse repository at this point
Copy the full SHA cdb4fb8View commit details -
[FIX] im_livechat: Fix error when opening Messages systray menu
Steps to reproduce: 1. Login to an internal user who does not have Livechat application access 2. Go to the website, do some interactions with chatbot 3. Go back to the backoffice, click on the Messages systray menu Issue: - Security error about user cannot read the chatbot.script.step record. Cause: - When formatting the chatbot's message to render, user has to access the current chatbot script step to get some information, but he does not have enough rights to read the record. Fix: - Use sudo on the needed part when formatting the message. closes odoo#174611 Signed-off-by: Matthieu Stockbauer (tsm) <tsm@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 2bb530a - Browse repository at this point
Copy the full SHA 2bb530aView commit details -
[FIX] stock_account: clean context
Prevent keys from several business flows from being misused or detected, leading to unexpected behaviour. task-3817669
Configuration menu - View commit details
-
Copy full SHA for e69ba09 - Browse repository at this point
Copy the full SHA e69ba09View commit details -
[FIX] l10n_lu: use correct format for translated tax line
Issue ---- The german translation for some tax lines for Luxembourg have the wrong format. This makes the line get ignored when generating a XML report. Steps ---- - Install `l10n_lu`. - Change the fiscal country to Luxembourg. - Go to Accounting -> Tax Report. - Choose Tax Report (LU) from the Report button above. - Generate a XML report. - The XML report doesn't have the `767` & `768` codes. Cause ---- Corresponding tax lines are mis-formated. opw-4053595 closes odoo#174223 Signed-off-by: Laurent Smet (las) <las@odoo.com>
mizosoft committedJul 31, 2024 Configuration menu - View commit details
-
Copy full SHA for 4ee576f - Browse repository at this point
Copy the full SHA 4ee576fView commit details -
[FIX] base: fix get_field_translations
return emtpy translations list when the field is not translatable to be consistent with the api's definition closes odoo#175110 Signed-off-by: Louis Wicket (wil) <wil@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for de4f3e9 - Browse repository at this point
Copy the full SHA de4f3e9View commit details -
[IMP] account: Purchase UOM on Vendor Bills
Before this commit, selecting a product on a vendor bill line would set the product sale uom as the line uom by default. This behavior was changed to set the product purchase uom as the line uom by default. The default uom behavior on Vendor Bills lines should be aligned with the default uom behavior on Purchase orders. task-4012191 closes odoo#175126 X-original-commit: a09e0c6 Signed-off-by: Julien Van Roy (juvr) <juvr@odoo.com> Signed-off-by: Hesham Saleh (hsal) <hsal@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for bff969d - Browse repository at this point
Copy the full SHA bff969dView commit details
Commits on Aug 1, 2024
-
[FIX] website_links: keep text-box open in select2 no matches
Before this commit: ======================== In link tracker form, if there is no campaign/medium/source, 'No matches found' message is directly displayed and the text-box for input disappears quickly. Specifications: ======================== We need to keep the input text-box open to be able to create new records on the fly. Technical Reason: ======================== defined 'formatNoMatches' as false to keep text-box open. After this commit: ======================== Text-box for input will remain open and will not disappear. Task-4065969 closes odoo#175218 X-original-commit: 7209fe3 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com> Signed-off-by: Nihar Patel (nihp) <nihp@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for c255e68 - Browse repository at this point
Copy the full SHA c255e68View commit details -
[FIX] stock: use updated documentation pages/links
The pages/links were changed in the documentation. Update the documentation buttons in the settings to match. closes odoo#175135 Signed-off-by: Quentin Wolfs (quwo) <quwo@odoo.com> Co-authored-by: Felicious <feku@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for fe34446 - Browse repository at this point
Copy the full SHA fe34446View commit details -
[FIX] website: support redirect from URL with query string
Previously, there was no clean way to redirect old URLs like /xx.asp?id=xx with the correct HTTP status code. This update adds support for such redirects, allowing people to migrate to Odoo more easily. fiximp-realife closes odoo#175188 Signed-off-by: Romain Derie (rde) <rde@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 2a18dd5 - Browse repository at this point
Copy the full SHA 2a18dd5View commit details -
[FIX] l10n_latam_invoice_document: document type changed on invoice t…
…hat was posted Version: 15, 16, 17, master Description of the issue/feature this PR addresses: Argentinean localization: if a customer invoice with partner with "IVA Responsable Inscripto" AFIP Responsibility is confirmed, then reset to draft and changed the partner to one with "Consumidor Final" AFIP Responsibility, then "Document Type" field is changed and this is not the desired behavior because that field is readonly when the invoice was posted. Compute method should not overried the document type if the invoice was posted before. If it does then an incosistency will occurr because the name, document type and sequence will not match. A new sequence non-real will be used. Also the user it is not aware is happening because the field is readonly. Video showing how to replicate the bug: https://drive.google.com/file/d/1D4uqNnXMkguS813NiLl9td4_f_TJ35Xf/view Steps to reproduce: 1. Log in with admin on runbot odoo enterprise 16 instance and install l10n_ar_edi (Argentinean Electronic Invoicing) module. 2. Take position on company "Responsable Inscripto" 3. Go to "Accounting / Customers / Invoices" and create a new customer invoice with customer "ADHOC SA" (this partner has "IVA Responsable Inscripto" AFIP Responsibility), with a sale journal "Pre-printed Invoice" AFIP POS System (i.e Ventas Preimpreso), add an invoice line and confirm it. 4. Reset to draft the invoice mentioned in step 3 (now journal and document type are readonly fields), change customer to "Consumidor Final Anónimo" (this partner has "Consumidor Final" AFIP Responsibility) and save. Check that the document type has changed from "(1) FACTURAS A" to "(6) FACTURAS B" and this is not the desired behavior because is a readonly field now because the invoice was posted before. Current behavior before PR: When a customer invoice with customern with "IVA Responsable Inscripto" AFIP Responsibility is confirmed, then reset to draft and changed the customer to one with "Consumidor Final" AFIP Responsibility, then "Document Type" field is changed and this is not the desired behavior because that field is readonly when the invoice was posted. Desired behavior after PR is merged: When a customer invoice with customer with "IVA Responsable Inscripto" AFIP Responsibility is confirmed, then reset to draft and changed the customer to one with "Consumidor Final" AFIP Responsibility, then "Document Type" field is not changed. Ticket Adhoc side: 77058 Task latam: 1235 closes odoo#172003 Signed-off-by: Josse Colpaert (jco) <jco@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for ecc829b - Browse repository at this point
Copy the full SHA ecc829bView commit details -
[FIX] website: fix hoverable dropdowns if header searchbar
Steps to reproduce: - In website edit mode. - Click on the header. - Select the "Vertical" template in the "Header" options. - Drag and drop a "Search" block from the inner content section into the header. - Click on the header. - Select "On Hover" for the "Sub Menus" option of the "Navbar". - Save the page. - Enter a letter (e.g., "a") in the search input. - Click outside the page to lose the focus on the input. - Hover over the search results with the mouse. - Traceback: "Cannot read properties of null (reading 'blur')" The bug occurred after commit [1], which didn't account for a dropdown missing a "dropdown-toggle" element. [1]: odoo@0f7cbf2 opw-4012850 closes odoo#175309 Signed-off-by: Robin Lejeune (role) <role@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 970da5a - Browse repository at this point
Copy the full SHA 970da5aView commit details -
[FIX] pos_loyalty: compute available rewards when using tags
Currently, when a loyalty program has a reward of type product and uses `reward_product_tag_id` (set up for at least 2 products), the addition of rewards to the pos order will have mismatched reward lines when adding the second free product (the first product needed to be added first). Steps to reproduce: ------------------- * Go to **Point of Sale** App * Go to **Products** and add a tag (the same) for two products * Under **Products** select `Discount & Loyalty` * Create a new program of type **Buy X Get Y** * Rule: * Min qty: 2 products $0.00 * Among Products: Put all chairs products for example * Reward: * Type: Free Product * Product: None * Product tag: The tag put on the products previously * Open shop session * Add 2 chairs * Select reward, add the first one > Everything ok until now * Add 2 chairs * Select reward, add the second one > Observation: Reward computation is wrong we have the following lines: ``` 4 Chairs, Reward 1, Reward 2, Free product reward 1 ``` We are missing the free product line related to the second product added and the button to select reward is still highlighted. Why the fix: ------------ To explain this fix I will use the example given above. Here are the steps that have been executed * Add 2 chairs * Add the first reward product * Add 2 chairs We are currently in the middle of the step "Add second reward product". during that process, we end up in the function `_computeUnclaimedFreeProductQty` while computing values for the reward line. At this very moment in time, the order has the following lines: * 4 Chairs * Product 1 * Free product (related to Product 1) * Product 2 Where Product 1 and Product 2 are the reward products, having the same tag. Let's focus on this piece of code, with the current example: https://github.com/odoo/odoo/blob/76023820c4d725c81677d2bf3e010c8cee1edd19/addons/pos_loyalty/static/src/js/Loyalty.js#L1464-L1475 Where `product` in this case is `Product 2`. What is happening here at the end is that we have `available = 1` because of line 4 and `claimed = 1` because of line 3. The program considers that we have already claimed the quantity and is the reason why it is not adding the reward line. The first idea to fix this issue was to write the condition: ``` if (reward.reward_product_ids.includes(product.id) && reward.reward_product_ids.includes(line.product.id)) { ``` instead of this one ``` if (line.get_product().id === product.id) { ``` Now both line 2 and 4 are counted toward the `available` quantity. This way the code knows that we have two availaible free product but only 1 was claimed. While this fixed the original issue, a new issue was created. Now, when we add the second product, the two reward lines were grouped together, using the price of the first free product added. Why was this happening? Well, once the fist call to the function `_computeUnclaimedFreeProductQty` was done and the reward line was added we had the following order (temporarily) * 4 Chairs * Product 1 * Free product (related to Product 1) * Product 2 * Free product (related to Product 2) Which is what we expect but we face an issue when the loyalty programs are updated. When the programs update, we go through the function `_updateRewardLines`. In this function we discard the reward lines from the order and then for each claimed reward (Product 1 and Product 2) we re-apply the reward. While applying the reward for Product 1, we again go through the function `_computeUnclaimedFreeProductQty`. In this case, the order looks like this: * 4 Chairs * Product 1 * Product 2 and the function will say that there are 2 available free product and 0 claimed. Were it is technically true, in this case we want to have the available quantity to 1. We want the initial condition: ``` if (line.get_product().id === product.id) { ``` In the second passage, for product 2, we have `available = 2` and `claimed = 2`. opw-3587020 closes odoo#173529 Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 92fc07a - Browse repository at this point
Copy the full SHA 92fc07aView commit details -
[FIX] hr_expense: hr_expense_test_tour fail
Since odoo#169396, the hr_expense_test_tour is failing on community nightly runs as the "save the new report" step does not succeed without demo. runbot-70701 closes odoo#174476 Signed-off-by: Wala Gauthier (gawa) <gawa@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for cdf40d9 - Browse repository at this point
Copy the full SHA cdf40d9View commit details -
[FIX] l10n_gcc_invoice: display lists from right to left in Arabic
Steps to reproduce: - Install the 'l10n_sa' module and switch to a saudi company - Install the Arabic language - Go in Accounting > Customers > Invoices and create a new one - Add an internal note with a list (using /) - Add a translation in arabic with the "EN" button - Click Preview - The points of the list appear in the middle of the page Cause: The lists are not adapted to be displayed from right to left. Solution: Add the option `dir="rtl"` in the span of the Arabic text to make the lists appear the right way. opw-4043175 closes odoo#175333 Signed-off-by: Wala Gauthier (gawa) <gawa@odoo.com> Signed-off-by: Mathieu Coutant (mcou) <mcou@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 1e967d9 - Browse repository at this point
Copy the full SHA 1e967d9View commit details -
[FIX] l10n_in: duplicate GSTIN + improvement
Step to reproduce: - install l10n_in - create an invoice - select an Indian customer with GSTIN - change delivery address to other indian customer without GSTIN - print report, call it "report 1" - change delivery address to other indian customer with GSTIN - print report, call it "report 2" Current behavior: For report 1: - The GSTIN value of the partner_id appear twice on the report For report 2: - The GSTIN value of the partner_id appear twice - The GSTIN value of the delivery partner does not appear Expected behavior: - The GSTIN value of partner_id should not appear twice - If exist, the GSTIN value of delivery partner should be shown opw-4027540 closes odoo#173655 Signed-off-by: Claire Bretton (clbr) <clbr@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 7083dae - Browse repository at this point
Copy the full SHA 7083daeView commit details
Commits on Aug 2, 2024
-
[FIX] website: name placeholders in translated text
Translated text that contains multiple interpolated values should always use named placeholders. Otherwise, sprintf will always insert the values in the same order, which may not match the order of the placeholders after translation in a language with a different syntax. closes odoo#175332 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 736270d - Browse repository at this point
Copy the full SHA 736270dView commit details -
[FIX] project_timesheet_holidays: fix read error on employee_ids
This commit fixes a read access error on the field employee_ids of hr_leave when a user, who is not in group_hr_holidays_user, tries to cancel/refuse a timeoff. The bug only appears when the timeoff crosses a public holidays. closes odoo#174682 Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for c2996ea - Browse repository at this point
Copy the full SHA c2996eaView commit details -
[FIX] purchase: Apply decimal precision on mobile PO lines
Steps to reproduce the issue: - Debug mode > Settings > Technical > Decimal Precision > Product Price - Set to another number - Purchase > Any Purchase order - Mobile view, puchased item has a decimal precision of 2 Why is this a bug: Kanban view is the only one to disregard Product Price Precision setting What this fix does: Update the display with correct decimal precision setting opw-3984082 closes odoo#172049 Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 7c41512 - Browse repository at this point
Copy the full SHA 7c41512View commit details -
[FIX] spreadsheet: update o_spreadsheet to latest version
### Contains the following commits: odoo/o-spreadsheet@97d415b3e [REL] 16.0.49 Task: 0 odoo/o-spreadsheet@f6efbf465 [FIX] package: update owl to 2.3.0 Task: 0 odoo/o-spreadsheet@ea767a46c [PERF] Borders: Improve bulk border deletion Task: 4084858 odoo/o-spreadsheet@44bd11caa [PERF] SheetPlugin: Faster header addition/deletion Task: 4084858 odoo/o-spreadsheet@9e42a869b [PERF] model: reuse success dispatch result Task: 3741429 odoo/o-spreadsheet@1df6d0914 [FIX] functions: COUNTIF count string dates Task: 4077445 odoo/o-spreadsheet@108007423 [FIX] composer: layout break when composer assistant is opened Task: 4037213 odoo/o-spreadsheet@ead785ebf [IMP] position_hook: include width and height in `useSpreadsheetRect` Task: 4037213 closes odoo#175476 Signed-off-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Mehdi Rachico (mera) <mera@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for ee465f9 - Browse repository at this point
Copy the full SHA ee465f9View commit details -
[FIX] hr_holidays: prevent referenced accrual plan unlink
Before this commit, it was possible to delete an accrual plan while it was referenced by an allocation. This commit introduces an error message if the user tries to delete an accrual plan in those conditions. task-4023187 Also updates the `hr_holidays.pot` file closes odoo#172910 Forward-port-of: odoo#171403 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com> Signed-off-by: Bertrand Dossogne (bedo) <bedo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for c85079c - Browse repository at this point
Copy the full SHA c85079cView commit details -
[FIX] hr_holidays: search for leaves in user's tz
For the sake of simplicity we'd assume 3 days: Mon, Tue, Wed. Let's also assume that the everything happens in GMT+10 Now if we have a valid leave allocation for Mon and Tue, we should NOT be able to able to take it on Wed. However, because of the way Timestamps are casted to dates it is possible. It happens as follow: user "asking" server for leave on Wed, defines requested day by passing by the datetimes in the context ranging from Tue 21:00 to Wed 09:00 Why such datetime range? Firstly because we have hardcoded devault values for events that range from 07:00 to 19:00 in local time (ref.1). Secondly because we're in GMT+10 so this range gets shifted: 07:00 on Wed becomes 21:00 on Tue 19:00 on Wed becomes 09:00 also on Wed Then because allocations ranges are defined by dates not datetimes, implicit casting is performed that causes cut-off of the time from the datetime and in the end instead of checking if leave is allowed on Wed we check if it is allowed on Tue and Wed. [FIX] Shifting back into the user's timezone before casting. [Reproduction of the original issue] - install hr_holidays - create employee E - create & validate new Allocation A (in TimeOff/Allocations): - of type T (creating new type will help identify the issue) - for employee E - valid from Mon to Tue - Open E's time off (Employee E -> Time Off) - Switch your browser TZ that is +10 - Attempt to book time off for E on Wed - BUG: you are allowed to do so opw-3850159 (ref.1) calendarEventToRecord from calendar_model https://github.com/odoo/odoo/blob/15.0/addons/web/static/src/legacy/js/views/calendar/calendar_model.js#L74-L75 closes odoo#174952 X-original-commit: 27ba460 Signed-off-by: Bertrand Dossogne (bedo) <bedo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 9a1b76f - Browse repository at this point
Copy the full SHA 9a1b76fView commit details -
[FIX] payment_paypal: don't prompt users for their delivery address
Before this commit, customers could change their delivery address from PayPal's checkout page. It created confusion because the change did not update the selected delivery address in Odoo, if any. This commit adds the `no_shipping='1'` parameter to the API request to prevent PayPal from prompting users for a delivery address. opw-4079193 closes odoo#175547 X-original-commit: 36160c0 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 3739dc4 - Browse repository at this point
Copy the full SHA 3739dc4View commit details
Commits on Aug 3, 2024
-
[IMP] l10n_it_edi: improve installation speed for db will lots of ent…
…ries Avoid setting default value of zero for Integer/Float fields or False for Boolean fields (those are already the fields default) This avoid triggering write on the related models (on multi-companies database with millions on journal entries this speedup the installation of modules from ~8-9 minutes to ~15 seconds) closes odoo#175596 X-original-commit: def96a8 Signed-off-by: Olivier Dony (odo) <odo@odoo.com> Signed-off-by: Xavier Alt (xal) <xal@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for d9d093b - Browse repository at this point
Copy the full SHA d9d093bView commit details
Commits on Aug 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for e69767e - Browse repository at this point
Copy the full SHA e69767eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bec66ee - Browse repository at this point
Copy the full SHA bec66eeView commit details -
[FIX] point_of_sale: display an error popup if a payment line value h…
…as more precision than the rounding precision Current behavior: When a cashier enter a payment value with more precision than the rounding precision (eg. rounding=0.10 and payment value=1.25), he just cannot proceed to the payment. Steps to reproduce: - Install "Point of Sale" app - Go to the settings and enable the cash rounding - Go the shop settings and enable the cash rounding and create a down rounding method with a precision of 0.10 - Start a shop session, select a product and go to the payment screen - Select a payment method and write a number on the numpad so that the value goes up to the cent (eg. 1.25) - Select another payment method to pay the rest Solution: With this commit, an error popup will be displayed explaining why the cashier cannot proceed the payment and what he could change to authorize the payment. This popup should appear when selecting another payment method and when validating the payment. opw-3992018 closes odoo#174145 Signed-off-by: Adrien Guilliams (adgu) <adgu@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 3c556f8 - Browse repository at this point
Copy the full SHA 3c556f8View commit details -
[FIX] point_of_sale: remove POS order attachments on sync error
Before this commit, if an order failed to synchronize due to a concurrent update error, the order would be captured in one process and saved as an attachment in another process. This fix ensures that the attachment is removed when capturing an order that already exists in the database, thereby eliminating unnecessary POS order attachments. opw-4091844 closes odoo#175551 Signed-off-by: Vlad Stroia (vlst) <vlst@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 4d96119 - Browse repository at this point
Copy the full SHA 4d96119View commit details
Commits on Aug 6, 2024
-
[FIX] website_sale : Sync extra_info and buy_now in settings and editor
Steps to reproduce: - Install eCommerce module - Go to Website > Cart - Click on Edit > Customize > Extra Info - Go to Website settings and Check 'Extra Step During Checkout' Current behavior before PR: The 'Extra Step During checkout' setting is not synchronized when turning on and off from website editor or from website settings. This actually leads sometimes that you might turn it on from website settings and it won't be visible in the checkout process. This is happening because in the 'res.config.settings' we are dealing with 'ir.ui.view' that is not linked to any website but in the website editor we are dealing with 'ir.ui.view' that is linked to the website you are editing. https://github.com/odoo/odoo/blob/17.0/addons/website_sale/models/res_config_settings.py#L68 https://github.com/odoo/odoo/blob/17.0/addons/website_sale/models/website.py#L588 Desired behavior after PR is merged: When turning on/off the setting from the website settings now we are dealing with the 'ir.ui.view' that is linked to a website. So the setting is now website dependant. opw-3992571 closes odoo#170639 Signed-off-by: Youssef Bashandy (yoba) <yoba@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 533325a - Browse repository at this point
Copy the full SHA 533325aView commit details -
[FIX] account_edi_ubl_cii: use company_registry for the PartyLegalEntity
In Luxembourg, the "Société national des chemins de Fer Luxembourgeois" expects the `PartyLegalEntity/CompanyID` to be filled with the "Registre de Commerce et des Sociétés" (RCS), which is normally filled on the `company_registry` of the supplier company. Before this commit, we filled this tag with the VAT (which is also filled in the `PartyTaxScheme/CompanyID`). The peppol official documentation states: 1. `PartyTaxScheme/CompanyID`: "The Seller's VAT identifier (also known as Seller VAT identification number) or the local identification (defined by the Seller’s address) of the Seller for tax purposes or a reference that enables the Seller to state his registered tax status." [1] 2. `PartyLegalEntity/CompanyID`: "An identifier issued by an official registrar that identifies the Seller as a legal entity or person." [2] Consequently, it is not certain whether the company_registry should always be used to fill the element `PartyLegalEntity/CompanyID` or not, hence we only use it in Luxembourg for now. [1] https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-AccountingSupplierParty/cac-Party/cac-PartyTaxScheme/cbc-CompanyID/ [2] https://docs.peppol.eu/poacc/billing/3.0/syntax/ubl-invoice/cac-AccountingSupplierParty/cac-Party/cac-PartyLegalEntity/cbc-CompanyID/ opw-4075457 closes odoo#175379 Signed-off-by: Wala Gauthier (gawa) <gawa@odoo.com>
Julien Van Roy committedAug 6, 2024 Configuration menu - View commit details
-
Copy full SHA for ed8feea - Browse repository at this point
Copy the full SHA ed8feeaView commit details -
[FIX] account: not include taxes in accrued expense calculation
Steps to reproduce: - Install Purchase and Accounting - Go in Accounting > Configuration > Accounting > Taxes - Select the line with "Tax Type" equal to "Purchases" - In advanced options tick "Included in Price" - In the Purchase app create a new RFQ and add the tax - Confirm the order and receive the products - In the Purchase Order form view go in Action > Accrued Expense Entry - Change the date to a month from now, lines should appear - These lines have the price including the taxes, it should be without Cause: The calculation of the problematic price is quantity * price, which is problematic with included taxes. Solution: Instead of calculating the price we use the `price_subtotal` calculated by the `compute_all` method. We can not use `price_subtotal` of the line as it includes the whole quantity and not only the quantity to invoice. opw-4045737 closes odoo#175711 X-original-commit: 5236a67 Signed-off-by: Habib Ayob (ayh) <ayh@odoo.com> Signed-off-by: Mathieu Coutant (mcou) <mcou@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 641caa1 - Browse repository at this point
Copy the full SHA 641caa1View commit details -
[FIX] planning: Shift template day span rouding error
Backport of: odoo#168517 Steps to reproduce: - Planning > Configuration > Shift Templates > Create - Configure the Shift so that it ends 1 minute into the next day. ==> "(2 days span)" is not displayed in the shift template name. What happens: The rounding precision on the number of days computation only goes up to a 16th of a day, any less was rounded down and show up as 1 day (i.e 1-14 minutes assuming 40h work weeks, ...). This 16th rounding was removed entirely. Rounding precision has to be at least 3 decimals for this problem to stop occuring. 8:02 still rounds to on day on 2 decimals the commit we are backporting here only has 2, which seems wrong. opw-3911429 closes odoo#175737 X-original-commit: 9b23860 Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com> Signed-off-by: Yoann Baron (bary) <bary@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 88d84d6 - Browse repository at this point
Copy the full SHA 88d84d6View commit details -
[FIX] web_editor: remove option to hide YouTube logo in video player
After this commit, the option to hide the YouTube logo is removed from the video options because the parameter is no longer supported since August 15, 2023, in the YouTube API. For more information, see: https://developers.google.com/youtube/player_parameters#modestbranding opw-4078086 closes odoo#175738 X-original-commit: f79cde9 Signed-off-by: Robin Lejeune (role) <role@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for a40c300 - Browse repository at this point
Copy the full SHA a40c300View commit details
Commits on Aug 7, 2024
-
[IMP] base: Zip not required in Chile E-commerce
Chilean customers are not required to provide a Zip Code, as this information is not commonly used in the country. task-4048931 closes odoo#175736 X-original-commit: 0383c90 Signed-off-by: Julien Van Roy (juvr) <juvr@odoo.com> Signed-off-by: Seif Gneedy (segn) <segn@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 2b58e88 - Browse repository at this point
Copy the full SHA 2b58e88View commit details -
[FIX] l10n_it_edi_withholding: VAT field currency
With an IT company setup Create a BILL in foreign currency with tax Go to List view Activate field VAT (l10n_it_edi_amount_vat_signed) Issue: VAT amount is in company currency but symbol is in foreign currency. This occurs because the field is missing the correct currency_id opw-4034566 closes odoo#172220 Signed-off-by: Josse Colpaert (jco) <jco@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 247cded - Browse repository at this point
Copy the full SHA 247cdedView commit details
Commits on Aug 8, 2024
-
[FIX] account: repartition line amount nulled
Set Company country to India Create a TAX as follows - Amount: 15% - Included in price: False - Tax repartition line: - 100.00% of tax to 100560 Tax Receivable - -100.00% of tax to 999999 Undistributed Profits/Losses Open Bank Reconciliation Widget Create a statement Match with Manual operation Select created tax Issue: created tax lines have no amount This occurs because when computing the tax amounts with compute_all if the configuration of tax is price included (enforced from context) and the tax is in cache we use the computed amount. Unfortunately in this particular configuration the amount is 0 opw-3986439 closes odoo#173674 Signed-off-by: Laurent Smet (las) <las@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for e01eae9 - Browse repository at this point
Copy the full SHA e01eae9View commit details -
[FIX] account: only show amount due in emails when relevant
Currently the amount due of a move was always sent in an email for any type of move. The condition only checked if there was an `invoice_date_due` set. This field is set for any kind of move and default to the creation date of that move. However it only makes sense to show amounts due for invoices, bills, receipts and credit notes. Showing these for miscellaneous moves like the tax closing entry causes users to be confused. The amount displayed is the total amount of the move and not the amount to be paid to the authorities. This fix makes sure we only show the amount due in emails for the right move types in order not to confuse users. opw-4042715 closes odoo#174819 Signed-off-by: Laurent Smet (las) <las@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 0e1e7bf - Browse repository at this point
Copy the full SHA 0e1e7bfView commit details -
[FIX] hw_drivers: Allow accents in printer IDs
An error occurs when adding a printer with accents in its name. When trying to print, no error is shown to the user, only an error log in the console. The issue is due to the get_identifier() function in the Printer class, which uses a regex that does not allow accents. Steps to reproduce: 1. Add a printer with an accent in its name in Cups. 2. Synchronize the IoT box to Odoo. 3. Enable some reports printing on the IoT box for the new device. 4. Try to print a report with the new printer. 5. Then: 1. No error is displayed for the end user. 2. An error is logged in the console. Solution: Use a different regex approach by disallowing certain characters instead of allowing only specific ones. opw-4070003 closes odoo#176020 X-original-commit: a16774b Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com> Signed-off-by: Louis Gobert (loug) <loug@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 3d3155e - Browse repository at this point
Copy the full SHA 3d3155eView commit details -
[FIX] stock: delivery slip Order Qty
Steps to reproduce: - Create 2 storable product - Update the on hand quantity to 100 only for the first one - Create an confirm an SO 75 units of each - Set the done qty to 50 on both moves and create a backorder - Print delivery slip for the original picking > The Ordered quantity is wrong on the product with no stock on hand (50 instead of 75). Cause of the issue: If there's no on hand qty the backorder move will not be associated to any `move_line` so that the `qty_ordered` will not be updated by these lines: https://github.com/odoo/odoo/blob/41a8acd89f90215dc48caf2822507c14fc78feca/addons/stock/models/stock_move_line.py#L785-L791 Furthermore, since they are not cancelled, they are filtered out here and hence do not update the `qty_ordered` by these lines either: https://github.com/odoo/odoo/blob/41a8acd89f90215dc48caf2822507c14fc78feca/addons/stock/models/stock_move_line.py#L813-L816 https://github.com/odoo/odoo/blob/41a8acd89f90215dc48caf2822507c14fc78feca/addons/stock/models/stock_move_line.py#L831 Fix: We modify the filter meant for empty move lines so that moves that are not confirmed and are not associated to any `move_line` contribute to the `qty_ordered` via these: https://github.com/odoo/odoo/blob/41a8acd89f90215dc48caf2822507c14fc78feca/addons/stock/models/stock_move_line.py#L831 However, since we do not want a move that is fully backordered to appear on the delivery slip we need to filter out all the line keys that will be created, because they pass our new filtering condition (but didn't pass the old one), here: https://github.com/odoo/odoo/blob/41a8acd89f90215dc48caf2822507c14fc78feca/addons/stock/models/stock_move_line.py#L819-L821 opw-3957193 closes odoo#175556 X-original-commit: 2505caf Signed-off-by: Quentin Wolfs (quwo) <quwo@odoo.com> Signed-off-by: Lancelot Semal (lase) <lase@odoo.com> Co-authored-by: waha <waha@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 07d5b5c - Browse repository at this point
Copy the full SHA 07d5b5cView commit details -
[FIX] website_event: fix domain typo, prevent menu recreation
location_menu_ids field domain was set to match a menu_type that doesn't exist. [reproduce orginal bug] - install website_event - open some event in debug mode - Edit -> select "Website Submenu" -> Save - Edit -> select "Website Submenu" -> deselect "Website Submenu" -> Save - Open Event's page, BUG: location menu duplicated opw-4049804 closes odoo#175038 X-original-commit: 41a8acd Signed-off-by: Andrzej Pietrusiak (pian) <pian@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 01f25ce - Browse repository at this point
Copy the full SHA 01f25ceView commit details -
[FIX] web: can't upload same file twice
Close odoo#175793 * STEP TO REPRODUCE: go to contact form or perrsonal profile, upload avatar with image 1.png -> Save -> Delete image uploaded -> Update that same image 1.png again -> Nothing happen * SOLUTION: we need to clear ev.target.value just like in v17 does odoo#176126 ** NOTE: This issue is not exist in v15 and v17 closes odoo#176126 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 78e3a3f - Browse repository at this point
Copy the full SHA 78e3a3fView commit details -
[FIX] web: control panel sticky on small screen
Since commit odoo/odoo@adb5357, we have added a new DIV (`o_form_view_container`) around the form view. But the CSS selector for the sticky control panel was not adapted so the feature was not working anymore. This commit fixes the CSS selector. Steps to reproduce: * Open Odoo on small screen * Open the Contact App * Select a contact * Try to scroll down and up into the form view => Bug the control panel is not sticky Note : backport of PR 176015 closes odoo#176164 Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 1d2705e - Browse repository at this point
Copy the full SHA 1d2705eView commit details -
[FIX] mrp_account: no currency in work center analytic account
Problem: If there is no company set on the analytic account for a work center, then an error occurs when adding a work order with that work center to a manufacturing order. The error occurs because there is no company assigned to the analytic account, so there is no currency set. Purpose: Should be able to add a work order to a manufacturing order when the analytic account associated with the work center doesn't have an associated company. Steps to Reproduce on Runbot: 1. Create a new analytic account and remove the company 2. Navigate to a work center and set the analytic account from the previous step 3. Create a manufacturing order 4. Add a work order with the work center from the previous step and save opw-4036375 closes odoo#176155 X-original-commit: 1fdccad Signed-off-by: William Henrotin (whe) <whe@odoo.com> Signed-off-by: Richard Prosser (prri) <prri@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for d355014 - Browse repository at this point
Copy the full SHA d355014View commit details
Commits on Aug 9, 2024
-
[FIX] website: better match local anchor links
When a menu link is defined towards an anchor, the scroll effect of the browser does not trigger from within the translated pages where the URL contains the additional path element about the used locale. The language is added in `ir.http`'s `url_lang` method, but we cannot always know the current URL at that point, nor during the template rendering - making it impossible to determine if the rendered anchor is local. This commit solves this client-side by first uniformizing the current and the target pathnames so that they both end with a `/`, and then, if they match replacing the link's target pathname by the window pathname so that the browser sees them as the same page. Steps to reproduce: - Install `website`. - Install a second language on the website. - Put some content in the Home page so that the bottom section requires scrolling to be seen. - Add a menu element that targets `#bottom`. - Either be a visitor or a connected user. - Go to the default language Home page. - Click on the new link. => Page scrolls to the bottom. - Switch to the second language Home page. - Click on the new link. => Page reloads targeting the bottom instead of scrolling. In master, remove `scroller_service.js` from `web`'s manifest. opw-3956066 closes odoo#176061 X-original-commit: 5f45f6e Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com> Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for d679ad9 - Browse repository at this point
Copy the full SHA d679ad9View commit details -
[FIX] point_of_sale: prevent quantity override when it's not needed
Before this commit, in the `_clickProduct` method, if a product was added without specifying a quantity and the product was weighed using a scale, the quantity would be overridden with 1, even if the scale provided a different quantity. opw-4100289 closes odoo#176202 Related: odoo/enterprise#68165 Signed-off-by: Vlad Stroia (vlst) <vlst@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for a032f3c - Browse repository at this point
Copy the full SHA a032f3cView commit details -
[FIX] hr_holidays : Delete time-off timesheets when archiving employee
Steps to reproduce: - Install Timesheet and Time-off modules - Let the time-off validation creates a timesheet - Create a time off for an employee and validate it - Archive this employee Current behavior before PR: After archiving an employee you will still have the timesheets related to his upcoming leaves even when you are closing all of his activities. This is happening because when archiving an employee we are just updating the state of his hr.leave to refuse without unlinking the timesheets https://github.com/odoo/odoo/blob/15.0/addons/hr_holidays/wizard/hr_departure_wizard.py#L23 Desired behavior after PR is merged: While archiving an employee we are calling the 'action_refuse' method where it will update the state of the employee's leaves and also will unlink the timesheet related to those leaves. opw-4070684 closes odoo#175923 X-original-commit: 16754dd Signed-off-by: Bertrand Dossogne (bedo) <bedo@odoo.com> Signed-off-by: Youssef Bashandy (yoba) <yoba@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 5d61f36 - Browse repository at this point
Copy the full SHA 5d61f36View commit details -
[FIX] web_editor: not able to create link as an image
Behaviour before commit: When we try to add a link on an image through dialog box, image gets hidden and url is added as a link instead. Behaviour after commit: Now, link is added to the image without vanishing the image. task-4049730 closes odoo#174211 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 0b82506 - Browse repository at this point
Copy the full SHA 0b82506View commit details -
[FIX] account: nested group of tax creation
1) Start creating a tax 2) Set the 'Tax Computation' to 'Group of taxes' 3) In 'Definition' tab, select 'Add a line', choose to create a new tax 4) Jumpt to 2 Issue: Nested group of taxes are not allowed When adding the child tax users cannot choose group of taxes, but we can't block creation of just a specific type of taxes so we need to check the type afterward opw-4060955 closes odoo#175726 X-original-commit: 809ed26 Signed-off-by: Laurent Smet (las) <las@odoo.com> Signed-off-by: Andrea Grazioso (agr) <agr@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for d669a6b - Browse repository at this point
Copy the full SHA d669a6bView commit details -
[FIX] l10n_sa_edi: fix down-payment value calculations
This commit fixes an issue regarding down-payment calculation. ZATCA defines one rule to govern the way prepaid amounts (down-payment) is calculated, where PrepaidAmount = SUM([LINE.TaxableAmount + LINE.TaxAmount for LINE in invoice.invoice_line_ids]), obviously this poses a problem when we have a mix of down-payment and normal lines on our invoice since the formula does not differentiate between those. To fix this, we make sure that only down-payment lines actually include a Tax Subtotal breakdown (TaxableAmount & TaxAmount) closes odoo#175749 X-original-commit: 3f5eccd Signed-off-by: Josse Colpaert (jco) <jco@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 129c822 - Browse repository at this point
Copy the full SHA 129c822View commit details -
[FIX] stock: enforce deterministic order on freed reservation
Steps to reproduce: - Create a product - Update its quantity and set 4 in Stock - Create two MO that consume each 2 units of that product with the same scheduled date - Create a scrap order with 1 quantity of that product and validate it Issue: The unreserve will be done on the first MO. When going through the candidate move lines in the `_free_reservation()`, we sort them depending on their picking, their date if they have a move, or their id if they don't. The issue is that when their related move have an equal date, then the order becomes underministic. Now, always sort by their id as a last resort, so we have a consistent order no matter what. opw-4046240 closes odoo#176354 X-original-commit: 5b0c3f3 Signed-off-by: Steve Van Essche <svs@odoo.com> Signed-off-by: Quentin Wolfs (quwo) <quwo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 6898e01 - Browse repository at this point
Copy the full SHA 6898e01View commit details
Commits on Aug 10, 2024
-
[FIX] spreadsheet: update o_spreadsheet to latest version
### Contains the following commits: odoo/o-spreadsheet@39728704b [REL] 16.0.50 Task: 0 odoo/o-spreadsheet@d1f5899d2 [FIX] ranges: getRangeFromSheetXC with invalid sheetId Task: 3578461 closes odoo#176322 Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Mehdi Rachico (mera) <mera@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for db4e57b - Browse repository at this point
Copy the full SHA db4e57bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26bca4a - Browse repository at this point
Copy the full SHA 26bca4aView commit details
Commits on Aug 12, 2024
-
[FIX] account: fiscal pos differents bill/delivery addresses
Steps: - With a belgian company - Activate custom addresses - Create 2 customer with vat, 1 from NL, another from ZA - Create an invoice with billing address ZA and delivery address NL -> Fiscal position is set to intra-communautaire instead of extra-communautaire opw-4072691 closes odoo#176315 X-original-commit: 39c113c Signed-off-by: John Laterre (jol) <jol@odoo.com> Signed-off-by: Guillaume Vanleynseele (guva) <guva@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for a5e4618 - Browse repository at this point
Copy the full SHA a5e4618View commit details -
[FIX] website: prevent scrolling when keeping focus when hovering menus
In order to be more accessible, commit [1] allowed the hoverable menus to have an outline when they are focused by using the Tab key. When hovering these menus with the mouse, the outline should not appear, unless it was already focused (with the Tab key). Also, when hovering, the focus should stay on the already focused element. This last part causes some issues: indeed, the focus is kept by calling the `focus` function and the issue with it is that it scrolls to the element on which it is called. This made the screen scroll unexpectedly anytime we hovered a hoverable menu, to bring the focused element into view. This commit fixes this issue by specifying that the screen should not scroll when focusing the element. Steps to reproduce: - In the menu editor, add some submenus. - In edit mode, click on the header and set the "Sub Menus" option to "On Hover" and the "Scroll Effect" option to "Scroll". - Go to the "/shop" page. - In edit mode, add the cart button on the products and then save. - Scroll down the page and add a product to the cart. - Scroll up the page and hover the menu with a submenu. => The page scrolls down to the product we just added, since it was the focused element. [1]: odoo@0f7cbf2 opw-4069610 closes odoo#175710 Signed-off-by: Arthur Detroux (ard) <ard@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 04b0ab5 - Browse repository at this point
Copy the full SHA 04b0ab5View commit details -
[FIX] account: Invoice Order on Payment Receipt
Before this commit: Invoices reconciled with a single payment appeared in a random order on the Payment Receipt. This was caused by the use of a set, which does not preserve the order of invoices. After this commit: Invoices are displayed in the order defined by the account.move model, ensuring a consistent and logical sequence. Steps to reproduce: - Create four invoices for the same customer on different dates. - Register a customer payment covering the total amount of the four invoices. - Reconcile the payment with the invoices. - Print the Payment Receipt for the payment. closes odoo#176519 X-original-commit: d4d7e8f Signed-off-by: William André (wan) <wan@odoo.com> Signed-off-by: Corentin Thaon (thco) <thco@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 8627308 - Browse repository at this point
Copy the full SHA 8627308View commit details
Commits on Aug 13, 2024
-
[FIX] delivery: use the right variable name
Commit 775c113 change the variable name from `i` to `picking` but the fw-port 9a3b294 keeps the old name. Resulting on the access token is never found. closes odoo#176560 Signed-off-by: Quentin Wolfs (quwo) <quwo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for cc2f958 - Browse repository at this point
Copy the full SHA cc2f958View commit details -
[FIX] purchase_stock: Use hook method
This uses the hook method introduced in odoo@ce1f1b6 for consistency when used on modules that modify this behavior. closes odoo#175998 X-original-commit: 1040381 Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for bcde9f7 - Browse repository at this point
Copy the full SHA bcde9f7View commit details -
[FIX] l10n_nl: change account type
`Other income` and Other income previous years` are obviously income accounts and not expense accounts. closes odoo#176464 X-original-commit: 3e9911f Related: odoo/enterprise#68297 Signed-off-by: Olivier Colson (oco) <oco@odoo.com> Signed-off-by: Ruben Gomes (rugo) <rugo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 2f64d67 - Browse repository at this point
Copy the full SHA 2f64d67View commit details -
[FIX] hw_drivers: improve readability of unhandled IoT tracebacks
Before this commit: Unhandled python traceback will be tough to read as there is too much line breaks which was forcing each line to be logged. e.g: ```py 2024-08-12 09:33:49,426 2466 ERROR ? root: Exception in thread 2024-08-12 09:33:49,428 2466 ERROR ? root: Thread-9 2024-08-12 09:33:49,429 2466 ERROR ? root: : 2024-08-12 09:33:49,430 2466 ERROR ? root: 2024-08-12 09:33:49,430 2466 ERROR ? root: Traceback (most recent call last): 2024-08-12 09:33:49,430 2466 ERROR ? root: 2024-08-12 09:33:49,430 2466 ERROR ? root: File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner 2024-08-12 09:33:49,439 2466 ERROR ? root: 2024-08-12 09:33:49,439 2466 ERROR ? root: 2024-08-12 09:33:49,457 2466 ERROR ? root: self.run() 2024-08-12 09:33:49,459 2466 ERROR ? root: 2024-08-12 09:33:49,459 2466 ERROR ? root: File "/home/pi/odoo/addons/hw_drivers/interface.py", line 31, in run 2024-08-12 09:33:49,460 2466 ERROR ? root: 2024-08-12 09:33:49,461 2466 ERROR ? root: 2024-08-12 09:33:49,465 2466 ERROR ? root: self.update_iot_devices(self.get_devices()) 2024-08-12 09:33:49,466 2466 ERROR ? root: 2024-08-12 09:33:49,467 2466 ERROR ? root: 2024-08-12 09:33:49,467 2466 ERROR ? root: 2024-08-12 09:33:49,467 2466 ERROR ? root: 2024-08-12 09:33:49,468 2466 ERROR ? root: 2024-08-12 09:33:49,468 2466 ERROR ? root: 2024-08-12 09:33:49,468 2466 ERROR ? root: 2024-08-12 09:33:49,468 2466 ERROR ? root: 2024-08-12 09:33:49,468 2466 ERROR ? root: 2024-08-12 09:33:49,469 2466 ERROR ? root: 2024-08-12 09:33:49,469 2466 ERROR ? root: 2024-08-12 09:33:49,470 2466 ERROR ? root: 2024-08-12 09:33:49,473 2466 ERROR ? root: 2024-08-12 09:33:49,474 2466 ERROR ? root: 2024-08-12 09:33:49,474 2466 ERROR ? root: 2024-08-12 09:33:49,474 2466 ERROR ? root: 2024-08-12 09:33:49,480 2466 ERROR ? root: 2024-08-12 09:33:49,482 2466 ERROR ? root: 2024-08-12 09:33:49,487 2466 ERROR ? root: 2024-08-12 09:33:49,488 2466 ERROR ? root: 2024-08-12 09:33:49,488 2466 ERROR ? root: 2024-08-12 09:33:49,488 2466 ERROR ? root: 2024-08-12 09:33:49,488 2466 ERROR ? root: 2024-08-12 09:33:49,488 2466 ERROR ? root: 2024-08-12 09:33:49,495 2466 ERROR ? root: 2024-08-12 09:33:49,495 2466 ERROR ? root: 2024-08-12 09:33:49,496 2466 ERROR ? root: 2024-08-12 09:33:49,496 2466 ERROR ? root: 2024-08-12 09:33:49,497 2466 ERROR ? root: 2024-08-12 09:33:49,497 2466 ERROR ? root: ^ 2024-08-12 09:33:49,498 2466 ERROR ? root: ^ 2024-08-12 09:33:49,499 2466 ERROR ? root: ^ 2024-08-12 09:33:49,502 2466 ERROR ? root: ^ 2024-08-12 09:33:49,502 2466 ERROR ? root: ^ 2024-08-12 09:33:49,503 2466 ERROR ? root: ^ 2024-08-12 09:33:49,503 2466 ERROR ? root: ^ 2024-08-12 09:33:49,503 2466 ERROR ? root: ^ 2024-08-12 09:33:49,503 2466 ERROR ? root: ^ 2024-08-12 09:33:49,504 2466 ERROR ? root: ^ 2024-08-12 09:33:49,504 2466 ERROR ? root: ^ 2024-08-12 09:33:49,504 2466 ERROR ? root: ^ 2024-08-12 09:33:49,504 2466 ERROR ? root: ^ 2024-08-12 09:33:49,504 2466 ERROR ? root: ^ 2024-08-12 09:33:49,504 2466 ERROR ? root: ^ 2024-08-12 09:33:49,505 2466 ERROR ? root: ^ 2024-08-12 09:33:49,505 2466 ERROR ? root: ^ 2024-08-12 09:33:49,505 2466 ERROR ? root: ^ 2024-08-12 09:33:49,505 2466 ERROR ? root: 2024-08-12 09:33:49,505 2466 ERROR ? root: File "/home/pi/odoo/addons/hw_drivers/iot_handlers/interfaces/PrinterInterface_L.py", line 21, in get_devices 2024-08-12 09:33:49,506 2466 ERROR ? root: 2024-08-12 09:33:49,506 2466 ERROR ? root: 2024-08-12 09:33:49,507 2466 ERROR ? root: 0/0 2024-08-12 09:33:49,507 2466 ERROR ? root: 2024-08-12 09:33:49,507 2466 ERROR ? root: 2024-08-12 09:33:49,507 2466 ERROR ? root: 2024-08-12 09:33:49,508 2466 ERROR ? root: 2024-08-12 09:33:49,508 2466 ERROR ? root: 2024-08-12 09:33:49,508 2466 ERROR ? root: ~ 2024-08-12 09:33:49,508 2466 ERROR ? root: ^ 2024-08-12 09:33:49,508 2466 ERROR ? root: ~ 2024-08-12 09:33:49,508 2466 ERROR ? root: 2024-08-12 09:33:49,508 2466 ERROR ? root: ZeroDivisionError 2024-08-12 09:33:49,509 2466 ERROR ? root: : 2024-08-12 09:33:49,509 2466 ERROR ? root: division by zero ``` After this commit: New lines are logged only if necessary, like in a regular tb: ```py 2024-08-12 09:41:06,197 3093 ERROR ? odoo.addons.hw_drivers.exception_logger: Exception in thread Thread-9: 2024-08-12 09:41:06,199 3093 ERROR ? odoo.addons.hw_drivers.exception_logger: Traceback (most recent call last): 2024-08-12 09:41:06,201 3093 ERROR ? odoo.addons.hw_drivers.exception_logger: File "/usr/lib/python3.11/threading.py", line 1038, in _bootstrap_inner 2024-08-12 09:41:06,222 3093 ERROR ? odoo.addons.hw_drivers.exception_logger: self.run() 2024-08-12 09:41:06,223 3093 ERROR ? odoo.addons.hw_drivers.exception_logger: File "/home/pi/odoo/addons/hw_drivers/interface.py", line 31, in run 2024-08-12 09:41:06,233 3093 ERROR ? odoo.addons.hw_drivers.exception_logger: self.update_iot_devices(self.get_devices()) 2024-08-12 09:41:06,234 3093 ERROR ? odoo.addons.hw_drivers.exception_logger: ^^^^^^^^^^^^^^^^^^ 2024-08-12 09:41:06,234 3093 ERROR ? odoo.addons.hw_drivers.exception_logger: File "/home/pi/odoo/addons/hw_drivers/iot_handlers/interfaces/PrinterInterface_L.py", line 21, in get_devices 2024-08-12 09:41:06,235 3093 ERROR ? odoo.addons.hw_drivers.exception_logger: 0/0 2024-08-12 09:41:06,236 3093 ERROR ? odoo.addons.hw_drivers.exception_logger: ~^~ 2024-08-12 09:41:06,237 3093 ERROR ? odoo.addons.hw_drivers.exception_logger: ZeroDivisionError: division by zero ``` opw-4110599 closes odoo#176573 X-original-commit: 2b32a9b Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com> Signed-off-by: Loan Sens (lse) <lse@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 0d27ddb - Browse repository at this point
Copy the full SHA 0d27ddbView commit details
Commits on Aug 14, 2024
-
[IMP] base_vat,partner_autocomplete: add logging when calling VIES se…
…rvice More logging is required to track calls to VIES services to enable tracking databases triggering VIES limitations. closes odoo#176669 X-original-commit: 2c05815 Signed-off-by: Louis Baudoux (lba) <lba@odoo.com> Signed-off-by: Stanislas Sobieski (sts) <sts@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 9cb8023 - Browse repository at this point
Copy the full SHA 9cb8023View commit details -
[FIX] l10n_es_edi_{sii|tbai}: use ClaveRegimen 17 for OSS operations
Steps to reproduce: - Install Accounting, l10n_eu_oss and l10n_es_edi_tbai - Switch to a Spanish company (e.g. ES Company) - Create an invoice for a Portugese customer: * Customer: [a Portugese customer] * Invoice Lines: [a line with OSS tax "23.0% PT VAT (Goods)"] - Confirm the invoice - Process the invoice by E-invoicing service: TicketBAI (ES) - Check the generated EDI document Issue: The value of "ClaveRegimenIvaOpTrascendencia" is "01". It should be "17" for OSS operations. Solution: Check if a tax from "l10n_eu_oss" module is used in one of the invoice lines. If it is the case, set "ClaveRegimenIvaOpTrascendencia" to "17". opw-4034659 closes odoo#176564 Signed-off-by: Josse Colpaert (jco) <jco@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 0205a7b - Browse repository at this point
Copy the full SHA 0205a7bView commit details -
[FIX] l10n_latam_invoice_document: document type not changed on poste…
…d vendor bills when partner is changed. Version: 16, 17, master Description of the issue/feature this PR addresses: Argentinean localization: if a customer invoice with partner with "IVA Responsable Inscripto" AFIP Responsibility is confirmed, then reset to draft and changed the partner to one with "Responsable Monotributo" AFIP Responsibility, then "Document Type" field is changed and this is not the desired behavior because that field is readonly when the invoice was posted. Compute method should not overried the document type if the invoice was posted before. If it does then an incosistency will occurr because the name, document type and sequence will not match. A new sequence non-real will be used. Also the user it is not aware is happening because the field is readonly. But when a vendor bill with partner with "IVA Responsable Inscripto" AFIP Responsibility is confirmed then is needed to change "Document Type" field if that vendor bill is reset to draft and changed the partner to one with "Responsable Monotributo" AFIP Responsibility. Video showing how to replicate the bug: https://drive.google.com/file/d/1endivnZ3EEBVn4kzt0hIkR-a5tecYUR7/view Steps to reproduce: 1. Log in with admin on runbot odoo enterprise 16 instance and install l10n_ar_edi (Argentinean Electronic Invoicing) module. 2. Take position on company "Responsable Inscripto". 3. Go to "Accounting / Vendor / Bills" and create a new vendor bill with vendor "ADHOC SA" (this partner has "IVA Responsable Inscripto" AFIP Responsibility), with a journal "Vendor Bills", add an invoice line and confirm it. 4. Reset to draft the vendor bill mentioned in step 3 (now journal and document type are readonly fields), change customer to "Gritti Agrimensura" (this partner has "Responsable Monotributo" AFIP Responsibility) and save. Check that the document type has not changed from "(1) FACTURAS A" to "(11) FACTURAS C" and this is not the desired behavior because is a readonly field now because the invoice was posted before. Current behavior before PR: When a vendor bill with partner with "IVA Responsable Inscripto" AFIP Responsibility is confirmed then "Document Type" field does not changes if that vendor bill is reset to draft and changed the partner to one with "Responsable Monotributo" AFIP Responsibility. Desired behavior after PR is merged: When a vendor bill with partner with "IVA Responsable Inscripto" AFIP Responsibility is confirmed then "Document Type" field does changes if that vendor bill is reset to draft and changed the partner to one with "Responsable Monotributo" AFIP Responsibility. Ticket Adhoc side: 77058 Task latam: 1242 closes odoo#175855 Signed-off-by: Josse Colpaert (jco) <jco@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for edbe466 - Browse repository at this point
Copy the full SHA edbe466View commit details -
[FIX] account: Fix invoice reversing default bank
Problem --------- Currently, when reversing a move, the current company is used as recipient bank. 1. Set a bank on a partner A 2. Go to Accounting 3. Set A as the customer of the invoice 4. Set a bank under 'recipient bank' in Other Info tab 5. Post the invoice 6. "Add Credit Note" 7. Fill in with wathever and press Reverse -> The Other Info tab of the reverse move has the company bank and not the customer's Objective --------- Obtain a similar behavior as when a credit note is created directly: have the customer's bank set as recipient bank. Solution --------- Provide a default bank id that is set, if possible, to one of the customer's bank. opw-4035448 closes odoo#176741 X-original-commit: c1ea29e Signed-off-by: Wala Gauthier (gawa) <gawa@odoo.com> Signed-off-by: Antoine Boonen (aboo) <aboo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 09eadbc - Browse repository at this point
Copy the full SHA 09eadbcView commit details -
[IMP] hr_holidays: hinder allocation date_to to precede date_from
Purpose: In order to reduce the possibility to make errors, make the end date of the validity period always come after the start date. task - 3069666 closes odoo#106966 closes odoo#175841 Signed-off-by: Kevin Baptiste <kba@odoo.com> Signed-off-by: Bertrand Dossogne (bedo) <bedo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 2d9f02e - Browse repository at this point
Copy the full SHA 2d9f02eView commit details -
[FIX] web: update owl to version 2.3.1
There's a single change in this minor version of owl: we no longer call console.warn when a willStart/willUpdateProps callback takes more than 3s (in dev/test mode only anyway). Instead, we use console.log. The reason is that some willStart/willUpdateProps may sometimes take more than 3s (because they lazyload bundles for instance). When this happens, if a warning is logged, the runbot will be yellow and the build will fail. In master, it happenned a lot recently, in tours involving the WebsiteEditorComponent, which loads the wysiwyg bundle, and since recently, jquery [1]. For that reason, we decided to log instead of warn, at least temporarily, s.t. the skipped tours can be unskipped. [1] odoo#174213 closes odoo#176783 Signed-off-by: Francois Georis (fge) <fge@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for ead5c4f - Browse repository at this point
Copy the full SHA ead5c4fView commit details
Commits on Aug 15, 2024
-
[FIX] l10n_eg_edi_eta: check current status before cancelling
Steps to reproduce: (Require credentials) - Install l10n_eg_edi_eta - Switch to an Egyptian company - Configure the Egyption localization - Create an invoice and post it to ETA - Go to ETA portal and reject the invoice - From invoice in Odoo, request EDI cancellation Issue: The following error is displayed: { 'code': 'ValidationError', 'message': None, 'target': 'Update Document Status', 'details': [{ 'code': None, 'target': 'Document.UUID', 'message': 'Provided Status is invalid, based on the current document status.' }] } Solution: Before cancelling an invoice, check submission status. If it's cancelled or rejected, do not send the cancellation EDI request and responds to the method with a success. opw-3884519 closes odoo#176803 X-original-commit: ef50c38 Signed-off-by: Josse Colpaert (jco) <jco@odoo.com> Signed-off-by: Anh Thao Pham (pta) <pta@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 13b50d3 - Browse repository at this point
Copy the full SHA 13b50d3View commit details
Commits on Aug 16, 2024
-
[FIX] sale_stock: compute sol reserved qty wizzard from all moves
Issue: the reserved quantity appearing on the SOL wizard is not well behaved with respect to 2+ steps deliveries. Steps to reproduce: - Enable Multi-step routes in the settings - Inventory > Configuration > Warehouse Management > Warehouses - Enable delivery in 2 steps - Create a storable product and put 1 unit in stock - Create and confirm an SO for 1 unit - Click on the chart icon next to the delivered qty > the reserved qty is 0 + "No future availability" even though 1 unit is reserved from stock Cause of the issue: The reserved qty displayed on the next to the delivered qty on the SOL is the `qty_available_today` computed field of the SOL model. This field is computed by summing the qties of the stock moves linked to the SOL: https://github.com/odoo/odoo/blob/817186b7b896c9a415bd947baf189bf7f1bde321/addons/sale_stock/models/sale_order_line.py#L69 https://github.com/odoo/odoo/blob/817186b7b896c9a415bd947baf189bf7f1bde321/addons/sale_stock/models/sale_order_line.py#L80-L81 However, when you are not delivering in 1 step, the only delivery move linkedto the SOL will be the move which destination is the customer location. To be more precise, confirming the SO in a delivery in two steps a stock move from the Output to the customer will be created and linked to the SOL. During the action confirm of this move a procurment will be run to generate a move from stock to the Output but the SOL will not be referenced anymore so that the SOL will not be linked to it. Note: The behavior is different in saas-17.2 where each of the delivering move is linked to the SOL so that the probably need to be adapted. opw-3981935 closes odoo#176756 Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 62871b4 - Browse repository at this point
Copy the full SHA 62871b4View commit details -
[IMP] product_expiry: Don't trigger move lines expiration date recomp…
…utation If one change the use_create_lots field on stock.picking.type, we should not trigger all move lines recomputation of that picking type. closes odoo#120538 Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 65cec4c - Browse repository at this point
Copy the full SHA 65cec4cView commit details -
[FIX] stock_account: _run_fifo_vacuum standard price write
closes odoo#167604 Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 572c7c4 - Browse repository at this point
Copy the full SHA 572c7c4View commit details -
[FIX] l10n_nl: fix bad forward-port of account type change
This forward-port commit odoo@2f64d67 modified the code instead of the type column in the csv for account 4970. closes odoo#176899 Signed-off-by: Antoine Dupuis (andu) <andu@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for be25655 - Browse repository at this point
Copy the full SHA be25655View commit details -
[FIX] purchase_stock: fix write of purchase.order.line to avoid error…
… for line_section or line_note Replace check for key presence in values avoid execute code when display type of line is line_section or line_note closes odoo#168676 Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 40dd47f - Browse repository at this point
Copy the full SHA 40dd47fView commit details -
[ADD] purchase: add _get_select_sellers_params
add a hook to allow changing the params which are used to select the seller during the purchase order line price computation closes odoo#170021 Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 966c101 - Browse repository at this point
Copy the full SHA 966c101View commit details -
[FIX] mrp_subcontracting_dropshipping: make backorder affect SVL value
**Current behavior:** In a scenario where dropshipping and subcontracting are being used to fulfill an order, if the dropship is split via backorder then the valuation layers which get created for each subsequent backorder will have a cumulative value instead of reflecting the value for the sequence portion for which they were generated. **Expected behavior:** The SVL records should have a value which accurately reflects the moves involved in the portion of the valuation sequence that they are being created with respect to. **Steps to reproduce:** 1. Create a component_product such that: - is storable - category has automated valuation and avg cost method - has the `dropship subcontractor on order` route - has some vendor 2. Create a final_product such that: - is storable - category has automated valuation and avg cost method - invoice policy is on quantity delivered - has a subcontract bom that consumes some quantity of component_product - has a subcontractor vendor 3. Create a sale order for >1 of the final_product, set the route on order line to dropship, confirm the SO and the PO which is generated 4. In the dropship transfer, set the quantity to half the demand and validate -> generate the backorder 5. On the SO, create an invoice for the completed quantity and confirm it 6. Complete the rest of the order in the backordered dropship transfer and create and confirm another invoice on the SO 7. Go to the SVL tree view and observe that the latest SVL is ~2x (before the compensatory SVL difference is applied) **Cause of the issue:** When the SVL is created, its value is calculated by taking the difference of subcontract SVL(s) values and dropship SVL(s) values. The subcontract SVLs come from the `move_orig_ids` of the current SVL's move. When the sequence is broken up by backorders, these moves are still used in the calculation for the value of future SVLs. This results in the inaccuracy. **Fix:** Only use SVLs from the move in the current move's `move_orig_ids` which has the maximum `backorder_sequence`. opw-4078510 closes odoo#176163 Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for c5dda66 - Browse repository at this point
Copy the full SHA c5dda66View commit details -
[FIX] website_blog: prevent "List" layout from overflowing on mobile
Steps to reproduce: - Go to the "/blog" page. - In edit mode, set the "Layout" option to "List" and save. - Toggle the mobile preview or reduce the screen size at around 580px or below. => There is a horizontal scrollbar. The scrollbar appears because the row containing the blog posts has a bigger width than its container, which makes it overflow from it. It happens because of the `o_container_small` class set on the container, which has a rule forcing its horizontal padding to 0, where it was supposed to compensate the row margins. This commit therefore fixes this issue by forcing the row horizontal margins to 0 for screen sizes under the `MD` screen breakpoint, which is approximately where the blogs layout becomes mobile. This fix also has the advantage of improving the "List" mobile layout by making it look similar to the "Grid" layout one, that is, with a bit of space around the posts, instead of being glued to the viewport. opw-4052853 Part-of: odoo#176421 Signed-off-by: Arthur Detroux (ard) <ard@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for abfeadf - Browse repository at this point
Copy the full SHA abfeadfView commit details -
[FIX] web_editor: prevent grid item inner row child from overflowing
Steps to reproduce: - In edit mode, drop the "Team" snippet. - Toggle it to grid mode. - Set the "Content Width" option to "Full". => A horizontal scrollbar appears. This happens because the `.row` elements generally have a `--gutter-x` CSS variable set to 30px that is used to compute their horizontal margins, such that it compensates the padding of the parent (generally a `.container` element) which is set to the same value. So the parent is supposed to always have a padding of 15px, which is compensated by the row margins, set to -15px. When a row is a direct child of a grid item, the row can overflow its parent if the grid item has a padding below 15px. Indeed, the row expects its parent to have a 15px padding, so its margins are too big if the value is below. A horizontal scrollbar can therefore appear, if the snippet container takes the whole screen width. This commit fixes this issue by making the margins of row elements that are direct children of a grid item compensate the padding of this grid item, while it is below 15px. When it is set to 15px or above, they are back compensating the usual 15px. opw-4052853 opw-3981579 closes odoo#176421 Signed-off-by: Arthur Detroux (ard) <ard@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for d7c2f8b - Browse repository at this point
Copy the full SHA d7c2f8bView commit details -
[FIX] website, test_http: assertURLEqual in tests
Testing that we are correctly redirected to a specific URL is something recurrent in both the http framework and website. There are various competiting ways to achieve this. In this work we propose a single go-to function that (1) takes care of sanitizing both URLs to deal with missing scheme/host and (2) ouput a nice assertion message when the urls are different. It uses urllib3 because it parses "example.com" as netloc="example.com" instead of urllib that parses it as path="example.com". closes odoo#176763 Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 7b9946d - Browse repository at this point
Copy the full SHA 7b9946dView commit details -
[FIX] base: Import records one by one from a single file
Summary ----- Normally, in the load.py method, when there is an error in creating the recordset to be imported, the records are then created one by one. The commit 5d4a24a prevents this behavior in case of a failure to create the recordset in one go. Steps to reproduce ----- Create a module that redefines the create method of the res.users model to throw an error if vals_list contains at least 2 elements. Import a file containing at least 2 users (by adding the suffix /web#model=res.users&action=import to the URL). Cause ----- The global error message has been logged since the commit cited in the summary. However, a rollback is performed if there are error messages. Fix ----- If we see that there are at least one error and if the global error is not in the messages, then we add it to the messages. opw-4102745 closes odoo#176901 Signed-off-by: Rémy Voet (ryv) <ryv@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for a92607a - Browse repository at this point
Copy the full SHA a92607aView commit details
Commits on Aug 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 768951e - Browse repository at this point
Copy the full SHA 768951eView commit details
Commits on Aug 19, 2024
-
[FIX] website_forum: prevent link post to private forum
It is necessary to check access rights when linking a post to another forum, so that the user linked to the post always has access to it. task-4116016 closes odoo#176788 X-original-commit: 6fb485a Signed-off-by: Denis Ledoux (dle) <dle@odoo.com> Signed-off-by: Thomas Lefebvre (thle) <thle@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 7b18329 - Browse repository at this point
Copy the full SHA 7b18329View commit details -
[FIX] sale_mrp: avoid bom type change during a sale process
Changing a BoM from 'phantom' (kit) to 'normal' (manufacture) during leads to an error if the kit is in the middle of a sale process. ## How to reproduce: 2. Create a product category PC: AVCO Automated 3. Create 3 storable products P_kit, P_01, P_02 in category PC 4. Create a BoM: - Product: P_kit - Type: kit - Components: - 1 x P_01 - 1 x P_02 5. Create and confirm a SO with 1 x P_kit 6. Force the delivery 7. Change BoM type to 'Manufacture this product' 8. Create and confirm the SO's invoice Error: a traceback appears "ValueError: Expected singleton: uom.uom..." Related PR: odoo#119944 OPW-3843356 closes odoo#176957 X-original-commit: 967c4cd Signed-off-by: William Henrotin (whe) <whe@odoo.com> Signed-off-by: David Fesquet (dafr) <dafr@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for f806140 - Browse repository at this point
Copy the full SHA f806140View commit details -
[FIX] pos_loyalty: adjust finalizeOrder in tests
After the commit odoo@58307ad, tests in pos_loyalty that use the finalizeOrder method started failing due to the addition of the payment amount. This step has become unnecessary because the total amount is automatically added during payment processing. opw-4105634 closes odoo#176223 Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for d54dc4d - Browse repository at this point
Copy the full SHA d54dc4dView commit details -
[FIX] website_sale_stock: add product name in payment error
__Current behavior before commit:__ When you check out your cart with a product not in the stock anymore you have an error message. There is no product name in this message so if you have multiple products in your cart you don't know which one to remove. __Description of the fix:__ Add the product name in the error message, so it's easy to identify which product to remove of the cart. The warning method is linked to sale.order.line so we can access to the product directly. __Steps to reproduce the issue:__ - add products to your cart - remove one or many products of the stock - try to validate your payment opw-4016059 (upgrade issues) closes odoo#174615 Related: odoo/enterprise#67423 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 2e6639b - Browse repository at this point
Copy the full SHA 2e6639bView commit details -
[FIX] spreadsheet: update o_spreadsheet to latest version
### Contains the following commits: odoo/o-spreadsheet@2b6002219 [REL] 16.0.51 Task: 0 odoo/o-spreadsheet@6316fb50a [FIX] parser: parsing empty string throws meaningful error Task: 0 odoo/o-spreadsheet@5651bec69 [FIX] package: Fix typo in `module` key Task: 0 closes odoo#177025 Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Anthony Hendrickx (anhe) <anhe@odoo.com> Co-authored-by: Alexis Lacroix (laa) <laa@odoo.com> Co-authored-by: Lucas Lefèvre (lul) <lul@odoo.com> Co-authored-by: Dhrutik Patel (dhrp) <dhrp@odoo.com> Co-authored-by: Adrien Minne (adrm) <adrm@odoo.com> Co-authored-by: Mehdi Rachico (mera) <mera@odoo.com> Co-authored-by: Rémi Rahir (rar) <rar@odoo.com> Co-authored-by: Pierre Rousseau (pro) <pro@odoo.com> Co-authored-by: Vincent Schippefilt (vsc) <vsc@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 020de62 - Browse repository at this point
Copy the full SHA 020de62View commit details -
[REV] account: fiscal pos differents bill/delivery addresses
This reverts commit 39c113c which introduced wrong behavior. opw-4072691 closes odoo#177033 X-original-commit: 9cd3a19 Signed-off-by: John Laterre (jol) <jol@odoo.com> Signed-off-by: Guillaume Vanleynseele (guva) <guva@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 2d1a7d6 - Browse repository at this point
Copy the full SHA 2d1a7d6View commit details -
[FIX] google_calendar: duplicated event 'all day'
Before this commit, recurrent events created with the 'All Day' option were duplicating the first event of the recurrence in Google side. This was happening because we wrongly synchronized the single event with Google before the synchronization of its recurrence (which already synchronize the events in Google side itself). After this commit, the recurrence is created normally using the 'All Day' option. We achieve that by skipping the useless synchronization we were doing in the single event: only the recurrence must be synchronized in this specific flow. task-3768121 closes odoo#166885 Signed-off-by: Arnaud Joset (arj) <arj@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 6ea4196 - Browse repository at this point
Copy the full SHA 6ea4196View commit details -
[FIX] l10n_at: specific tax scopes and ec sales tax report tags
closes odoo#171702 Signed-off-by: Wala Gauthier (gawa) <gawa@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for f937e91 - Browse repository at this point
Copy the full SHA f937e91View commit details -
[IMP] core, web: Content-Security-Policy on all Streams
The Content-Security-Policy is a header that help browsers filter the new requests the downloaded document is allowed to perform. For a css file, you could authorize the css file to perform new requests to downloads fonts or background images and restrict the rest. For most documents however all new requests should be prohibited, this is possible with the value `default-src "none"`. That header was only set by the framework on images. Developers were responsible to add that header on their own controller when those controllers were used to download other kind of documents. It turns out that most developer nowadays use http.Stream in those documents-driven controllers but forget to manually add CSP where it is actually necessary. In this work we now to add the CSP header by default on responses generated by the Stream API. closes odoo#177052 Signed-off-by: Julien Castiaux (juc) <juc@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for a22c454 - Browse repository at this point
Copy the full SHA a22c454View commit details -
[FIX] base: round monetary value when checking if different
Issue: When several invoices are selected and sent via "Send & print" action, it happens that some invoices are sent several times. It seems to be caused by a serialization failure on an invoice in "_compute_debit_credit" when a concurrent write operation is executed on an invoice being sent. This serialization failure cause a retry on the batch being sent, resulting on the invoice to be re-sent. Cause: "Send & print" action triggers "_compute_debit_credit" method that writes on debit and credit fields. The values are generally the same, so no write is really performed. However, for some values (e.g. 14.79), there is a floating point issue (i.e. 14.790000000000001) and the "get_records_different_from" method considers the record as different and triggeres an actual write. Solution: In "get_records_different_from" method, for monetary fields, apply the same rounding to the current value than the one applied when the value is converted to cache. opw-3773287 closes odoo#176218 Signed-off-by: William André (wan) <wan@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 3d7f91c - Browse repository at this point
Copy the full SHA 3d7f91cView commit details -
[FIX] website_sale_slides: scale down big num price
Before this commit price had h2 class always. With this commit if price is longer than 10 digits we'll use smaller heading. [Reproduce] - Install website_sale_slides - Have a course: - "Enroll Policy": "On Payment" - It's related product's price has more than 10 digits - You not enrolled in it yet - Open course page -> UX BUG: price overflows opw-4075034 closes odoo#176754 X-original-commit: 903b267 Signed-off-by: Warnon Aurélien (awa) <awa@odoo.com> Signed-off-by: Andrzej Pietrusiak (pian) <pian@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 115402d - Browse repository at this point
Copy the full SHA 115402dView commit details
Commits on Aug 20, 2024
-
[FIX] purchase_stock: increase unit cost precision on PO return
Problem: When the value of the returned product is different from the purchased one, the stock_in account may not be emptied due to rounding applied to the stock valuation layer's unit_cost field. Purpose: By using the stock valuation layer’s value and quantity to calculate the unit cost, the calculation should be more precise than just using the rounded unit_cost field. Steps to Reproduce on Runbot: 1. Create a storable product, and set the Costing Method to Average Cost (AVCO) and the Inventory Valuation to Automated on its product category 2. Purchase 100 units of this product with a unit cost of 10.00 3. Receive all 100 products 4. Create and confirm the vendor bill 5. Purchase another 10 units with a unit cost of 15.00 6. Receive all 10 units 7. Create and confirm the vendor bill 8. Return 10 units from the first purchase order’s receipt 9. Create and confirm the vendor credit note 10. Navigate to the general ledger 11. Observe 0.05 cents remaining in the Stock Interim (Received) account opw-4088271 closes odoo#176529 Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 98408d4 - Browse repository at this point
Copy the full SHA 98408d4View commit details -
[FIX] web_editor: hide tags option on blogs (keep on posts)
When a blog cover is edited, a tag option is displayed while there is no `tag_ids` inside the `blog.blog` model because the `o_wblog_post_page_cover` appears on both the `blog.blog` covers and on the `blog.post` covers. This commit hides the blog tags option if the model of the cover is not `blog.post`. Steps to reproduce: - Go to blogs. - Select the "Travel" blog. - Edit. - Select the blog's cover. => A tag option could be specified. opw-4107748 closes odoo#177077 X-original-commit: 10ef728 Signed-off-by: Arthur Detroux (ard) <ard@odoo.com> Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 3f29e94 - Browse repository at this point
Copy the full SHA 3f29e94View commit details -
[FIX] sale_loyalty(_delivery): re-allow multi rewards with discount f…
…rom a coupon Following commit 380115d a bug was introduced, preventing the user from claiming a discount reward if another reward was already claimed with the same coupon. closes odoo#176636 Signed-off-by: Morgane Demesmaeker <edm@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 32da4b6 - Browse repository at this point
Copy the full SHA 32da4b6View commit details -
[IMP] base: enhance error message during pdf merge
Before this commit, the user would get a UserError when multiple attachments are merged for export and one of them is corrupted. The error message did not contain information helping the user identify the problematic records. After this commit, the user will get a RedirectWarning stating the number of corrupted files and a link to a form view (if single) or a list view (if multiple) of problematic record(s). Example workflow: 1. Go to Accounting > Vendors > Bills. 2. Create a bill with a corrupted attachment. 3. Select the corrupted bill amongst other bills with valid attachments. 4. Click on Print > Original Bills. 5. The error is: "Odoo is unable to merge the generated PDFs." Cause: Errors raised by instantiating a PdfFileReader of a corrupted file were handled with a UserError with a static error message. Solution: In _merge_pdfs method signature, add an context option to define the way errors are handled. This way the default behavior stays the same if called outside `render_qweb_pdf`. In _render_qweb_pdf, a custom handler is defined to keep track of the corrupted streams and log them in the RedirectWarning. opw-4067992 closes odoo#174701 Signed-off-by: Mathieu Coutant (mcou) <mcou@odoo.com> Co-authored-by: mcou <mcou@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 51fe3e6 - Browse repository at this point
Copy the full SHA 51fe3e6View commit details -
[FIX] sale_mrp: compute valuation on all bom products
Suppose the following structure: ---------------------------------------------- BoM of Main kit: - BoM Type: Kit - Quantity: 4 - Components: * 1 x Sub kit A * 1 x Sub kit B BoM of Subkit A: - BoM Type: Kit - Quantity: 1 - Components: * 2 x Component A (Cost: $10, Storable) BoM of Subkit B: - BoM Type: Kit - Quantity: 1 - Components: * 2 x Component B (Cost: $6, Storable) ---------------------------------------------- When creating a sale order for 1 Main Kit, delivering the components and posting the invoice, the Cost Of Goods Sold computed by the _stock_account_get_anglo_saxon_price_unit method was ignoring the COGS for the Subkit B. This is due to the commit odoo@31e1352 which fetches the BOMs from the stock moves linked to the Sale Order. As no component is present directly in the bom lines of the Main Kit BOM, the bom was omitted. Now, if the product's bom is not present in the stock move's bom, we'll fetch one the old way. opw-4033293 closes odoo#174853 Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for f10834d - Browse repository at this point
Copy the full SHA f10834dView commit details -
[FIX] web_editor: fix signature command in forum
Issue: Signature command doesn't work in 16.0 and raises an error in 17.0+ Steps to reproduce the issue: - install website - add forum in the website - create a new post in the forum - add signature - (nothing happens in 16.0, error in 17.0) Origin of the issue: ==================== The session in the forum post view doesn't have `uid`. Solution: ======== Use `session.user_id` instead of `session.uid` which works in forum as well as in other apps. opw-4066436 closes odoo#175573 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for add6c3e - Browse repository at this point
Copy the full SHA add6c3eView commit details -
[FIX] web_editor: save target change in ir_ui_view link
Steps to reproduce the issue: ============================= - Install website and events - Go to events page and enable editor - Click on customize and enable sidebar - enable Follow us option - Select a social media icon and enable open in a new window option - Save - Click on the updated icon, it still opens in the same page => the changes aren't saved. Origin of the issue: ==================== The `target` attribute was ignored when saving and `arch_section`. Solution ======== Add `target` attribute to the allowed root attrs. opw-4077657 closes odoo#177035 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for a0460d9 - Browse repository at this point
Copy the full SHA a0460d9View commit details -
[FIX] website_payment: fix incorrect custom amount behavior in /donat…
…ion/pay Since version 15.0, users have encountered issues with the custom amount selection on the donation page, leading to confusion about the amount that would actually be donated. Bug 1: Multiple amounts could be selected simultaneously, affecting versions 17+. Bug 2: The last selected amount was not the actual amount donated, affecting versions 15+. This commit addresses Bug 2 in version 16.0. During the forward port to version 17.0, we will also fix Bug 1. The solution will involve changing the `payment_form.js` file, as the relevant file has been removed in version 17.0. The new fix will be cleaner and will no longer rely on `.o_wpayment_fee_impact`. Steps to Reproduce: 1. Place a donation on the website with predefined amounts. 2. Select a predefined donation amount. 3. Enter a custom donation amount. 4. Switch back to a predefined amount. 5. Select the custom amount again and proceed to donate. Result: The custom amount is not properly applied. For more details, see the video linked in the task task-4115678 closes odoo#177189 X-original-commit: 776b08a Signed-off-by: Benoit Socias (bso) <bso@odoo.com> Signed-off-by: Alessandro Caldonazzi (alca) <alca@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 9c4d599 - Browse repository at this point
Copy the full SHA 9c4d599View commit details
Commits on Aug 21, 2024
-
[FIX] website: fix horizontal position of mega menu in dropdown menu
__Current behavior before commit:__ When a mega menu has the class `o_mega_menu_container_size`, it is translated by 50% to the left because of this line [1]. However it shouldn't be if it is displayed inside a dropdown menu. __Description of the fix:__ Unset `transform` of `.o_mega_menu_container_size` when it is inside an `.o_extra_menu_items` element. __Steps to reproduce the issue on runbot:__ 1. Add a mega menu to the website 2. In the Editor, set Mega Menu > Size to `Narrow` and save 3. Resize the window just enough that a dropdown menu appear 4. Open the dropdown menu -> The mega menu is offset to the left opw-4021738 [1]: https://github.com/odoo/odoo/blob/9835632/addons/website/static/src/scss/website.scss#L1294 closes odoo#177257 X-original-commit: f08088a Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com> Signed-off-by: Julien Launois (jula) <jula@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 8128eee - Browse repository at this point
Copy the full SHA 8128eeeView commit details -
[FIX] BillScreen: fix printing receipt when request takes long time
Before this commit: when printing request to ePOS printer is in process, if user moves to home screen in POS the currentOrder becomes null and throws exception. after this commit: currentOrder is stored before processing the request to avoid the exception. opw-3859174 closes odoo#165918 X-original-commit: 8c95968 Signed-off-by: Adrien Guilliams (adgu) <adgu@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 4f0c8df - Browse repository at this point
Copy the full SHA 4f0c8dfView commit details -
[FIX] base: prevent putting filter and defaut out of reach
This fix add a verification check to ir.filter and ir.default. This aims at preventing user to put such record out of their own reach This behaviour is usually valid in Odoo, however in this case, it is not normal that the user cannot delete the filter and default that he created himself. closes odoo#176724 X-original-commit: d8f9cae Signed-off-by: Rémy Voet (ryv) <ryv@odoo.com> Signed-off-by: Florian Vranckx (flvr) <flvr@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for b4bb2e4 - Browse repository at this point
Copy the full SHA b4bb2e4View commit details -
[FIX] account_edi_ubl_cii: wrong German document context
A Factur-X XML generated in Germany should not falsely claim to be compliant to the KoSIT XRechnung. closes odoo#177330 Signed-off-by: Ricardo Gomes Rodrigues (rigr) <rigr@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 92565e7 - Browse repository at this point
Copy the full SHA 92565e7View commit details -
[FIX] *sale_product_configurator:: price are wrongly send to GA
- Intall website_sale_product_configurator - Create a product A with price 3 999.00 € - Add an optional product on product A - Go to shop page - Go to product A - Add to cart - A modal popup appear - Finelize cart --> Issue the price send to datalayer is 3. Because "3 999,00" is send in the json, endead 3999.00. closes odoo#177211 X-original-commit: ac3ec19 Signed-off-by: Louis Tinel (loti) <loti@odoo.com> Co-authored-by: ltinel <75139246+ltinel@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3a793df - Browse repository at this point
Copy the full SHA 3a793dfView commit details -
[FIX] server: limit concurrent including cron thread
When using a non parsable ODOO_MAX_HTTP_THREADS value, take into account max_cron_threads. When a lot of xmlrpc or jsonrpc calls are made, 2 cursor are used per call due to the authentification so it maxes out and the pool limit. If the cron_thread are using a cursor we end up with a "Pool Is Full" error. closes odoo#177237 X-original-commit: 24f67bf Signed-off-by: Rémy Voet (ryv) <ryv@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 6b800c9 - Browse repository at this point
Copy the full SHA 6b800c9View commit details -
[IMP] mail: Include success, info, warning & danger type color schemes
in simple notification handler This PR allows users to send simple notifications with 'success', 'info', 'warning', and 'danger' border color schemes. If the warning or type parameter is not provided, it will default to the 'danger' type, as it did before this PR, so it will not affect any previously written bus notification call. closes odoo#177323 Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 4e5b4cd - Browse repository at this point
Copy the full SHA 4e5b4cdView commit details -
[FIX] website_forum: limit the number of pages displayed in the pager
When having a lot of forum posts, the pager can display up to 10 pages, because the specified scope is the set to the same value as the number of posts per page, which is 10. This causes layout issues in mobile view in that case, because the pager overflows from the page. This commit fixes that by setting the scope to 5 instead (like the Event pager). opw-4050389 closes odoo#177275 X-original-commit: cf8b094 Signed-off-by: Benoit Socias (bso) <bso@odoo.com> Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 227a538 - Browse repository at this point
Copy the full SHA 227a538View commit details -
[FIX] l10n_fr_invoice_addr: show siret fr invoice report
Steps to reproduce: - Install module 'France - Adding Mandatory Invoice Mentions' - Switch to FR company - Contacts > Create french company - Sales & Purchase tab > set SIRET value - Create an invoice for this company > Print it The SIRET number does not show up anywhere on the invoice, despite the conditions being met. The SIRET number has been mandatory since July 1st 2024 in France This sometimes happens because the xpath only edits one of the 3 possible address tags added in 16.0. There is no need to edit the margin because the address already has mb-0 in its classes. opw-3865644 closes odoo#177060 Signed-off-by: Antoine Dupuis (andu) <andu@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 48e03a4 - Browse repository at this point
Copy the full SHA 48e03a4View commit details
Commits on Aug 22, 2024
-
[FIX] auth_oauth: make token non-prefetch
Simple patch that prevent the prefetch of the oauth token closes odoo#177357 X-original-commit: 3be513d Signed-off-by: Rémy Voet (ryv) <ryv@odoo.com> Signed-off-by: Florian Vranckx (flvr) <flvr@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for c7870b7 - Browse repository at this point
Copy the full SHA c7870b7View commit details -
[FIX] project_hr_expense: The Project Admin can't access the Project …
…Update. * PROPBLEM: The error is raised when user has access to Project Update, but not to Journal Item. * SOLUTION: Add `sudo` when searching `account.move.line` in the method `_get_already_included_profitability_invoice_line_ids`. closes odoo#177150 Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 3938a71 - Browse repository at this point
Copy the full SHA 3938a71View commit details -
[FIX] website: make some mega menu templates more responsive in mobile
The "Images Subtitles" and the "Thumbnails" mega menu templates do not look good in mobile view, depending on the size of the text written in them. Indeed, under some breakpoints, the classes force the elements to be next to each to other, to have two elements by line. So if a big word is contained in the left one, which is not rare in the German language for example, the text may overflow to the right one and overlap with it. This commit fixes this issue by adding more freedom to these mega menu templates at the problematic breakpoints, so they can be more responsive with their content, while still looking good. Step to reproduce: - In the menu editor, add a mega menu. - In edit mode, click on the mega menu. - Select the "Images Subtitles" or the "Thumbnails" template. - As a first element, write the following title: "Foto- und Fine Art Großformatdrucker". - Save and resize down the screen until it toggles the mobile view. - Open the mega menu and continue to resize down. => At some point, near the "SM" breakpoint, you will notice that the text becomes too big and overlaps the right element. opw-4096112 closes odoo#177274 X-original-commit: 7565c35 Signed-off-by: Benoit Socias (bso) <bso@odoo.com> Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for c819e69 - Browse repository at this point
Copy the full SHA c819e69View commit details -
[FIX] point_of_sale: correctly map account from fiscal position
When using a fiscal position that map account. If you use automatic stock valuation and make an order in the PoS, the account used where not mapped correctly for all the account move lines. Steps to reproduce: ------------------- * Turn on automatic stock valuation for the category `All` * The category use account A and account B for expense and income * Create a fiscal position that matches account A and B to any other account * Open PoS and make an order > Observation: Go back to the order and look at the move lines linked to the order. One of the lines still use an account that hasn't been mapped Why the fix: ------------ We make sure that when creating the stock valuation lines the account are correctly mapped using `order_id.fiscal_position_id.map_account` opw-4086609 closes odoo#177369 Signed-off-by: Vlad Stroia (vlst) <vlst@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 8346b2a - Browse repository at this point
Copy the full SHA 8346b2aView commit details -
[FIX] l10n_latam_invoice_document: prevent blocking foreign document …
…number Steps to reproduce: [l10n_ec] - Create a credit note from the Bill journal - Set a foreign customer - Set a customized document number Issue: An error will be raised saying that the format is not correct But, as defined by VBE, "If a Credit Note is created from a Vendor Bill and the partner_id != "EC", [we should] allow the user to allocate any number without following the EC format." Solution: When we call `_format_document_number` we don't have any information about the initial move. Instead of using a context or adding new fields, we add a hook in which we can specify certain conditions to bypass the document check/formatting for localisations. opw-3993305 closes odoo#174950 Related: odoo/enterprise#67589 Signed-off-by: Antoine Dupuis (andu) <andu@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 240cc9b - Browse repository at this point
Copy the full SHA 240cc9bView commit details -
[FIX] website: get the correct website in test homepage change
The Issue: Before this commit, assigning a URL to the page triggered the write function. Within this function, the get_current_website function returned a different website than the one in the test. As a result, the rest of the code applied to this incorrect website instead of the appropriate one. The Fix: Pass the correct website within the context runbot-54617 closes odoo#176032 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
AMZIL Ayoub committedAug 22, 2024 Configuration menu - View commit details
-
Copy full SHA for 57a921b - Browse repository at this point
Copy the full SHA 57a921bView commit details
Commits on Aug 23, 2024
-
[FIX] account: Fix bill reversing default bank
Problem --------- With commit c1ea29e, we fixed the following problem: when reversing an invoice, the current company is used as recipient bank and not the customer's one. However, that fix did only took into concideration reversing invoices and not bills. This commit is here to fix that. When reversing a BILL (in_invoice), we use the company's bank. When reversing an INVOICE (out_invoice), we use the commercial partner's bank. opw-4035448 closes odoo#177645 X-original-commit: 19dc74e Signed-off-by: Wala Gauthier (gawa) <gawa@odoo.com> Signed-off-by: Antoine Boonen (aboo) <aboo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 3a58826 - Browse repository at this point
Copy the full SHA 3a58826View commit details -
[CLA] Corporate signature for miguelcb2003 in factorlibre
closes odoo#176903 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 115c7ca - Browse repository at this point
Copy the full SHA 115c7caView commit details -
[FIX] account: reverse moves on payslip cancel
Create a new payslip Select Employee and contract Compute Sheet Create Draft Entry > Post Draft Entry Cancel payslip Issue: The system will attempt to reset to draft and unlink the associated invoice In some cases this is not ideal: In Indian government for example, requires audit trail report for private limited companies, so user can't delete journal entries after posting once. Backporting method `_unlink_or_reverse` from 17.0 [1] to be used in the related PR odoo/enterprise#68044 [1] https://github.com/odoo/odoo/blob/66bfab54748a56072ed9ff144f4a39366b606a06/addons/account/models/account_move.py#L3772-L3785 opw-4075244 closes odoo#176792 Related: odoo/enterprise#68044 Signed-off-by: Ricardo Gomes Rodrigues (rigr) <rigr@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for cd2f4a3 - Browse repository at this point
Copy the full SHA cd2f4a3View commit details -
[FIX] base_import: don't initialise openpyxl as read_only
From most openpyxl resources it is generally recommended to instantiate it as `read_only=True` or `write_only=True` in order to leverage lazy modes which do not need to eagerly load the entire file in memory. However this causes memory exhaustion issues in Odoo workers, with file preview / imports failing: apparently we have managed to generate the `res_partner.xlsx` sample file in such a way that `load_workbook(read_only=True)` is incapable of finding the end of the file, so it thinks the file goes up to the limit for the format of 1048576 rows: $ python -c 'import openpyxl; w = openpyxl.load_workbook("odoo/addons/base/static/xls/res_partner.xlsx", data_only=True, read_only=True); print(sum(1 for _ in w.worksheets[0]))' 1048576 even though the file only has 4 rows (including the header). This means any client which uses this file as basis to create their own export (or a method generating similarly odd / corrupted files) requires parsing on the order of 20~30 million cells to try and import the file, even though in reality they might only have a few dozens or hundreds. As a result the import *attempt* takes several minutes (4~5 locally, maybe a bit less on beefy server) and ~1.7GB memory, and thus routinely fails if the worker has any sort of existing pressure (e.g. well filled caches) as it hits the hard memory limit (2.5G by default). Using the "less efficient" standard mode, the ingestion takes ~1.4s and 14.5MB memory. Which is still a far cry less efficient than xlrd.xlsx was (~0.00 seconds and 120k) but at least somewhat reasonable... The issue has been reported upstream at https://foss.heptapod.net/openpyxl/openpyxl/-/issues/2221 closes odoo#177621 X-original-commit: b19ef6c Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for d162d9b - Browse repository at this point
Copy the full SHA d162d9bView commit details -
[FIX] web_editor: table format breaks on enter key press
Before this commit: - Pressing Enter after selecting all columns in a row would break the table format. After this commit: - Now, when the Enter key is pressed, all the contents of the anchor <td> will be removed first, and then the Enter process within that <td> will be executed. task:3557503 Part-of: odoo#139312 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for f8e0b41 - Browse repository at this point
Copy the full SHA f8e0b41View commit details -
[FIX] web_editor: preserve original table selection in firefox
Before this commit: - when selecting multiple rows or columns inside a table in Firefox, the selection would shift to the table row, causing the original selection to be lost. After this commit: - Now, the original selection is preserved during multi-row or multi-column selection operations in Firefox. task:3557503 closes odoo#139312 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 8c8d021 - Browse repository at this point
Copy the full SHA 8c8d021View commit details -
[FIX] account_edi_ubl_cii: change payment code for DK
UBL rule DK-R-005 limits the options available for the payment means. Currently, we have a hard-coded value of 30 for every invoice, because it is not possible to deduce the right payment means code at the moment. In OIOUBL we hard-code this field to `unknown` as it has the same UBL rule. With this commit we can use a different value for DK partners. In the future we could try to populate it dynamically. See also: https://docs.peppol.eu/poacc/billing/3.0/rules/ubl-peppol/DK-R-005/ opw-4080715 closes odoo#177430 Signed-off-by: Wala Gauthier (gawa) <gawa@odoo.com>
aliya committedAug 23, 2024 Configuration menu - View commit details
-
Copy full SHA for 3ff038f - Browse repository at this point
Copy the full SHA 3ff038fView commit details -
[FIX] mail: admin shouldn't resend mails he's not author of
Issue: When trying to resend a mail authored by any other user as an administrator, we are going to receive a "Delivery Failed" error even though the mail has been sent, this is caused by the message_type being equal to user_notification, in which case the user will not have the needed access in the process to write on this email. Steps to reproduce: Send any email as Demo, so they stay in queue for seding under mails. Go to mails as admin now and try to send the mail manually. (You can use a meeting for example to send the mail, create a meeting and send the mail to notify this meeting.) Solution: Since we are not interested right now in adding an extra sudo to allow this behavior, we are going to hide the buttons for this case, so the user can set the mail to retry, but then instead of being able to send it at the moment by himself we will need to wait for the cron. opw-3963124 closes odoo#177098 X-original-commit: 608540b Signed-off-by: Maruan Aguerdouh Mohtar (magm) <magm@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 08e5d13 - Browse repository at this point
Copy the full SHA 08e5d13View commit details
Commits on Aug 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2dbfdc1 - Browse repository at this point
Copy the full SHA 2dbfdc1View commit details
Commits on Aug 26, 2024
-
[FIX] stock: consider mto procure method in stock forecast
Steps to reproduce: - Enable Multi-Step Routes in the settings - Go to Inventory > Configuration > Warehouse Management > Routes - Unarchive MTO - Create a storable product: - Routes: MTO, manufacture - With a bom - On hand qty: 10 - Create an SO for 15 units and validate - Go back to your product form > forecasted Report > Even thought 15 units are made to order 10 units are reported to be > taken from stock to fulfill the SO Cause of the issue: The lines appearing on the reported are computed by the `_get_report_lines` method. During this call, the quantity taken from stock is computed by comparing the demand of the out moves with the quantity currently in stock: https://github.com/odoo/odoo/blob/1fdccad664cad37a69dc960444aa0c318d1bf464/addons/stock/report/report_stock_forecasted.py#L218-L223 This is incorrect because the quantity taken from stock is null if the procure_method of the out move is make_to_stock. Note: The issue is not reproducible since 17.0 since the _get_report_lines has been refactored during the stockpocalypse. opw-4010785 closes odoo#177273 X-original-commit: a0c0875 Signed-off-by: William Henrotin (whe) <whe@odoo.com> Signed-off-by: Lancelot Semal (lase) <lase@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 031db2d - Browse repository at this point
Copy the full SHA 031db2dView commit details -
[FIX] l10n_gcc_invoice: translate tax group name
Problem: The tax group name is not translated to Arabic. Purpose: Display the Arabic translation of the tax group name as well to stay consistent with the report. Steps to Reproduce: 1. Install l10n_sa 2. Switch to SA company 3. Add Arabic as a language 4. Add an Arabic translation for a tax group name 5. Change a contact's language to Arabic 6. Create an invoice with the Arabic contact and a tax from the same tax group 7. Preview or Print and observe that the tax group name is not translated to Arabic opw-4094196 closes odoo#177307 Signed-off-by: de Wouters de Bouchout Jean-Benoît (jbw) <jbw@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for f26f717 - Browse repository at this point
Copy the full SHA f26f717View commit details -
[FIX] point_of_sale: modules to load in conf file
Added modules to load in `odoo.conf` for IoT Box v24.08 compatibility. v24.08 PR: odoo#169633 closes odoo#177781 Task: 3947355 X-original-commit: 8c564e1 Signed-off-by: Yaroslav Soroko (yaso) <yaso@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 3942c6d - Browse repository at this point
Copy the full SHA 3942c6dView commit details -
[FIX] web_editor: Tabs of web editor are not translatables
It is necessary to wrap the tab names in _lt to make them translatable into the various languages offered by Odoo. Before these changes, the tab names are always in English. After these changes, when translations are added to the terms, they will appear translated into the selected language. closes odoo#177724 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for d924341 - Browse repository at this point
Copy the full SHA d924341View commit details -
[FIX] purchase_mrp: round total cost_share to precision
Issue: When creating a kit BoM with two components that the total of their cost share is 100, we get this UserError when saving: 'The total cost share for a BoM's components has to be 100%.'" Steps To Reproduce: - Create a BoM of type Kit. - Add 2 components. - Set their cost shares to 99.99 and 0.01. - Save and Notice the error: "The total cost share for a BoM's component have to be 100" Solution: - After saving, the `float_round` method is eventually called. When it reaches the line `result = rounded_value * rounding_factor` with `rounded_value = 9999.0` and `rounding_factor = 0.01`, it returns `99.99000001`. - A possible fix is to modify the method to include a condition before returning the result: ` if precision_digits or precision_rounding: decimal_places = precision_digits or len(str(precision_rounding).split('.')[1]) return round(result, decimal_places)` - However, I believe this fix is too low-level, so I kept it simple by rounding the bom.lines before summing them and returning the UserError. opw-4100375 closes odoo#177015 Signed-off-by: Adrien Widart (awt) <awt@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 73805eb - Browse repository at this point
Copy the full SHA 73805ebView commit details -
[FIX] sale_timesheet: disambiguate analytic items
Steps to reproduce: - Install timesheets, project and accounting - Enable "Analytic accounting" in accounting settings - Accounting > Accounting > Analytic items - Goup by Billing type - 2 different 'Materials' Change was made in 3d3f410. This is ambiguous and clashes with the previously used items in 15.0. https://github.com/odoo/odoo/blob/ec106bfaaede527857a028bf1956b309aad3dc51/addons/sale_timesheet/models/account.py#L17 opw-4080234 closes odoo#177388 Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for a4fd26b - Browse repository at this point
Copy the full SHA a4fd26bView commit details -
[FIX] project_timesheet_holidays: can't set timesheet_task_id when
install module * PROPBLEM: since odoo#173719 we have moved from init to post_init which will make timesheet_task_id of hr.leave.type can't set value because in post_init company.leave_timesheet_task_id will be set * SOLUTION: fill it in post_init instead closes odoo#177585 X-original-commit: de3c30e Signed-off-by: Xavier Bol (xbo) <xbo@odoo.com>
Configuration menu - View commit details
-
Copy full SHA for 7635323 - Browse repository at this point
Copy the full SHA 7635323View commit details -
[REF] account_move: split _get_last_sequence_domain to offer an overr…
…ide capability to where_clause and domain
Configuration menu - View commit details
-
Copy full SHA for c2dc8cc - Browse repository at this point
Copy the full SHA c2dc8ccView commit details