- Sep 08, 2022
-
-
alt-odoo authored
Small fixup of recent commit [1]. A regular user do not have delete right on iap.account model, hence creating an access right error. We should allow him to delete accounts without token so they will be re-created afterwards. [1]:https://github.com/odoo/odoo/commit/974caef934b7a116b7375f05e047aea15ea960aa closes odoo/odoo#99817 Signed-off-by:
Florian Daloze (fda) <fda@odoo.com>
-
Ivan Yelizariev authored
Search result is not used since switching to implementation with `read_group`. The line is already removed in v14, but because it may significantly slow down computation of the `purchased_product_qty` field, we should remove it in v13 too opw-2971825 closes odoo/odoo#99800 Signed-off-by:
Adrien Widart <awt@odoo.com>
-
- Sep 05, 2022
-
-
Yoshi Tashiro (Quartile) authored
closes odoo/odoo#99391 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Sep 04, 2022
-
-
Odoo Translation Bot authored
-
- Sep 02, 2022
-
-
Nasreddin Boulif (bon) authored
Steps to reproduce: - Install purchase - Go to Settings and activate `Variant Grid Entry` - Create a new Requests for Quotation - Add a customer and add a product that has a variant min 2 variant - Wizard should ask for the variant - Select 1 variant by increasing quantity in the grid and confirm - Confirm order - Add again a product variant with the wizard Issue: Price unit is not set on the new line. Cause: In `_onchange_quantity` (triggered by the purchase_product_matrix module), we do not update price unit if order line is in state `purchase` or `done`. Solution: Replace condition to not perform `_onchange_quantity` if order line has an invoice line. opw-2956755 closes odoo/odoo#98960 Signed-off-by:
Adrien Widart <awt@odoo.com>
-
oco-odoo authored
Before, when using a cash basis tax in the bank reconciliation widget, the account chosen for the tax line corresponded to the tax transition account. This was wrong: since the entry is already reconciled, we want to use the actual repartition account, as nothing will move this amount from the transition account afterwards. Indirectly linked to OPW 2865789 closes odoo/odoo#99427 Signed-off-by:
Laurent Smet <las@odoo.com>
-
- Sep 01, 2022
-
-
Mélanie Cruypeninck (crm) authored
closes odoo/odoo#97435 Signed-off-by:
William André (wan) <wan@odoo.com>
-
- Aug 30, 2022
-
-
CarlosRoca13 authored
Before this patch, when we try to print an invoice without belonging to the group stock.group_stock_user, we get an Access Error. Doing this patch, we are allowed to print the invoices as we skipped the mentioned ACL. closes odoo/odoo#74728 Signed-off-by:
William André (wan) <wan@odoo.com>
-
- Aug 29, 2022
-
-
Stefan-Calin Crainiciuc (stcc) authored
Steps to reproduce the bug: - install eCommerce module with assets - go to any product page - check the source code with https://validator.schema.org/ Notice that the 'image' and 'url' microdata tags have no base url, so the engine assumes http://schema.org/ to be the base url. This makes certain ad trackers such as facebook pixel unable to detect the product being sold. This commit adds the base_url field to both tags so that they are correctly traced. opw-2830058 closes odoo/odoo#97215 Signed-off-by:
William Braeckman (wbr) <wbr@odoo.com>
-
root authored
closes odoo/odoo#99087 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Nshimiyimana Séna authored
Currently, when creating an invoice from factur_x XML, the vendor is identified by sequentially checking (in this order) the following information : - VAT number - name - email However, when we generate a factur_x XML, we do not include the partner's email address. This means that in some cases, two odoo databases are not able to communicate bills/invoices properly. This commit brings back a behavior that was unintentionally removed in https://github.com/odoo/odoo/commit/d25fdafcd8eb4cfef14c2ef7ed8ad7785dd01b55 opw-2909408 closes odoo/odoo#98896 Signed-off-by:
William André (wan) <wan@odoo.com>
-
Leo Tran authored
closes odoo/odoo#99083 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
alt-odoo authored
Since the accounts without token are useless and could create errors afterwards, we should delete them and automatically create a new one with a new token in case force_create is set to True. closes odoo/odoo#98858 Signed-off-by:
Florian Daloze (fda) <fda@odoo.com>
-
MerlinGuillaume authored
Reverts [this commit] because it modified the format of float numbers in exported xlsx files and we want to avoid introducing an error or unwanted behavior in version 13, for which support will soon come to an end. [this commit]:https://github.com/odoo/odoo/commit/27ab24214dabfafc652280f680f7a650e7d98d2b closes odoo/odoo#98975 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Guillaume (guva) authored
Before this commit, in invoice/bill, when changing the account of a tax line while having one of the invoice lines with tax 0%, the tax line was not displayed anymore. The cause of the issue is that in _recompute_dynamic_lines method, when setting the tax repartition lines to recompute, we did not filter the 0 tax. The consequence was that we had a delta between expected and current taxes, although the line of tax 0% was not displayed anyway. By filtering the 0 tax, we have expected taxes == current taxes, so we do not have delta anymore, therefore no tax line to recompute. opw-2901833 closes odoo/odoo#97663 Signed-off-by:
Florian Gilbert (flg) <flg@odoo.com>
-
- Aug 28, 2022
-
-
Odoo Translation Bot authored
-
- Aug 26, 2022
-
-
JF Aubert authored
This commit addresses a screen refresh problem. closes odoo/odoo#98788 Task: 2961768 Signed-off-by:
Arnold Moyaux (arm) <arm@odoo.com>
-
- Aug 25, 2022
-
-
Nshimiyimana Séna authored
This PR adds the 'posted' filter by default on the journal items list view, when coming from an account's form view. opw-2896728 closes odoo/odoo#98183 Signed-off-by:
Grazioso Andrea (agr) <agr@odoo.com>
-
qsm-odoo authored
If datetimepickers were used too soon after page loading, they would use the wrong format and UI options as the code in charge of initializing those options was not fully lazy loaded yet. With this patch, we prevent the tempusdominus lib to consider pickers that are in a body that is marked by the lazyloader during the lazy loading of JS files. We could potentially not add the lib attribute (data-toggle="datetimepicker") on those elements and let the business code initializing the pickers add it but that would not have been a stable fix and it may be better this way as this works generically. opw-2944720 closes odoo/odoo#98529 Signed-off-by:
Romain Derie (rde) <rde@odoo.com>
-
- Aug 24, 2022
-
-
Daniel Blanco authored
Add Jose Moreno Hanshing closes odoo/odoo#98329 Signed-off-by:
Josse Colpaert <jco@odoo.com>
-
Guillaume (guva) authored
Backport of https://github.com/odoo/enterprise/commit/0a8aa0d48b17d2d428941b3bd11aca5d0a3422e9 Don't show the stock input/output accounts in the reconciliation widget. Steps to reproduce: - A product category PC, costing method AVCO, automated valuation and custom stock input(STI)/output(STO) account (reconcile = True) - A Journal Entry with the STI Move line : | Account | Debit | Credit | |---------|-------|--------| | STI | 0.0 | 50.0 | | XXXXXXX | 50.0 | 0.0 | - Create a bank statement with amount corresponding with the journal entry then reconcile -> Line for custom stock input STI account shows up in misc tab on reconciliation widget Fetch all accounts relative to stock accounts properties, then filter them in the domain. opw-2792862 closes odoo/odoo#96131 Signed-off-by:
Florian Gilbert (flg) <flg@odoo.com>
-
- Aug 23, 2022
-
-
Jinjiu Liu authored
Reproduction: 1. Create a dynamic attribute "dyn_att" with a couple of values 2. Create a product template "dyn_prod" with those attribute values 3. Create an order for "dyn_prod", this will trigger creating a variant 4. Make sure to check Variant Grid Entry in Sales Settings 5. Open variant form view of dyn_prod and edit it to allow duplication 6. Duplicating it leads to an error Reason: copying the variant is not possible and disabled here: https://github.com/odoo/odoo/pull/38303 For future convenience, maybe it’s better to give a temporal working solution. The function _create_first_product_variant is used in the product module but only defined in its child module website_sale Fix: copy the product template, create and return its first possible variant. Added test for dynamic variant copy. change the definition place of _create_first_product_variant to module product opw-2790543 closes odoo/odoo#88075 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
- Aug 22, 2022
-
-
MerlinGuillaume authored
Exporting data incorrectly formats the float values of group headers Steps to reproduce: 1. Install Planning 2. Open Planning and trigger the list view 3. Remove the default filter and add a group_by on employees 4. Export the data 5. The file produced doesn't have the same format for Allocated Hours in the group headers and in the line details Solution: Create formats for float and monetary values using the user's preferences in decimal separator and decimal precision. For monetary format, we use the biggest decimal precision used in the company currencies. opw-2864273 closes odoo/odoo#94534 Signed-off-by:
Julien Castiaux <juc@odoo.com>
-
Ivan Yelizariev authored
Searching by attributes works via a separate form. It has a copy of other search parameters (`category`, `search`), but not `order`. STEPS 1) enable View "Products Attribute's Filters" in eCommerce 2) enable View "Show Sort by" in eCommerce 3) Set sorting to specific value 4) Change Product Filters Attribute values 5) as you can see, the sorting set in Pt3 is lost.... opw-2956280 closes odoo/odoo#98553 Signed-off-by:
William Braeckman (wbr) <wbr@odoo.com>
-
Nasreddin Boulif (bon) authored
Steps to reproduce: - Install `website_event` module - Go to Events and edit `Design Fair Los Angeles` event - Edit the title and make it very long then save - Go to the Website then click on Events in the menu - Click on Customize and disable `Layout - Columns` to have a list view. Issue: The cover is hidden on edited event. Cause: It's a know issue: https://stackoverflow.com/questions/36247140/why-dont-flex-items-shrink-past-content-size Solution: Set min-width: 0 to the div arround the title if screen size bigger then `sm`. opw-2882533 closes odoo/odoo#95992 Signed-off-by:
Nasreddin Boulif (bon) <bon@odoo.com>
-
- Aug 21, 2022
-
-
Odoo Translation Bot authored
-
- Aug 18, 2022
-
-
Guillaume (gdi) authored
Facebook no longer supports the option to see the profile pictures of friends who have liked the page. So this commit removes the option (which was no longer useful). See [same issue at WordPress]. [same issue at WordPress]: https://wordpress.org/support/topic/facebook-likebox-disappearance-of-the-faces-of-friends-who-like-the-page/ task-2950329 closes odoo/odoo#98177 Signed-off-by:
Romain Derie (rde) <rde@odoo.com>
-
Stefan-Calin Crainiciuc (stcc) authored
Steps to reproduce the issue: - Notes app > Kanban view > Create a bunch of notes using the + icon in the kanban view - (optional) Modify the default order of the notes - Add a new note using the quick add feature - Don't modify the order of the notes and refresh the page - The new note will be sent to the bottom of the note list (off-screen if the list is long enough) This happens because new notes have their sequence set to NULL, which places them at the end of the list after ordering by sequence. This commit sets the default sequence of a new note to 0, so that it is placed at the top of the list and adds an additional sort on 'id desc' to consider the case where all notes have the same sequence. opw-2924615 closes odoo/odoo#97023 Signed-off-by:
stcc-odoo <stcc@odoo.com>
-
- Aug 16, 2022
-
-
Ivan Yelizariev authored
The model had name_get, but not _name_search, which leads to difference between what user sees and what he get as search results. This patch doesn't fix the issue completly, but adds more search results on searching just by account move (e.g. invoice) name. STEPS: * open menu Analytic Items (account.analytic.line) * make custom filter *Journal items contains "INV/"* ( `[["move_id","ilike","INV"]]` ) BEFORE: no items found even if you see such analytic items --- opw-2691495 closes odoo/odoo#87156 Signed-off-by:
William André (wan) <wan@odoo.com>
-
Ivan Yelizariev authored
/my/account controller blocks name/vat/company_name updating if there are issued invoices. However Before this commit, user can change name via /shop/address page STEPS 1/ install sales, eCommerce,inventory,Accounting 2/ create a sales order from the portal page, validate and create an invoice from SO and post it 3/ Try to change the name from the Portal > Account Result - not possible = correct 4/ Place a new SO by the same portal user and edit the name on the address before proceeding to checkout [1]: https://github.com/odoo/odoo/blob/1f49528a4b198e8912beb33be921d2855c694e2e/addons/account/controllers/portal.py#L111-L113 opw-2848251 closes odoo/odoo#97686 Signed-off-by:
William Braeckman (wbr) <wbr@odoo.com>
-
snd authored
Consider this case: Template A has 2 variants: KIT and NOKIT KIT has a total cost of 100, NOKIT costs 50 When selling NOKIT, the current code will select the bom of KIT to calculate the price_unit of NOKIT, which means that when reconciling the aml of the invoice (amount = 100) with the aml of the cogs move (amount = 50), it will be partial due to the difference in amount. This alse messes with the balance sheet report. This fix ensures that only boms directly related to the product or for the generic template are selected. opw-2918080 closes odoo/odoo#97453 Signed-off-by:
Steve Van Essche <svs@odoo.com>
-
Florian Charlier authored
So that the link works... Task-2954531 closes odoo/odoo#98155 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
William Braeckman authored
This commit attempts to fix an undeterministic error during one of `website_sale_wishlist` tests. Due to a race condition it may happen that the button to add to the wishlist would be re enabled while it should be disabled (if the product is already in the wishlist) causing the tour to fail. closes odoo/odoo#98143 Signed-off-by:
William Braeckman (wbr) <wbr@odoo.com>
-
Renaud Thiry authored
When sending a mass mail through the composer, if the field ``reply_to`` had to fall back to being ``email_from``, reply_to would take the value of the template syntax instead of the rendered value. This is notably the case when mass-mailing invoices through the accounting app. Resulting in reply_to fields such as: '{{user.email}}' On some mail clients (including mailhog), this could also result in template syntax being shown as part of the subject or sender field. This commit fixes that by correctly taking the rendered value of 'email_from' Task-2816845 closes odoo/odoo#95227 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Renaud Thiry authored
When sending a mass mail through the composer, if the field ``reply_to`` had to fall back to being ``email_from``, reply_to would take the value of the template syntax instead of the rendered value. This is notably the case when mass-mailing invoices through the accounting app. Resulting in reply_to fields such as: '{{user.email}}' On some mail clients (including mailhog), this could also result in template syntax being shown as part of the subject or sender field. Task-2816845 Part-of: odoo/odoo#95227
-
- Aug 14, 2022
-
-
Odoo Translation Bot authored
-
- Aug 12, 2022
-
-
Julien Van Roy authored
For the product categories, the default income and expense accounts should only contain the income/expense accounts. Such that the dropdown menu in the product view only lists the possible income or expense accounts. task-2835541 closes odoo/odoo#90358 Signed-off-by:
Laurent Smet <las@odoo.com>
-
- Aug 11, 2022
-
-
Nasreddin Boulif (bon) authored
Steps to reproduce: - Install l10n_ar module (or any l10n_* module that depends on l10n_latam_invoice_document) - Go to Accounting -> Vendors -> Bills - Click on Upload and select a bill file - Open draft bill - Click on `Send For Digitalization` Issue: Digitalization don't start and a warning message is diplayed saying that some required fields are invalid. Cause: When clicking on the button to digitalize the invoice, we try to save the form first before executing the action. By doing so, if some fields are required and empty, a warning message will be displayed. In this case, the issue is with the fields `Document Type` and `Document Number`. Solution: Set `Document Type` and `Document Number` to not required if there is no partner_id set on the bill. opw-2797444 closes odoo/odoo#96004 Signed-off-by:
Josse Colpaert <jco@odoo.com>
-
- Aug 10, 2022
-
-
qsm-odoo authored
When the country events snippet displayed events specific to a country (geoip properly installed + upcoming confirmed events in that country), a flag of the country was displayed but it was way too big. Difficult to say when the bug was created, at least from 12.0. In 15.1, that snippet has been refactored anyway and is now entirely different to make it more attractive. opw-2904427 closes odoo/odoo#97905 Signed-off-by:
Romain Derie (rde) <rde@odoo.com>
-
qsm-odoo authored
Before this commit, we had an error following those steps: 1. Install website app. 2. Customize the first website default theme settings (like the font-size of the header logo). 3. Uninstall the website app. 4. Reinstall the website app. 5. Try step (2) again => It does not work. This is due to custom SCSS attachments which were not properly removed after we uninstalled the app. The problem was actually already solved at some point with [1] but was later broken by [2] which prevented to properly call the `unlink` method for the only remaining website. [1]: https://github.com/odoo/odoo/commit/2f361bec36dff09181b96d140d62c477cdf013a1 [2]: https://github.com/odoo/odoo/commit/93a2e85ae7b11f9a390f40f74e6d78e1ec876fc3 Fixes https://github.com/odoo/odoo/issues/44240 opw-2947919 closes odoo/odoo#97852 Signed-off-by:
Romain Derie (rde) <rde@odoo.com>
-