- May 26, 2023
-
-
Csaba Tóth authored
closes odoo/odoo#122570 X-original-commit: 3e757c59 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
David (dafr) authored
qty_received_method is not recomputed if the product type change, and can lead to issues on existing purchases when trying to generate a Vendor Bill. # HOW TO REPRODUCE: - Create product P, type: Service, Control Policy: 'On Received Qty' - Create PO for 1 unit of P (do not confirm) - Update type of P to Storable - Confirm PO, Receive Products => Qty Received is 0, not able to generate Bill closes odoo/odoo#122353 X-original-commit: fcc1e8e3 Signed-off-by:
William Henrotin (whe) <whe@odoo.com> Signed-off-by:
Fesquet David (dafr) <dafr@odoo.com>
-
Preksha Chouhan authored
When user create a pos category from 'restaurant.printer' model in 'pos_restaurant' module. it will give an error with the message - 'sequence item 0: expected str instance, bool found' Steps to Produce:- 1. Install 'pos_restaurant' module 2. Go to 'point_of_sale' module 3. Go to 'Configuration' -> 'Order Printers' 4. Click on any printer or create new 5. Under 'Printed Product Categories' click 'Add a line' 6. Click 'New' Trace-back will be generated. Applying these changes will resolve this issue. sentry - 4072172292 closes odoo/odoo#120519 Signed-off-by:
Joseph Caburnay (jcb) <jcb@odoo.com>
-
- May 25, 2023
-
-
Stanislas Gueniffey authored
**TicketBAI features** - Generation of XML documents for invoices - Automatic signing of documents with certificates - Sending XML to the appropriate tax agency's servers - Parsing and storing their response - Preserving the invoice signature chain integrity - Displaying the TicketBAI QR code on the invoice PDF - Downloading XSD files for local validation - Test mode using tax agencies' test servers **Supported accounting flows** - Posting and canceling invoices - Foreign and national customers - Multi-currency - Refunds (credit notes) - Discounts - Simplified invoicing **Not supported accounting flows** - Specific VAT regimes - Handling of third-party invoices - XML generation and EDI operations for vendor bills (Bizkaia LROE) - Modelo 140 (Bizkaia LROE) - Invoice batching (Bikzaia LROE) closes odoo/odoo#109907 Signed-off-by:
Josse Colpaert <jco@odoo.com>
-
Josse Colpaert authored
This way, the demo company is easier to play with as a certificate is already there. Part-of: odoo/odoo#109907
-
Josse Colpaert authored
Before, if you had multiple lines with noexenta, the lines could be added multiple times. So, we only add the lines outside of the for-loop. For Ticketbai, we also need to make the distinction between S1 (normal) and S2 (inversion sujeto pasivo) lines, so we return them in different lists. Part-of: odoo/odoo#109907
-
Josse Colpaert authored
Part-of: odoo/odoo#109907
-
Josse Colpaert authored
Part-of: odoo/odoo#109907
-
Habib (ayh) authored
With this commit, we improve the usability of foreign bank transactions. When capturing a new bank transaction (account.bank.statement.line) - when capturing a new transaction we compute the amount currency based on the transaction date, amount in journal/company currency, and foreign currency - when the foreign currency is removed, the amount_currency is cleared Task-3338560 Task-3338532 closes odoo/odoo#122499 Related: odoo/enterprise#41503 Signed-off-by:
Laurent Smet <las@odoo.com>
-
Yolann Sabaux authored
This reverts commit 33d95edd4832c4bd68bb2da2c4585e7b26db8a3c. Following of the next steps https://www.odoo.com/web#id=3338017&cids=1&model=project.task&view_type=form Initial opw-2992106 closes odoo/odoo#122474 Forward-port-of: #122431 Signed-off-by:
William André (wan) <wan@odoo.com> Signed-off-by:
Yolann Sabaux (yosa) <yosa@odoo.com>
-
Michele authored
closes odoo/odoo#122463 X-original-commit: fa2cb330 Signed-off-by:
Vincent Schippefilt (vsc) <vsc@odoo.com>
-
Benjamin Vray authored
Steps to reproduce the bug : - Add the same google font twice with the font family selector in the option tab of the editor panel. - The font will be displayed only once in the font selector menu but 2 trash icons will be added, one for the added font and one for the font that was already there. This commit fix this and allows now the user to add the same font twice, but only to replace a served font by a local font. The opposite does not make sense, but if the user really wants to replace a local font with a served, it is always possible by deleting the locale beforehand. In addition, this commit adds a cloud icon next to the default fonts of the theme. Since these fonts are served by Google, it is logical to have the cloud icon. This is consistent with the cloud icon that is present when the user adds a font served by Google. task-2998689 closes odoo/odoo#122398 X-original-commit: be503205 Signed-off-by:
Romain Derie (rde) <rde@odoo.com>
-
Jeremy Kersten authored
The 'frontend_lang' cookie is used to 'cache' the user's preferred lang. We want to make sure that this language preference is preserved for a longer period of time than just the life of the browser. This means that even if you quit your browser and come back into the year, your preferred language will be used, until you choose to remove your cookies. The 'utm_*' cookies are used to 'track' where you are coming from on the instance. The purpose of these cookies is to know the tracking value to improve the overall user experience or compute the profitability of some campaigns. Now we keep these cookies for 1 month. closes odoo/odoo#122295 Signed-off-by:
Romain Derie (rde) <rde@odoo.com>
-
pedrambiria authored
This update enables PoS to handle GS1 barcodes, which was previously not possible even though the GS1 nomenclature could be selected. GS1 barcodes can now be used to extract product identifiers, lot numbers, and serial numbers from the code. opw-3204299 closes odoo/odoo#122257 Signed-off-by:
Joseph Caburnay (jcb) <jcb@odoo.com>
-
Mahamadasif Ansari authored
'PdfReadError Could not read malformed PDF file' log error is generated when user upload a corrupted PDF file in an invoice. This commit changes the logger exception to a warning to avoid an unnecessary error in the log. sentry-4188965420 closes odoo/odoo#121617 Signed-off-by:
Quentin De Paoli <qdp@odoo.com>
-
- Apr 13, 2023
-
-
Valentin Chevalier authored
by using the `request.website` context closes odoo/odoo#88374 Signed-off-by:
Antoine Vandevenne (anv) <anv@odoo.com>
-
- May 25, 2023
-
-
Thomas Lefebvre (thle) authored
Steps to reproduce: Without being logged in, complete the purchase flow on the ecommerce, taking care to have a different billing and shipping address. If you change the delivery address, you will get an access error. Cause: In some cases, we do not have access to the `name` field of the `partner` record. Solution: Add `sudo` to be able to read the fields. opw-3276877 closes odoo/odoo#122284 X-original-commit: 1d6ae6bb Signed-off-by:
Antoine Vandevenne (anv) <anv@odoo.com> Signed-off-by:
Lefebvre Thomas (thle) <thle@odoo.com>
-
Julien Castiaux authored
Install and then uninstall the utm module via the web client, you get a traceback because the ir.http override of the utm module is still present in the registry altought the module is not installed anymore. The problem affects all modules that override the _post_dispatch method of ir.http, it is not limited to UTM. The problem is that, after the uninstallation, a new registry (without the uninstalled modules) is created but the old registry was still used by the HTTP stack. closes odoo/odoo#122242 Closes: #121755 Signed-off-by:
Julien Castiaux (juc) <juc@odoo.com>
-
Antoine Dupuis (andu) authored
When creating an invoice with a positive line and a negative line, with different taxes, the DatiRiepilogo node for the tax of the negative line contained positive amounts when they should be negative. This is because we were applying `abs()` too naively in the XML template and in the code of _l10n_it_edi_prepare_fatturapa_tax_details. This bugfix commit changes the logic to no longer use abs(). opw-3316300 closes odoo/odoo#121933 Signed-off-by:
Quentin De Paoli <qdp@odoo.com>
-
Antoine Dupuis (andu) authored
Since the coming into force on 01/01/2016 of Legislative Decree 139/2015 implementing EU Directive 2013/34/EU, extraordinary gains and losses should no longer be accounted separately on the P&L statement. See this article https://www.fisco7.it/2017/02/come-ricollocare-nel-conto-economico-gli-abrogati-oneri-e-proventi-straordinari/ There is therefore no point in having special accounts for extraordinary gains and losses. So we are removing accounts 71 and 72, both from the CoA and from the Profit and Loss accounts. Since they should no longer be used since 2016, this should not have any impact for existing users. closes odoo/odoo#121288 Related: odoo/enterprise#41014 Signed-off-by:
Quentin De Paoli <qdp@odoo.com>
-
Laurent Smet authored
When duplicating the reco model, we want to counterpart entry lines to be copied as well. closes odoo/odoo#122360 X-original-commit: c5d5f4db Signed-off-by:
William André (wan) <wan@odoo.com>
-
Paul Morelle authored
The selection function get_selection_class for the field classname has obviously been thought to be overridable by subclasses in order to add new selection classes if need be. However, before this commit the method was passed directly to the Selection constructor, which used the callable object directly. If it was overridden by a subclass, the Selection object would still use the same non-overridden callable instance. With this commit, we give the name of the method instead of the callable, which makes that the method is resolved after all overrides, and therefore the resulting selection will be the overridden one. closes odoo/odoo#122377 X-original-commit: 91bea596 Signed-off-by:
Romain Derie (rde) <rde@odoo.com> Signed-off-by:
Paul Morelle (pmo) <pmo@odoo.com>
-
pedrambiria authored
There were two cases that caused the issue: Consider a cash rounding with Precision 5 and only cash. If you have an order that the total amount is 40 and pay 38 by bank and 0 with cash (cash rounding), it will raise an error. If you have an order that the total amount is 41 and pay 38 by the bank and 5 with cash, it will raise another error. opw-3302114 closes odoo/odoo#121626 Signed-off-by:
Joseph Caburnay (jcb) <jcb@odoo.com>
-
- May 24, 2023
-
-
paso-odoo authored
If applied, this commit will solve the min-max issues for efaktur. - invalid literal for int() with base 10: when we enter all characters string in the min or max it will raise an error like this. - Error is also raised when the min or max is blank and try to save the record. So, I have update the value as 0 if the min value or max value not generated. see - https://tinyurl.com/2lx9j2kr Sentry - 3936020226 closes odoo/odoo#122302 X-original-commit: 78ecfd66 Signed-off-by:
William André (wan) <wan@odoo.com>
-
aliya authored
If a partner in the imported invoice does not exist, we create one on the fly. However, the partner is created without a country and `_run_vat_test` doesn't check it properly in 15.0, and fails in later versions, where we try to get the country code from the country we pass from `_import_retrieve_and_fill_partner`, which is `False`. This commit retrieves the country from the imported invoice to create the partner and passes the object instead of the `country_code` string to `_run_vat_test` closes odoo/odoo#122250 X-original-commit: 757ea532 Signed-off-by:
Laurent Smet <las@odoo.com> Signed-off-by:
Aliya Tastemirova (alta) <alta@odoo.com>
-
niyasraphy authored
before this commit, if user need to bypass the validation added for the length in custom module, the entire function has be rewritten in the custom module. scenario: * add the phone_mobile_search field to the name search of res.partner model * then open sale order form, and in the customer field enter any letter or digits, this user error will be raised after this commit, users just need to change the class attribute: _phone_search_min_length in the inherited module. closes odoo/odoo#122248 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Hoang Tien Dung authored
closes odoo/odoo#122240 X-original-commit: b061cf71 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
tsm-odoo authored
Since [1], comma can be included in url by the discuss regex. This should not be the case if the comma is at the end of the url/line since it could be part of a sentance. This PR applies the same logic to the dot and the semicolon character since they could also be used as punctuation. [1] https://github.com/odoo/odoo/pull/122093 closes odoo/odoo#122227 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Laurent Smet authored
- create an invoice with a CABA tax - full refund it using 'add credit note', 'cancel' mode. => No CABA entry generated but an exchange difference journal entry has been created. This is because the CABA entry is not generated in case of full refund thanks to the 'move_reverse_cancel' context key. However, this key is not preventing the generation of the exchange journal entry for CABA. opw-3321897 closes odoo/odoo#122179 X-original-commit: 9823d2fc Signed-off-by:
Brice Bartoletti (bib) <bib@odoo.com> Signed-off-by:
Laurent Smet <las@odoo.com>
-
Anita (anko) authored
User was not able to go through onboarding if they switched company. By default it tried to edit default payment provider that was conected to the main company so other companies were recieving Access Error. opw-3281770 closes odoo/odoo#121621 Signed-off-by:
Antoine Vandevenne (anv) <anv@odoo.com>
-
Nasreddin Boulif (bon) authored
Steps to reproduce: - Install `Events` module - Create a new event and set it to `Autoconfirmation` - Create a new attendee and confirm it Issue: Mail that confirm registration is not sent to attendee. Cause: When computing the `schedule_date`, it take the value of the `registration_id.create_date` WITH the microseconds. When creating a new attendee, at some point we run the mail schdelure that compare if the `schedule_date <= now`. `schedule_date` and `now` have same value except for the microseconds (set on `schedule_date` but not on `now`). Therefore `schedule_date > now` and the mail is not sent. Solution: Remove microseconds from the schedule_date. opw-3079389 closes odoo/odoo#122137 X-original-commit: f2adca45dcec5a11daa92d07bae00615210ea0de Signed-off-by:
Nasreddin Boulif (bon) <bon@odoo.com>
-
Romain Derie authored
The code was assuming there would be only one `<footer/>` element in the dom but it's not always true. Our `Blockquote` snippet also contains a `<footer/>` element. While this has no impact on Odoo 14 and Odoo 15, it will crash in Odoo 16 when trying to select "On all pages" on a popup option when there is a blockquote snippet on a page. The reason it breaks in 16 is because it uses javascript instead of jquery, finding only one element (the footer of the blockquote) and not all. The jQuery usage was then filtering out to only keep the correct footer due to some extra selector looked for in the elements (`.oe_structure:o_editable`). Still, the fix is made in Odoo 14 because it's likely that we will have another fix later in the snippet options, and it's also likely that someone will replace the jQuery usage by javascript while doing so, which would reveal the bug. opw-3283140 closes odoo/odoo#122119 X-original-commit: ca3d6e09 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com> Signed-off-by:
Romain Derie (rde) <rde@odoo.com>
-
Pieter Claeys (clpi) authored
Upon changing/removing/adding the analytic account on a manufacturing order, only the analytic lines due to the raw material moves are updated, but not the ones for workcenter costs. To reproduce: - Create an MO with a workorder on a workcenter which has an operating cost set - Complete time on this workorder to generate the [WC] AALs on this MO - Change the analytic account on the MO (or delete it) Bug: The [WC] AALs never get correctly updated. This fix builds on https://github.com/odoo/odoo/pull/79614 to correct this behaviour and also take into account changes for the workcenter cost AALs when the analytic_account of a manufacturing order is changed. Community PR: https://github.com/odoo/odoo/pull/117308 closes odoo/odoo#121891 Task: 3252742 X-original-commit: cdf28628 Signed-off-by:
Arnold Moyaux (arm) <arm@odoo.com>
-
Manushi Shah (mash) authored
This commit adapts the style of the close button on the mass mailing "mobile preview" to ensure that it's visible in both regular mode and dark mode. Task-3326846 closes odoo/odoo#121796 Signed-off-by:
Warnon Aurélien (awa) <awa@odoo.com>
-
Nishant Jain (niai) authored
With this commit, Made the tree line clickable instead of clicking View Related Document Button. Updated the description, to be similar to chatter in audit trail tree view. Also Updated error message while deleting entries once it's posted for Indian Company. closes odoo/odoo#121242 Signed-off-by:
William André (wan) <wan@odoo.com>
-
stcc-odoo authored
Steps to reproduce: - Install fleet - Switch to mobile view - Create new vehicle - Click on model field > Select a model Issue: Clicking on a car model does not perform any action. Solution: Add class `oe_kanban_global_click` to kanban items in order to capture user clicks. opw-3188104 closes odoo/odoo#121148 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Abdelouahab (abla) authored
To reproduce ============ - add video to a course - remove user from course if user is enrolled - open video in full screen mode and play it - move nearly to the last part of the video so that is detected as completed - an error will occure Problem ======= - when the video is detected to be completed we want to mark the slide as completed - as the user is not a member, we can't retreive the current slide which is the source of this issue Solution ======== as the use is not a member, marking the slide as **Completed** dosen't make any sense, so checking if the user is member, should solve the problem. opw-3295662 closes odoo/odoo#121062 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Mehdi Bendali Hacine authored
closes odoo/odoo#118765 Signed-off-by:
Josse Colpaert <jco@odoo.com>
-
moerradi authored
- Add group bys, columns, and filters to Bank Reconciliation models for better navigation and organization - Trigger auto-validate cron on saving Reconciliation model with auto-validate enabled - Restore pre-filled elements when creating Reconciliation model through bank reconciliation widget (V15.2 functionality) - Remove text ellipsis from Reconciliation model buttons in bank reconciliation widget for better readability closes odoo/odoo#117822 Task-id: 3253304 Related: odoo/enterprise#39393 Signed-off-by:
Laurent Smet <las@odoo.com>
-
Jérémy Hennecart (jeh) authored
Delete the autoplay for all iframes in the iframefallback. The autoplay was causing issue where the sound of the previous video was played on the background. Now we delete the autoplay for all iframe directly. This happened in media_iframe_video, youtube player and vimeo videos. We can do this for all iframe source url directly as it impacts other modules like website_slides or website_event_track_live. task-3012952 closes odoo/odoo#112868 Signed-off-by:
Warnon Aurélien (awa) <awa@odoo.com>
-