- Mar 06, 2023
-
-
Yolann Sabaux authored
Steps to reproduce: - Create a new journal Bank - In Sequence, find the 'New Bank Check" and edit it so the sequence can be 10 number digits long - Create a Vendor Payments with the the New Banck and Check as a method - Click on Print a check - Set the check number to 2147483648 and validate - Create a new payment with the check method - Click on Print a check Issue: Error is raised Cause: As for https://github.com/odoo/odoo/pull/112832 there is a second check in order to increment the check number opw-3140973 closes odoo/odoo#114416 X-original-commit: 364bc769 Signed-off-by:
John Laterre (jol) <jol@odoo.com>
-
Zelong Lin authored
closes odoo/odoo#114173 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
Jeremy Kersten authored
Before this commit, we only support rgba(xxx,yyy,zzz,v.www) Now we support also rgba(xxx, yyy, zzz, v.www) How to reproduce: Edit theme color secondary, chose a color with transparency. Go to a 404 page and the pinky will be not loaded. closes odoo/odoo#114418 Signed-off-by:
Jérémy Kersten <jke@odoo.com>
-
aath-odoo authored
Before this commit: unable to remove blockquote and heading element if first element. After this commit: removed element on backspace even if first element. Task- 3004556 closes odoo/odoo#108255 Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
-
Jeremy Kersten authored
We have a lot of hits without any forum_origin which will raise an error 500 because this parameter is required. But because this params is not into the controller but received as a get parameter, it will match the controller and return an error 500 instead of a beautiful 404. Some controller like 'open_partner' redirect to this url without the parameter forum_origin too, leading in a 500 in all cases. Better for uX to have this param, but not critical to display the page. The only negative impact will be to have a 'Back' button that return to this new default value '/forum'. closes odoo/odoo#114419 Signed-off-by:
Jérémy Kersten <jke@odoo.com>
-
Adrien Widart (awt) authored
To reproduce the issue: (Also need: account_accountant,purchase) 1. Setup a product P - Storable - Category: - FIFO + Auto 2. Process a PO with 1 x P at $10 3. Process a PO with 1 x P at $50 4. Create and confirm a SO with 1 x P - Because of FIFO, the value of the delivered product is $10 5. Process the delivery 6. Post the invoice 7. Add credit note - Credit Method: Full refund and new draft invoice 8. Post the second invoice Error: The cogs are based on the second received product ($50), they should rather be based on the delivered one When computing the anglo-saxon unit price of the product, we consume the outgoing SVLs, and we consider the already-invoiced quantity. Here is the issue: we pretend that this quantity is 1, because of the first invoice, but this should be balanced with the quantity of the credit note OPW-3109789 closes odoo/odoo#114346 X-original-commit: d8e286ad Signed-off-by:
William Henrotin (whe) <whe@odoo.com> Signed-off-by:
Adrien Widart <awt@odoo.com>
-
- Mar 05, 2023
-
-
Julien Van Roy authored
The BuyerReference (BT-10) should be easily editable by the user, so it is read from the `commercial_partner_id.ref`. The OrderReference (BT-13) should also be editable by the user, it is read from the `move.ref`. The definition for both tags in the peppol doc defines these tags as: "An identifier assigned by the Buyer used for internal routing purposes". The new tag SalesOrderId (BT-14) is added, and is the sale order's name linked to the invoice. opw-3175906 closes odoo/odoo#114339 X-original-commit: https://github.com/odoo/odoo/commit/79f46cdba23715203ed218a36664d30927e45e7a Signed-off-by:
Laurent Smet <las@odoo.com> Signed-off-by:
Julien Van Roy <juvr@odoo.com>
-
Odoo Translation Bot authored
-
- Mar 03, 2023
-
-
Benjamin Vray authored
This commit fixes two bugs with the table of content snippet: - Before this commit, the scrollspy position for the table of content navbar was incorrect in fullscreen or edit mode due to the calculation being based on the presence of the main navbar, which is not present in those modes. - Before this commit, when the table of content navbar contained enough elements to exceed the height of the page, the bottom elements were not accessible without first scrolling through the entire table of content. This commit addresses this issue by adding a scrollbar to the navbar, allowing for easier access to these links. opw-3115597 closes odoo/odoo#114324 X-original-commit: eb356dfd Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Louis (loco) authored
Steps to reproduce the bug: - Go to the website and edit a page. - Make sure there is enough content to be able to scroll the page. - Go to the "Theme" tab and disable the "Show Header" option. - Click on the footer and enable the "Scroll Top Button". - Click on "Save". => Clicking on the "Scroll To Top" button does nothing. The "Scroll To Top" button is an anchor with its `href` set to `#top`. By disabling the "Show Header" option, the header is removed from the DOM and there is no existing element with `id=top` anymore. To fix this, the `scrollTo` function has been patched in order to be able to receive selectors as arguments. In the '#top' and '#bottom' case, those positions are known and always the same (either at the top of the document or the bottom of it) so there is no need to have the header or the footer present in the DOM in order to be able to scroll up to those positions. Now that the `scrollTo` function is able to scroll to the top or the bottom of the page even without header or footer, those two positions can always be suggested as internal link anchors during link edition. opw-3133464 closes odoo/odoo#114317 X-original-commit: 4ca793a3 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Adrien Widart (awt) authored
OPW-3115528 closes odoo/odoo#114217 X-original-commit: f26de2be Signed-off-by:
Arnold Moyaux (arm) <arm@odoo.com> Signed-off-by:
Adrien Widart <awt@odoo.com>
-
William Henrotin authored
To reproduce the issue: 1. Create a product: - Type: Storable - Category: - Costing Method: AVCO 2. IN 1000 @ 0.17 3. IN 800 @ 0.23 4. OUT 1000 5. OUT 800 6. Open the inventory valuation of the product Error: the total value is $-6.00, it should be zero Once all products received, the standard price is $0.20. Its value has been rounded because the real value is `(1000 * .17 + 800 * .23) / 1800 = 0,196666667` The standard price will create a difference when using the products, because: `(1800 * .20 = 360) != (1000 * .17 + 800 * .23 = 354)` That's the reason why a feature tries to compensate such rounding errors. So, step 4, when preparing the values of the out-SVL, we check if there is a rounding error, and we find a difference of $6, which is correct. However, the difference is above the treshold, so we will not consider it as a rounding error: https://github.com/odoo/odoo/blob/3ff51daa93a1d670b8f67f79418d4dd48e94875f/addons/stock_account/models/product.py#L197-L200 Here is the issue: the threshold is based on the outgoing quantity (1000) while the value difference is based on the whole quantity (1800). This difference should also be proportional to the outgoing quantity. Note: The fix will still not work with a small quantity. The only and best solution is to change the type of the SVL unit cost into a float. OPW-3101374 X-original-commit: ae060c63 Part-of: odoo/odoo#114217 Co-authored-by:
Adrien Widart (awt) <awt@odoo.com>
-
PNO authored
Before this commit, it was possible that a move was considered to not be merged in mrp_subcontracting action_confirm, but it was then selected as a candidate to be merged on stock _merge_moves. In that scenario, the move would be merged with another one and deleted. As a consequence, we would end up returning a stock.move that no longer exists, raising an error message "Record does not exist or has been deleted.". With this commit we return only the moves that still exist. closes odoo/odoo#112403 X-original-commit: bb5aa90a Signed-off-by:
William Henrotin (whe) <whe@odoo.com>
-
Benjamin Vray authored
Before this commit, it was possible to drop a snippet in a non-editable area (e.g. dynamic snippets). Steps to reproduce the bug: - Drop a "Dynamic Products" snippet in a page. - Drop a "Columns" snippet in the same page. - Moves a column from the "Columns" snippet into the "Dynamic Products" snippet thanks to the "drag and drop" button. - Bugs => It works when it shouldn't. task-3054763 closes odoo/odoo#113758 X-original-commit: 4d61c356 Signed-off-by:
Arthur Detroux (ard) <ard@odoo.com>
-
Arthur Detroux (ard) authored
Prior to this commit, the height of the Image Gallery snippet was set to auto on screens smaller than 400px. This ensures that the snippet looks the best on phones. However, when using Bootstrap, what defines a smaller screen is not any screen below 400px, but any screen below 768px. This meant that the Image Gallery snippet did not look the same on an iPhone 11 Pro max as it would on an iPhone 11 for example. This commit fixes that by using the built-in mixin that relies on Bootstrap's breakpoints (in this case SM). Steps to reproduce: - Go in edit mode and drop an "Image Gallery" snippet - Open the dev tools and choose "iPhone 11" or 375x812 - The image gallery does not have white bands - Change the resolution to "iPhone 11 Pro Max" or 414x896 - The image gallery has white bands / has a different layout opw-2995100 task-2997119 closes odoo/odoo#114297 X-original-commit: c36607dc Signed-off-by:
Vray Benjamin (bvr) <bvr@odoo.com>
-
Benjamin Vray authored
This commit fixes an issue with the width of items in the we-list not being correct when they are being dragged using jQuery's sortable feature. Steps to reproduce the bug: - Drop a "Form" snippet on a page. - Add a "Multiple Checkboxes" field in the form. - Move an option from the list using the move button. - Bug: while dragging the item, the width of the items is too small. When an element is dragged, it is given an absolute position which takes it out of the normal flow of the document, causing the input element within the list item to no longer be able to correctly occupy 100% of the available width. task-3138662 closes odoo/odoo#114286 X-original-commit: f87daf1d Signed-off-by:
Guillaume-gdi <gdi@odoo.com>
-
Valentin Vallaeys (vava) authored
For the moment, the price unit of the down payment line on the sale order is not always correctly computed. If the price unit is updated on the down payment invoice, it is not updated on the sale order; or if a regular invoice is created, the price unit of the down payment is set to zero on the sale order. This commit corrects the behavior by using the unit price of the invoice line. opw-3140740 opw-3160406 opw-3160420 closes odoo/odoo#114260 X-original-commit: 4d3a92ee Signed-off-by:
Vallaeys Valentin (vava) <vava@odoo.com>
-
John Laterre (jol) authored
Currently, SCT requires the journal to be in a set of determined currencies. We want to allow using this payment method for all journals, whatever their currency. The only check that should be made is on the currency of the payment. opw-3159737 closes odoo/odoo#114214 Related: odoo/enterprise#37733 Signed-off-by:
Florian Gilbert (flg) <flg@odoo.com>
-
niyasraphy authored
before this commit, trying to cancel a picking with no move lines, will not move the picking to the cancel state. * create a new picking * keep move lines empty * click on the cancel button * picking will remain in the draft state after this commit, on cancelling a picking with empty lines, will move the picking to the cancel state. closes odoo/odoo#112417 X-original-commit: 4a4ae318 Signed-off-by:
William Henrotin (whe) <whe@odoo.com>
-
- Mar 02, 2023
-
-
Abdelouahab (abla) authored
To reproduce ============ - on accounting -> Vendor -> Bills - upload the PDF attached on the ticket an exception is raised Problem ======= PyPDF2 finds that this pdf is encrypted,so we try to decrypt it with empty password, but the decryption fails which rise an error. Solution ======== according to this [commit](https://github.com/odoo/odoo/commit/851fe64f7789bb398383c22e3ebbaebb051791f6 ), when the decryption fails we skip reading the attachments and carry on to allow the user to upload the document. opw-3196780 closes odoo/odoo#114230 X-original-commit: 124250d1 Signed-off-by:
William André (wan) <wan@odoo.com> Signed-off-by:
abla001 <abla@odoo.com>
-
Nicolas Bayet authored
When a peer "A" connect to the peer to peer network, if he receive a stale document from a peer "B", peer "A" will never be able to save. This situation can make impossible for any new peer to receive a converging document and block the ability to save until every peer disconnect from the network. task-3196778 closes odoo/odoo#114206 Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
-
Jordan D. (Joda) authored
How to reproduce ================= Give a badge to an employee, when checking the sent mail, The image and description of the badge is nowhere to be seens. Those fields don't display because the description contains P html tags. The presence of the removed `t-if` is the main cause of the issue. Adding a `not` to the condition solves the issue. This not was lost during the Jinja -> Qweb translation (commit 68182baf) opw-3099419 closes odoo/odoo#111975 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Thomas Lefebvre (thle) authored
Steps to reproduce: - create a sale order; - add products which are based on timesheets for invoicing policy; - create an invoice an confirm it; - make a full refund for this invoice with "ADD CREDIT NOTE" button; - create an new invoice for the sale order. Issue: There is no longer a statistics button that displays the hours worked on the invoice view. Cause: To reassign an account move to an account analytic line, it is necessary either that there is no invoice or that the invoice is in the cancel state. The case where the invoice has been refunded is not taken into account. Solution: Correct the domain that determines the timesheets (account analytic line) to be linked with the invoice being created. opw-3187219 closes odoo/odoo#114129 X-original-commit: 5fa8b13b Signed-off-by:
Xavier Bol (xbo) <xbo@odoo.com> Signed-off-by:
Lefebvre Thomas (thle) <thle@odoo.com>
-
Elias Regopoulos authored
If the IBAN includes a non-ASCII alphanumeric character and has just the right length, the IBAN validation crashes with a KeyError before validation can take place. Fictional example: The supposed IBAN code "Bank München-Wiesn GmbH" gets normalized to "BankMünchenWiesnGmbH"; a string that starts with a valid country code ('BA', ie. Bosnia-Herzegovina) and happens to have the same length as Bosnia-Herzegovina's IBAN format (20 characters). Normally this erroneous IBAN would've been rejected as invalid, but Python throws a KeyError when trying to convert 'ü' to an int right before the validation step. We therefore need to also check if all characters in the IBAN code are within the expected range, namely [a-zA-Z0-9] (strictly speaking, the IBAN's specification range is only [A-Z0-9], but we can be lenient since Python's `int()` is case-insensitive). closes odoo/odoo#113724 X-original-commit: fc468f5a Signed-off-by:
Josse Colpaert <jco@odoo.com> Signed-off-by:
Elias <elre@odoo.com>
-
Louis (loco) authored
Before this commit, the user had the possibility to spam the "Log in" button when trying to connect. This could lead to a change of the CSFR token and an errror of type "werkzeug.exceptions.BadRequest: 400 Bad Request: Session expired (invalid CSRF token)" could then happen. This commit makes the “Log in” button un-clickable once it has been clicked and adds a loading effect to it. task-2996329 closes odoo/odoo#113996 X-original-commit: 7caba372 Signed-off-by:
Benoit Socias (bso) <bso@odoo.com>
-
pedrambiria authored
Before this commit: if a different `web.base.url` is set with `web.base.url.freeze`, during the first synchronization of Google calendar it will show a mismatch URL error. The problem is that we send the `redirect_uri` based on the `web.base.url` in the `_get_authorize_uri` function. The solution is to use the request root URL instead. opw-3175539 closes odoo/odoo#113914 X-original-commit: 7b321a42 Signed-off-by:
Arnaud Joset <arj@odoo.com> Signed-off-by:
Pedram Bi Ria (pebr) <pebr@odoo.com>
-
Jurgen (jugj) authored
task - 3203843 closes odoo/odoo#113655 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
Hiral Bhavsar authored
Before this commit: For the safari browser, when typing any URL and pressing space, and continuing typing, the cursor jumps before the URL. After this commit: Inserting an element into a range clears the selection in Safari. Hence, use the cloned range to reselect it and now the cursor position remains at the end of the URL. Task-3089091 closes odoo/odoo#110851 Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
-
- Mar 01, 2023
-
-
Abdelouahab (abla) authored
To reproduce ============ - with Invoicing installed, give a user the group Billing Administrator without giving any Administration group - connect to this user and try to add a bank account an access right is raised Problem ======= the `groups_id` on the action `action_new_bank_setting` is not specified so when runing the action we check if it has `groups_id`, if not, we check if the user has the right to write on the target model which is `res.company` here, which is not for this user because he doesn't have any Administration group. Solution ======== specify `groups_id` to `account.group_account_manager` opw-3199435 closes odoo/odoo#114084 X-original-commit: 68090907 Signed-off-by:
William André (wan) <wan@odoo.com>
-
Guillaume (gdi) authored
Before this commit, we-matrix could create a horizontal scroll bar in the editor. This was because the inputs had a minimum width size. Steps to reproduce the bug: - Drop a chart block on a page - Add some series => The matrix overflows from the editor. There is no perfect solution to this problem... We have the choice between: 1) Leave the existing overflow on the editor. 2) Put a horizontal scroll on the we-matrix. 3) Distribute the available space between the columns. As we don't want a horizontal scrollbar, the best solution is to distribute the available space between the columns. This solution has a drawback which is that the cells can become really small if there are a lot of columns but this solution seems to be the least bad from a UX point of view. task-3094162 closes odoo/odoo#114017 X-original-commit: 356e0a1f Signed-off-by:
Bojabza Soukéina (sobo) <sobo@odoo.com>
-
Romain Derie authored
With DB having only one blog (most common case, but we are used to test it with demo data where we have two), the query params are lost when accessing the blog controller without passing a blog. Eg, `/blog?search=hubble` will redirect to `/blog/travel-1` This is because the business code is doing an early redirect if we access the `/blog` URL without a blog post passed to it to redirect to that blog post URL directly (since there is only one), but that redirect is not passing the query parameters. The main impacted params are `state`, `order` and `search` but it's the same for all others. Step to reproduce (in later version): - Be sure to only have one blog - Drag & drop the search snippet in the homepage or anywhere - Make it search on blog only (through the snippet option) Type anything, it will not work and won't do the search. It will just redirect to the blog page. closes odoo/odoo#113997 X-original-commit: 6d4dba27 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com> Signed-off-by:
Romain Derie (rde) <rde@odoo.com>
-
Guillaume (gdi) authored
Before this commit, the "rank by" parameter was deleted when a visitor added a search criteria. This commit solves this problem. Steps to reproduce the issue: - Go to "/profile/users" - Click on "Rank by" and select "This week" - Search for a user (e.g. "admin") => The "rank by" parameter is lost and if you click on "This week" again, the search (admin) will be lost. task-3058239 closes odoo/odoo#113979 X-original-commit: https://github.com/odoo/odoo/commit/64f525eaa4f5e1bcd6999e0ef1335370918419fd Signed-off-by:
Benoit Socias (bso) <bso@odoo.com>
-
Guillaume (gdi) authored
Before this commit, search criteria could be lost when a visitor added a new search criteria on blogs. This commit solves this problem. Steps to reproduce the issues (with activate the sidebar): - Go to the /blog - Click on the adventure tag - Select a month in the date filter => The adventure tag is lost. - Go to the /blog - Select a month in the date filter - Click on the adventure tag - Remove the date filter => The adventure tag is lost. - Go to the /blog - Select a month in the date filter - Search for the blogs containing the word "heli" => The date filter is lost. task-3058239 X-original-commit: https://github.com/odoo/odoo/commit/835230b226fb9c73f6dad3b9a8163a651bd2b9ee Part-of: odoo/odoo#113979
-
Guillaume (gdi) authored
Before this commit, following these steps: - Have more than 30 attendees for an event - Go to the event page - Click on community - Search for a letter that is in the +30 attendees names - Go to the second page of search results => We lose the filtering of the attendees by the letter. This commit allows to keep the filters when the user is on a result page and changes page. task-3058239 X-original-commit: https://github.com/odoo/odoo/commit/026d08b10f1da9d9e18389f8cf7f76ae5e12b60e Part-of: odoo/odoo#113979
-
Guillaume (gdi) authored
Before this commit, following these steps: - Have more than 30 users - Go to /profile/users/ - Search for a letter that is in the +30 users names - Go to the second page of search results => We lose the filtering of the users by the letter. This commit allows to keep the filters when the user is on a result page and changes page. task-3058239 X-original-commit: https://github.com/odoo/odoo/commit/6614c90b6c7ff97471ef891cc3ca967b34e07129 Part-of: odoo/odoo#113979
-
Guillaume (gdi) authored
Before this commit, following these steps: - Go to /blog - Enable the customize option 'Top banner - Name / Latest Post' - Disable the customize option 'Full-Width Cover' - Search for the word 'helicopter' in the blog post search bar Two problems are then visible: 1) The top banner is always visible with a blog post that does not match the search. This top banner should not be visible (like for tag and date searches). 2) There is an alert message 'No results for "helicopter".' while the blog post 'Maui helicopter tours' matches the search. This commit corrects both errors. task-3058239 X-original-commit: https://github.com/odoo/odoo/commit/444e511ad927cd25549b9be847ad68df18652c4d Part-of: odoo/odoo#113979
-
Thanh Dodeur authored
closes odoo/odoo#114001 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Benjamin Vray authored
Before this commit, when moving inner content inside a carousel slide (with the 'move' button), the carousel was jumping to the first slide. Steps to reproduce the bug: - In website edit mode, drag and drop a Carousel snippet onto the page. - Move to the second slide. - Click on the column to activate its overlay. - Click and hold the "drag and drop" button of the column to start dragging it. - Release the mouse button. - Bug: the carousel jumps to the first slide. task-3006831 closes odoo/odoo#113904 X-original-commit: f22444d6 Signed-off-by:
Benoit Socias (bso) <bso@odoo.com>
-
Benjamin Vray authored
Before this commit, on iPhone 8 (and lower) it was possible to scroll the page to the right when there were animated elements in the page. A "transform: none" property was applied to non-visible animated elements to prevent the page from expanding to the right. However, this property wasn't properly overriding keyframe transforms on iPhone 8 and lower. This has been resolved by adding "overflow-x: hidden" on the wrapwrap in case "transform: none" is not applied correctly. Steps to reproduce the issue: - On iPhone 8 (Safari). - Drop a few snippets into a page. - Add a "Fade In-Right" animation to a column of a snippet. - Scrolls the page so that the animated element is invisible. - Bug => a horizontal scrollbar appears and it is possible to scroll the page to the right. opw-3165651 closes odoo/odoo#111750 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Dhaval Baraiya authored
Before this commit: When copy-pasting from Discord into Notes, get a text with color and background color. But when clicking on the trash icon inside the toolbar to remove the background color, it doesn't remove the background color. After this commit: Allowed to remove background color from text using trash icon. Task-2889682 closes odoo/odoo#96501 Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
-