- Aug 10, 2022
-
-
Swapnesh authored
closes odoo/odoo#97809 X-original-commit: 02238b06 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Aug 09, 2022
-
-
Hubert Van de Walle (huvw) authored
Steps to reproduce: - Switch language to french - Refresh the page - Create a new payment - Select a partner - Enter an amount of 100000,00 - Save the record -> The following field is incorrect: amount Cause of the issue: Since https://github.com/odoo/odoo/pull/97425 , `parseMonetary` wrongly assumed that a currency was always passed in the parameters opw-2937403 closes odoo/odoo#97819 X-original-commit: 9d518f84 Signed-off-by:
Jorge Pinna Puissant (jpp) <jpp@odoo.com> Signed-off-by:
Hubert Van De Walle <huvw@odoo.com>
-
roen-odoo authored
Current behavior: When using taxcloud for tax computation and using a giftcard on the website shop, the giftcard amount is incorrect. Steps to reproduce: - Setup taxcloud for user A - Setup EasyPost or any other not free shipping methods - Activate giftcards for website - Login as user A in the website shop - Add an article to the cart - Process to checkout and pay with giftcard - The amount due is incorrect (negative value) See this video for full explanation on how to setup taxcloud and EasyPost : https://drive.google.com/file/d/1E5ADDDwr_UbjYq-0t4whllFaQlkRBUCD/view opw-2883592 closes odoo/odoo#96853 Related: odoo/enterprise#30087 Signed-off-by:
William Braeckman (wbr) <wbr@odoo.com>
-
Antoine Guenet authored
When converting Bootstrap grids to tables for e-mail compatibility, we need to take into account Bootstrap offsets on columns. We were doing this by adding that offset to the column but we actually need to create an extra column instead. task-2936705 closes odoo/odoo#97747 Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
-
Antoine Guenet authored
Masonry's top inner container needs to have a 100% height to properly size its contents. task-2925779 Part-of: odoo/odoo#97747
-
Antoine Guenet authored
The option to switch background types depends on CSS which was in the website builder but absent from mass_mailing. task-2925779 Part-of: odoo/odoo#97747
-
Antoine Guenet authored
When we convert Bootstrap grids to tables for e-mail compatibility, we need to complete rows whose column sizes don't add up to 12. The way it was, the last column was stretched to fill up the row, which is wrong as it can affect the width of its contents. With this commit, a new, empty column is appended to the row to fill it up without affecting the existing rows. This is a more accurate way to emulate the behavior of Flexbox. task-2936705 Part-of: odoo/odoo#97747
-
Nguyen Hong Quang authored
configuration Currently, Outlook and Google calendar having same container `id`. This PR will fix that problem closes odoo/odoo#97038 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Younn Olivier authored
Before this commit, in translate mode, the toolbar and the table-container were shown when initializing the SnippetsMenu (and removed for a click on an element that was not a translation). To reproduce: -> Install another language on website 1, -> Click on translate -> Click on a button of the informative dialog -> The toolbar was there, then was removed on the click on the dialog, and won't reappear. (If the informative dialog is not shown, because it was permanently dismissed, click on an image, the toolbar is still there and won't be removed). To fix that, the clicks on translations elements are not stopped from the TranslatePageMenu and are taken into account in _checkEditorToolbarVisibility to show/hide the toolbar. Related to task-2687506 closes odoo/odoo#93806 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
sofiagvaladze authored
The mistake was made in odoo#81904 Instead of 'default_partner_bank_id' we have 'partner_bank_id' in the context of action_register_payment. In this commit, we undo that mistake and also backport the change to v15. task - 2774594 closes odoo/odoo#97767 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
Benoit Socias authored
Since [1] a zero-width space is added inside all `we-selection-items`. This breaks the layout of color palettes because zero-width spaces still have a height, and are not considered as empty text. This reverts commit e59ad49c. based on: https://github.com/odoo/odoo/pull/97382#issuecomment-1208015098 [1]: https://github.com/odoo/odoo/commit/e59ad49cb9f32240d8ca3c89fc20ab200e291adc task-2919573 closes odoo/odoo#97382 Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
-
Martin Trigaux authored
Only for terms containing Credit Note and expenses closes odoo/odoo#97351 Related: odoo/enterprise#30238 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Nam Dao authored
- In setUp, self.template._get_variant_for_combination(color_value).write, sytem will set self.env.cr.now(). self.env.cr.now() is constant after each call. - When assigning variable before is using datetime.now(). datetime.now() always changes each call. Sometimes, before will be greater than self.env.cr.now(). So causing test error. - After this commit, when set 'before' will use self.env.cr.now() closes odoo/odoo#97762 Signed-off-by:
Romain Derie (rde) <rde@odoo.com>
-
mafo-odoo authored
Issue: Customers can use Mollie and lower the price on a quotation through changing the delivery method, if they have two pages "/shop/payment" and proceed with payment on one they can still change the carrier on the second. Although the quotation is not confirmed because of mismatching amount, a confirmation email is still sent and a bank payment is still created. Please see the following test video. Solution: We add a check so that changing a carrier can only be done when a no active/done transaction is linked to the sale order. opw-2925673 closes odoo/odoo#97414 Signed-off-by:
William Braeckman (wbr) <wbr@odoo.com>
-
Nshimiyimana Séna authored
Steps to reproduce: - Create a quotation - Add a product that is invoiced on "ordered quantities" and set the quantity to a negative number. - Leave 'delivered' to 0 - Confirm the quotation - Create the Invoice and validate it. - Go to the SO list view (Orders > Orders) You should see that the Invoice Status of the order you just created is 'Upselling Opportunity', which is not correct. Why this is happening: Here's an explanation on the 'Upselling Opportunity' state (found in the code): " upselling: this is possible only for a product invoiced on ordered quantities for which *we delivered more than expected.* " In our case, the invoice line's state is set to 'upselling' because we have a negative ordered quantity and a zero delivered quantity (i.e. we delivered more than expected) opw-2895218 closes odoo/odoo#97628 X-original-commit: c7dd2815 Signed-off-by:
Nshimiyimana Serge Séna (sesn) <sesn@odoo.com>
-
- Aug 08, 2022
-
-
Thibault Delavallée authored
Fix a typo in a default / field name for SMS composer. Task-2613245 (Server actions mail update / cleaning closes odoo/odoo#97735 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
ikapasi authored
closes odoo/odoo#97687 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Aurélien Warnon authored
Oversight of: 129b9102 If the view is not up to date, it will not display any agenda locations. We need to keep the 'locations' key into the returned values for code retro-compatibility. Task-2942630 closes odoo/odoo#97705 Signed-off-by:
Warnon Aurélien (awa) <awa@odoo.com>
-
Abdelouahab (abla) authored
To reproduce ============ Enable "Qr Codes" under Accounting Settinsgs > Create Invoice > set "Payment QR-code" method (tab "More Info") > issue Credit Note > try to "Send and Print" credit note > Error: ` The chosen QR-code type is not eligible for this invoice. ` Specification ============= Generating QR code on Credit Note doesn't make sense, so the field `qr_code_method` is set to `False` when creating a Credit Note. opw-2900112 closes odoo/odoo#97617 X-original-commit: 039bf8c5 Signed-off-by:
Josse Colpaert <jco@odoo.com>
-
Stefan-Calin Crainiciuc (stcc) authored
*: microsoft_outlook, website_twitter Steps to reproduce: - install the google_gmail, microsoft_outlook and website_twitter modules - go to Settings > General settings > Discuss > External email servers - for the twitter module go to Settings > Website > Features > Twitter roller - the client secret fields are visible This commit changes the fields types into 'password'. opw-2936506 closes odoo/odoo#97615 X-original-commit: 633bd9bb Signed-off-by:
Anh Thao PHAM <pta@odoo.com> Signed-off-by:
stcc-odoo <stcc@odoo.com>
-
Stefan-Calin Crainiciuc (stcc) authored
Steps to reproduce: - install hr and hr_contract apps - go to Employees app > Employees > Contracts - switch to Kanban view There you can see a 'Create' button. If you click it, it creates a contract history form view for the default employee, which is 'False'. This view is not needed, since it doesn't make sense to create a contract history by itself, as opposed to creating a contract history when a new employee is added to the database. This commit removes the contract history 'Create' button. opw-2929424 closes odoo/odoo#97397 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
Jeremy Kersten authored
Allow non system user to get the mondial relay url for tracking parcel. closes odoo/odoo#97227 Signed-off-by:
Romain Derie (rde) <rde@odoo.com>
-
dbkosky authored
In order to perform reverse charge self-invoicing, a company must have its codice destinario (pa index) defined. This commit adds a valid pa_index (from the sdicoop test channel) to the demo company. closes odoo/odoo#97618 X-original-commit: 42c08b29 Signed-off-by:
Josse Colpaert <jco@odoo.com>
-
Kevin Baptiste authored
The Thank You page was cached and could potentially show the same recruiter for different job applications. closes odoo/odoo#97591 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
dbkosky authored
When issuing a refund for a reverse charge bill, the document type should be the same as the parent bill type (either TD16, TD17 or TD18, rather than TD04), and the values of the lines and totals should be negative. To fix this the values are made negative dependent upon whether the invoice is a 'rc_refund' as in a "reverse charge refund". The way that the document type is ascertained is also changed in order to include the 'in_refund' (for the case of the reverse charge refund). The way document_total (ImportoTotaleDocumento) has been made conditionally negative in the case when the invoice is a reverse charge refund. A test has been added for the reverse charge refund case, and the test taxes have been adapted so that the correct tags are being used (and so that tags are used on the refund lines). closes odoo/odoo#97577 Ticket-id: 2936967 X-original-commit: ca2f4c8e Signed-off-by:
Josse Colpaert <jco@odoo.com> Signed-off-by:
Daniel Kosky (dako) <dako@odoo.com>
-
momegahed authored
Steps to reproduce: 1. Go to Inventory-->Settings-->Check option to "Display Lots & Serial Numbers on Invoices" 2. Go to Rental App 3. Create a new Rental Order for a product that is tracked by Serial Number. Pop up shows up. Also something to note here, though not necessarily related to this ticket, but you cannot select available serial number from this pop-up. It doesn't let you choose anything even when there are multiple serial number available/in stock. 4. Confirm the order. 5. Validate the Pickup and set the Serial Number in the popup. 6. Create the invoice. 7. Confirm the invoice. 8. Print "Invoices without payment" Bug: in https://github.com/odoo/odoo/commit/7a030f616f7e04b3994fc718840d265b1dd21068 the filter functions were removed. They had the effect of making sure that the sml is either a delivery or a return by filtering on `sml.location_id.usage` and `sml.location_dest_id.usage` Fix: check if the product is a delivery or a return by making sure that either of `sml.location_id.usage` and `sml.location_dest_id.usage` is `customer` OPW-2936505 closes odoo/odoo#97510 X-original-commit: 953fefe7 Signed-off-by:
Adrien Widart <awt@odoo.com>
-
Víctor Martínez authored
TT36461 closes odoo/odoo#97507 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
Florian(flg) authored
This old file is indented with tabs instead of spaces. This is a problem because the file is using as template to write new localization. closes odoo/odoo#97464 X-original-commit: 56f9e90d Signed-off-by:
Josse Colpaert <jco@odoo.com>
-
Jinjiu Liu authored
Reproduction: 1. Install Website and eLearning 2. Add new language Dutch 3. Modify the course responsible’s name as “Gertjan Kleinbloesem” in eLearning 4. Open the course page in the website app and switch to Dutch, the responsible name is over flowed Reason: The background container doesn’t adapt to the length of the text Fix: Add text break to the responsible's name so it won't break the style opw-2862250 closes odoo/odoo#96350 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
angelmoya authored
closes odoo/odoo#95967 closes odoo/odoo#96257 Signed-off-by:
Josse Colpaert <jco@odoo.com>
-
angelmoya authored
Part-of: odoo/odoo#96257
-
- Aug 07, 2022
-
-
Odoo Translation Bot authored
-
- Aug 05, 2022
-
-
Guillaume (guva) authored
According to www.agenziaentrate.gov.it/portale/web/guest/schede/istanze/richiesta-ts_cf/informazioni-codificazione-pf The tax identification number of natural persons consists of an alphanumeric expression of sixteen characters. The first fifteen characters are indicative of the master data of each individual in the following order: - 3 alphabetic characters for the surname; - 3 alphabetic characters for the first name; - 2 numeric characters for the year of birth; - 1 alphabetic character for the month of birth; - 2 numeric characters for the day of birth and sex; - 4 characters, 1 alphabetic and 3 numeric for the Italian municipality or foreign state of birth. The sixteenth character, alphabetic, serves as a control. The main fix is about this part: When two or more individuals have master data generating the same tax code (homocodes), the tax code is differentiated for each of them. For this purpose, systematic substitutions of one or more digits starting from the right one are made within the seven numeric characters contained in the code with corresponding alphabetic characters according to the following table: 0 = L 4 = Q 8 = U 1 = M 5 = R 9 = V 2 = N 6 = S 3 = P 7 = T Also the check for iva number format was incomplete. Indeed, The three penultimate digits correspond to the region of the VAT office and must be between 001 and 100 inclusive, or equal to 120, 121, 888 or 999. We use the stdnum library's methods for the validation of fiscal code and iva number format. opw-2797408 closes odoo/odoo#97584 X-original-commit: 262eb7bd Signed-off-by:
Josse Colpaert <jco@odoo.com>
-
Leo Tran authored
closes odoo/odoo#97576 X-original-commit: 8ba0c300 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Benoit Socias authored
Since [1] when the search bar was refactored, a search facility was added on website pages and the rendering of those search results did not correctly handle some of the HTML escaping. This is related to the fact that the `ir_ui_view`'s `arch_db` field is stored with this double escaping on text nodes, which is done by `wysiwyg.js` through the `_getEscapedElement` method since [2]. This commit unescapes the last layer of `&` before extracting the page's text for generating the search results. Steps to reproduce: - Add some "&", "<" or ">" characters in a page. - Use the search snippet to lookup for the page. => The results in both autocomplete and the results pages display the content with an extra unwanted escaping (&...) [1]: https://github.com/odoo/odoo/commit/9f9c4bb7e40233e633f97c60fb00ae191e9077af [2]: https://github.com/odoo/odoo/commit/f5acea7f9ce232773ec3adf1828a3d18bbedee1e opw-2908645 closes odoo/odoo#96620 Signed-off-by:
Romain Derie (rde) <rde@odoo.com>
-
clementmbr authored
closes odoo/odoo#97568 X-original-commit: d0537e32 Signed-off-by:
William Henrotin (whe) <whe@odoo.com>
-
Pierre Paridans authored
This commit fixes a glitch on iOS (both iPhone & iPad landscape) where, when the user attempts to open the datepicker of a custom filter's field, it pops up and immediately close. This is due to the desktop behavior which hides datepickers on scroll to avoid hidding fields behind it. In our case, a scroll is triggered once the focus is set in the date's input and the virtual keyboard opens up... which then hides the datepicker! Sadly, this behavior's purpose being still useful in desktop, we don't have much other solution than "just" disabling it on affected platforms (ie. iOS) as it affects both small screens (ie. iPhones) and dekstop-like ones (ie. iPad). Hopefully, a better solution will be found at some point in a future version, avoiding this kind of "trick"... Note: replacing the "scroll" event with the "wheel" event seems to fix the issue at first glance... but actually has side-effects for devices using both touchscreens and a mouse (ie. 2-in-1 laptops). Steps to reproduce: - Open any collection view (list, kanban...) - Open "Filter" dropdown and add a custom filter - Choose a date/datetime field (ie. created_on) - Tap the input => datepicker opens up and close immediately opw-2671618 opw-28192998 closes odoo/odoo#97486 X-original-commit: a233cfe2 Signed-off-by:
Adrien Dieudonné (adr) <adr@odoo.com> Signed-off-by:
Pierre Paridans (app) <app@odoo.com>
-
MerlinGuillaume authored
It is not possible to process an invoice and send it to the SII Steps to reproduce: 1. Install l10n_es_edi_sii module 2. Switch to company 'ES Company' 3. Go to Settings > Invoicing > Spain Localization > Registro de Libros connection SII and select 'Hacienda Foral de Gipuzkoa' 4. Go to Invoicing > Configuration > Accounting > Journals and open 'Customer Invoices'. In the 'Advanced Settings' tab, enable EDI functionality 'SII IVA Llevanza de libros registro (ES)' 5. Go to Invoicing > Configuration > Spain > Certificate (ES) and import the certificate (file named sello_entidad_act.p12 in l10n_es_edi_sii/demo/certificates/) with password "IZDesa2021" 6. Create an invoice with any customer and product and confirm it 7. Click on 'Process now', an error is raised Solution: Use PyOpenSSL to be able to use certificate checking Problem: With the version of requests specified in the requirements, SSLContext object doesn't have a `_ctx` attribute anymore. That's because PyOpenSSL is not used by default (https://pyup.io/changelogs/requests/#2.24.0) and ssl is used instead. However we need PyOpenSSL to be able to use certificate checking (https://urllib3.readthedocs.io/en/latest/reference/contrib/pyopenssl.html ) opw-2925510 closes odoo/odoo#97290 Signed-off-by:
Josse Colpaert <jco@odoo.com>
-
Benoit Socias authored
For performance reasons, when fuzzy search was introduces it was decided to limit the number of records used for finding fuzzy terms to 1000. Because of this, when a database contains more than 1000 products matching words that start with the same letter, further products are not examined. This can lead to searches not finding an existing exact match. This commit introduces a fallback mechanism so that, if we are in a situation where the maximum number of examined records was fetched, we also explicitly check for a possible exact match across all records. Steps to reproduce: - Do not install the pg_trgm extension. - Have more than 1000 products containing searchable words (name, description...) starting with the same letter. - Add one more such product (so that it is not in the 1000 first ones). - Search for that last product by correctly typing the word. => Exact match was not returned. task-2870947 closes odoo/odoo#92864 Signed-off-by:
Romain Derie (rde) <rde@odoo.com>
-
Adrien Minet authored
How to reproduce the bug ? - install point_of_sale,l10n_mx_edi - In Point of Sale > Settings, add at least one Payment Methods - Still in Point of Sale > Settings, create one Point of Sale - In Point of Sale > Products > Products, select one product. - In the Accounting tab of the product, set the UNSPSC Category. - Go back on the dashboard of Point of Sale and start a new session. - Add the product you have selected before and go to calidate the invoice. - Pick a payment methode and a costumer and check the invoice option. - Validate the invoice. - Close the session and go to Point of Sale > Orders > Orders. - Click on the order you have just created and click on Invoice (in the top right corner). - Reset the invoice in draft. - Wait for the cron task to be executed or execute it manually. What is the bug ? The cron task that send all the edi documents doesn't consider the state of the account_move linked to it. Because of that if an invoice poster is reset to draft, it will have a document and this document will be sent. opw-2925137 closes odoo/odoo#97009 Signed-off-by:
Adrien Minet <admi@odoo.com> Signed-off-by:
Josse Colpaert <jco@odoo.com>
-