- Nov 28, 2022
-
-
Tommy (tong) authored
closes odoo/odoo#106161 X-original-commit: 0ac1fd90 Signed-off-by:
Arnold Moyaux (arm) <arm@odoo.com>
-
Romeo Fragomeli authored
In kanban view, the columns are in a flex container and as there is no specific flex rules on the quick create column and is shrink by default. So when the new column is above the edge of the viewport, it starts to shrink. To avoid this bug we have added the same flex rules has the kanban column. Steps to reproduce: * Open Note * Create many new column => BUG text wrapped when the new column reach the width of the viewport. closes odoo/odoo#106549 Signed-off-by:
Pierre Paridans (app) <app@odoo.com>
-
Patrick Hoste authored
Before this commit when creating a mailing contact with a mailing list opt_out at creation the unsubscription_date wasn't set. Indeed, from the mailing contact view the mailing list uses an editable list that passes all the values at create even when not set contrary to when one update the contact only the changed values are passed. This commit fix this issue. Task-3070852 closes odoo/odoo#106260 X-original-commit: d6758919 Signed-off-by:
Warnon Aurélien (awa) <awa@odoo.com> Signed-off-by:
Hoste Patrick (pko) <pko@odoo.com>
-
Nicolas Bayet authored
Because of css limitation, the child of a parent that define a text-decoration cannot "neutralize" that decoration defined by its parent with a css property (ie. the text-decoration cannot be overridden). When a block define an inline style or any tag that have a class, the method `formatSelection` tries to "neutralize" the style by calling `addNeutralStyle`. As it is impossible to "neutralize" the style for underline nor strikeThrough, there is no method `addNeutralStyle` defined for those properties. Before this commit the method `formatSelection` was crashing because `addNeutralStyle` was not defined. Task-3002123 closes odoo/odoo#106632 X-original-commit: ce068a31 Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
-
Jérôme Hellinckx authored
Before this commit: 1. Create PO with quantity 10, confirm (creates receipt-1) 2. Receive 2 quantities on first receipt (receipt-1), backorder (receipt-1 is 'done', creates receipt-2) 3. Receive 3 quantities on second receipt (receipt-2), backorder (receipt-2 is 'done', creates receipt-3) 4. Change quantity to 5 in PO 5. An exception is created on all receipts (1, 2 and 3) In the scenario above, receipt-1 and receipt-2 are partial receipts that are set to 'done'. It is not necessary to create an exception in these receipts when the quantity is changed to less than originally expected in the PO. Since the system checks that the new quantity has to be equal or greater than the received quantities, the already received quantities cannot be impacted. After this commit: The exception is only propagated to the receipts that are not done. e.g. in the example above, an exception appears only in receipt-3. task-2648209 resolves #76297 closes odoo/odoo#106627 X-original-commit: d6fad232 Signed-off-by:
William Henrotin (whe) <whe@odoo.com>
-
Florent de Labarre authored
Before this PR Odoo don't pre-search on location. closes odoo/odoo#106604 X-original-commit: 71a3b5b2 Signed-off-by:
William Henrotin (whe) <whe@odoo.com>
-
niyasraphy authored
closes odoo/odoo#104664 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Jinane Maksoud authored
Only active boms should be returned by the domain even if they match a product id. closes odoo/odoo#106608 X-original-commit: 2a73890d Signed-off-by:
William Henrotin (whe) <whe@odoo.com>
-
Donatas authored
closes odoo/odoo#106606 X-original-commit: 3772da47 Signed-off-by:
William Braeckman (wbr) <wbr@odoo.com>
-
Lucas Lefèvre authored
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/f83585f2 [FIX] InternalViewport: compute the actual visible rect of a zone closes odoo/odoo#106578 Signed-off-by:
Pierre Rousseau (pro) <pro@odoo.com>
-
Lucas Lefèvre authored
Module `spreadsheet_dashboard_hr_expense` depends on `hr_expense` but uses the field `sale_order_id` which is only introduced with `sale_expense`. `spreadsheet_dashboard_hr_expense`'s dependencies are wrong. To fix the issue: 1) we remove references to `sale_order_id` in `spreadsheet_dashboard_hr_expense`. Note that it won't be applied to existing databases. The spreadsheet would need to be updated "by hand" by deleting the cells, the filter and the pivot object. 2) we introduce a new auto_install module with the correct dependencies to restore the current dashboard. On the master branch, `spreadsheet_dashboard_hr_expense`'s dependencies is correctly changed to `sale_expense` by odoo/odoo#105148 closes #103899 closes odoo/odoo#104125 Signed-off-by:
Rémi Rahir (rar) <rar@odoo.com>
-
Valentin Vallaeys (vava) authored
There was a typo in the color_field xml not allowing to disable the pop-up in case of readonly. A test validates the feature is active. The color_field now displays the transparent symbol (instead of black color) in case the color is undefined. The product configurator also displays the transparent symbol for undefined non-custom colors. task-3013110 closes odoo/odoo#103478 Signed-off-by:
Victor Feyens (vfe) <vfe@odoo.com>
-
Kartik Chavda authored
Before this commit Projects in overtime filter does not return project as expected after project has allocated hours to set on then. This commit fixes by taking allocated hours into account to search for project that are in over time. task-3000817 closes odoo/odoo#106428 X-original-commit: a6d652a85a428a28d3d6eab25e591c08809c2a34 Signed-off-by:
Laurent Stukkens (ltu) <ltu@odoo.com>
-
dbkosky authored
This module implements communication with the fiscal device for submitting invoices to the KRA (Kenya Revenue Authority). The device supported in this module is the Tremol G03. -- COMMUNICATION FLOW SUMMARY -- 1. "Send Invoice To Device" on account move is clicked 2. l10n_ke_action_cu_post triggers a client action, with serialised invoice data. (more details below) 3. The client action uses the 'post_send' function defined in javascript to forward the request to the /hw_proxy/l10n_ke_cu_send endpoint on the proxy server (more details below) 4. The proxy server wraps the serialised data with the appropriate bytes (for instance, a couple of a checksum bytes), and sends them to the device through serial communication (more details below) 5. The data returned from the fiscal device is communicated back in the request. The client action 'post_send' then triggers the 'l10n_ke_cu_response' with an rpc call, with the aforementioned data from the fiscal device (more details) 2. The module l10n_ke_edi_tremol inherits from the account_move model in order to provide methods for serialising the data of the account_move and sending it to the proxy server. Fields have been added to the product template to define the HS Code and HS Name (data which is required by the KRA in some circumstances). A field has also been added to the company defining the address of the proxy server. The fields added on the account move are populated by the data returned by the fiscal device, this includes the device serial number, the invoice number on the device, the URL of the invoice on the KRA web portal, and the date/time the invoice was signed. 3. Communication between the client database and the proxy server is defined using a client action defined in l10n_ke_edi_tremol/static/src/js/send_invoice.js. This allows users who aren't on-premise to communicate with the device, provided the proxy is accessible on the network that the user is on. 4. The proxy server is an intermediary server that should be connected to the tremol G03, and running the IOT drivers from hw_drivers. The driver that supports communication between the proxy server and the fiscal device has been defined in this commit inside of hw_drivers/iot_handlers/drivers//L10nKeEDISerialDriver.py. The proxy server can be run on the IOT box, or on odoo community by running: ./odoo-bin addons-path=.... -d dbname --load hw_drivers --proxy-mode ** all messages are encoded/decoded with cp1251, as defined in the protocol. The company vat code is sent along with the request to compare that sent with that of the device. The 'serial_number' of the device is always returned along with the request, since it is required for the invoice details, and it is retrieved as part of the query to find the registered VAT code on the device. --- DATA and VIEWS --- product_view: adds HS Name, and HS Code on the product product and product template form views. report_invoice: adds to the invoice qweb template such that a section including the fiscal device / KRA details is included at the bottom of the invoice when the invoice is rendered as a pdf. res_config_settings_view: adds makes the proxy address field editable from the config settings. account_move_view: add a tab for the tremol device details and the qr code on the account move form view. The KRA invoice number is also added as an optional field on the account move tree view, and the invoice search view is inherited to make this field searchable too. (l10n_ke) account_tax_report_data, account_tax_template_data: The tax report is defined for Kenya, and tax tags that link to the lines on this tax report are defined on the existing taxes. This allows the classification of the tax, between zero-rated and exempt, during the serialisation. closes odoo/odoo#106653 Task-id: 2950308 Signed-off-by:
Josse Colpaert <jco@odoo.com>
-
- Nov 27, 2022
-
-
Florent de Labarre authored
In large database with lot of user, the browser don't respond. closes odoo/odoo#106638 X-original-commit: 0f597b3a Signed-off-by:
Romain Derie (rde) <rde@odoo.com>
-
Odoo Translation Bot authored
-
- Nov 25, 2022
-
-
Walid HANNICHE (waha) authored
Steps to reproduce: - edit RFQ model with studio - add a toggle widget to the product list - activate/deactivate the toggle multiple times on different products Bug: sometimes the element on the widget is undefined when trying to rerender Fix: check the element is defined before trying to render it opw-3013024 closes odoo/odoo#106607 X-original-commit: 1b09a631 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com> Signed-off-by:
Walid Hanniche (waha) <waha@odoo.com>
-
Antoine Dupuis (andu) authored
When creating draft deferred entries in a reconcilable account, we should not attempt to reconcile them, because only posted entries can be reconciled. closes odoo/odoo#106592 X-original-commit: edaf019e Signed-off-by:
William André (wan) <wan@odoo.com>
-
Guillaume (gdi) authored
In this commit [1] (merged in 16.0) a bugfix has been made in the `removeSlide` function but this one should have been applied on all supported versions because the bug it fixes is present on all versions. The bug it fixes is the following: - Drop a carousel block on a page - Remove the *first* slide => There is no active indicator. Moreover, the bugfix made in 16.0 [1] introduces another error: when a slide is removed from the carousel the indicators are not in a correct state anymore. Following the same steps with the changes of [1]: - Drop a carousel block on a page - Remove a slide => Indicators are no longer consistent with the slides so tracebacks appear during the carousel slides. The list of indicators must have on each element a `data-slide-to` attribute which must reflect the position of the slide (starting with 0). So this commit is to backport the fix from 16.0 [1] to 14.0 and to fix the new bug that [1] introduces. [1]: https://github.com/odoo/odoo/commit/f7055d3dbabfbe471f490bd65c2032f5251f3f37 task-3040931 opw-3051615 closes odoo/odoo#106634 X-original-commit: 16405934 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Guillaume (gdi) authored
Before this commit, the buttons to scroll to the next element might not work if the next element was invisible. Steps to reproduce the bug fixed by this commit: (Note that these steps are only reproducible from 15.0. We decided to merge this fix in 14.0 to be custo-friendly) - Install two languages on a website - Drop a cover block (1), with a height of 100% and a scroll down button - Drop a new block (2) only visible for language B below the block 1 - Drop a new block (3) visible for everyone below the block 2 - Save and go to the site in language A - Click on the scroll down button => No scroll at all while the user expects to scroll to the block visible to everyone (3). This commit fixes that by making the user scroll down to see the next visible element. opw-2967706 closes odoo/odoo#106474 X-original-commit: 076d7ac7 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Thibault Delavallée authored
PURPOSE Overall cleaning of subscription and exclusion management code from portal. SPECIFICATIONS Unsubscribe page uses a custom layout allowing a portal-like behavior for mass mailing without any link to website or portal. However it currently uses the complete backend assets and crashes when trying to display the unsubscription page, due to missing assets, modules, ... When having frontend pages like the one used in mass mailing it should rely on frontend assets with some custom assets if necessary for the page to be correctly displayed. In this commit we choose to use frontend assets like other portal-like pages. Mailing layout now uses the frontend layout defined in web and adds its own subset of assets (mailing_assets). Some custom css is moved or added as well as few tweaks to ensure layouting is globally the same as before this commit. Task-3082546 (Mass Mailing: Fix assets and unsubscribe page) closes odoo/odoo#106595 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Mathieu Duckerts-Antoine authored
When a one2many is used as a search default, its label has to be fetch via a name_get in order to get a correct display of the facet corresponding to that field in the search bar. It turns out that the search model did not wait properly the return of the name_gets before to start to compute the facets. closes odoo/odoo#106575 X-original-commit: 95ef4253 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com> Signed-off-by:
Mathieu Duckerts-Antoine <dam@odoo.com>
-
Mathieu Duckerts-Antoine authored
- Currently the label of the lines is not limited to the number of characters. When the user gives a name that is too long, the graph will not be displayed. - This commit limits the number of labels, if exceeded it will display as ... closes odoo/odoo#106564 X-original-commit: d4b91b6c Signed-off-by:
Mathieu Duckerts-Antoine <dam@odoo.com>
-
Antoine Guenet authored
When rendering, the form view looks for the element it should autofocus, and defaults to the first text input it finds. This extends that default behavior to the first textarea or contenteditable element. closes odoo/odoo#106537 Signed-off-by:
David Monjoie (dmo) <dmo@odoo.com>
-
Antoine Guenet authored
When rendering a form view that has a truthy `default_focus` attribute, the renderer looks for the element in its tree that has its `name` as `id`. However in the case of `html_field` it couldn't find it since `html_field` failed to apply that `id` to its focusable element (the editable root). This adds the `id` to the editable root when rendering the element in `wysiwyg`, and also directly applies `contenteditable` to it so the `focus` method actually does what we expect it to, even though we are waiting for `HtmlFieldWysiwygAdapterComponent` to be mounted before actually instantiating the editor itself. task-3073096 Part-of: odoo/odoo#106537
-
Romain Derie authored
With commit [1] we refactored the cookies bar to let the user decide if he wants to accept the cookies (and/or only part of it). Before that commit, the `website_cookies_bar` cookie could only hold `true` as value, which now is holding an object like `{"required": true, "optional": false}`. This creates an issue if a user is coming from a previous version with `true` as cookie value because since the refactoring it will crash both in JS and PY because `in` instruction with a boolean value will fail in both languages. The decision taken here is simply to remove the cookie if we face such a case so the user can decide again what he wants (since there is more choices now). It also means that we won't be holding an outdated value in the cookie any longer. [1]: https://github.com/odoo/odoo/commit/2cbda6c98ee947cea1d06c09880eee8c758304a8 opw-3074303 closes odoo/odoo#106476 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Arnold Moyaux authored
This reverts commit 3ebe1185. The code ECC200DataMatrix already exist in reportlab (that is already a dependance). Some differences: - ECC200DataMatrix only supports a Type 12 (44x44) C40 encoded data matrix. (214 alphanumeric characters and 14 to 27% of error correcting rate) - pylibdmtx support more type and add a default to 24x24. So it means a (52 characters and 20 to 35% error correcting rate). It's also smaller to display. We consider the gain too small compare to maintain an extra lib. It also fix blured datamatrix in stock report if they contains too much data. *If you want to test 001234560000000018 is a valid sscc for package closes odoo/odoo#106457 X-original-commit: 00a85de0d43a98a91f9199ccb388140fb79be647 Related: odoo/enterprise#34354 Signed-off-by:
William Henrotin (whe) <whe@odoo.com> Signed-off-by:
Arnold Moyaux (arm) <arm@odoo.com>
-
amdi-odoo authored
Purpose ======= Prevents auto save of not dirty forms with text fields on page reload and tab/browser closing. Specifications ============== The text field default value is making Odoo consider the form as dirty even when it's not which triggers auto saving for not dirty forms. Change the text field widget setDirty condition to prevent considering empty textarea string dirty. Typically, if the previous value was false, false and empty string should be considered as the same value. Task-3031570 closes odoo/odoo#106439 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
niyasraphy authored
closes odoo/odoo#106385 Signed-off-by:
Kevin Baptiste <kba@odoo.com>
-
Shawcker authored
To reproduce: 1) activate qr code on invoices 2) print an invoice with a qr code 3) print a followup letter, and attach the printed invoice -> error due to missing 'qr_code_urls' variable in invoice template This can happen with any report calling this template, thus we decided to set the qr_code_urls inside the `report_invoice_document` template directly, so we never need to set it again in _get_report_values() This allows to remove the following report classes (done in master due to stable policy) - `ReportInvoiceWithoutPayment` - `ReportInvoiceWithPayment` - `PosInvoiceReport` (not even used anywhere) closes odoo/odoo#106448 Signed-off-by:
Brice Bartoletti (bib) <bib@odoo.com>
-
Florent de Labarre authored
Before this commit it is possible to archive a product if the current user have no access to all reward (multi company rules). closes odoo/odoo#106559 X-original-commit: 5bafee8d0479367fd25b2fa2daefd4374ab38211 Signed-off-by:
William Braeckman (wbr) <wbr@odoo.com>
-
Valentin Vallaeys (vava) authored
closes odoo/odoo#106552 X-original-commit: d9856868 Signed-off-by:
Antoine Vandevenne (anv) <anv@odoo.com> Signed-off-by:
Vallaeys Valentin (vava) <vava@odoo.com>
-
Walid HANNICHE (waha) authored
Bug: - enable wave transfers - Kanban view should not have a create button Fix: removed the button opw-2978078 closes odoo/odoo#106551 X-original-commit: 3bc3631d Signed-off-by:
Adrien Widart <awt@odoo.com> Signed-off-by:
Walid Hanniche (waha) <waha@odoo.com>
-
William Henrotin authored
First correction: replace call to `read_group` to `_read_group` in order to avoid useless joints on table product_template and ir_translation when the grouping key is a Many2One. Second correction: add an index on workorder's `state` field. The get_conflicted_workorder_ids() method search for ready workorders that are in conflict relate to their planning. The state value is searched to many times to not index it closes odoo/odoo#106536 Task: 2852423 X-original-commit: e94937b6 Signed-off-by:
Arnold Moyaux (arm) <arm@odoo.com> Signed-off-by:
William Henrotin (whe) <whe@odoo.com>
-
Hubert Van de Walle (huvw) authored
Use case: in the reconciliation widget, we need to know when the pager is updated before the next render because we need to select the appropriate id to use. cf the following PR: https://github.com/odoo/enterprise/pull/33631 opw-3031131 closes odoo/odoo#105738 Related: odoo/enterprise#33631 Signed-off-by:
Georis François (fge) <fge@odoo.com>
-
niyasraphy authored
Do like other enterprise modules in Odoo and display missing main applications from enterprise in community: social and knowledge. SPECIFICATIONS Create `ir.module.module` records for knowledge, social and appointment apps in Odoo Community, so that users searching for those apps can see them in the correct category with the correct icon. They can then be redirected to Odoo website for more information about the module or an upgrade plan to use the enterprise version. Knowledge * create the record * use the module_category_productivity category Appointment * update the record to use the new icon * use the module_category_marketing category (instead of sales) Social * create the record * use the module_category_marketing category Task-3054412 closes odoo/odoo#103324 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Alexandre Kühn authored
The session page could not be open in non-debug due to create_date being restricted to debug. This field is required for ordering of records. There was no reason to restrict to just have it only in debug, so we just make it available at any time. closes odoo/odoo#106535 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com>
-
niyasraphy authored
Activate Product variants and create a new products with attributes Legs, Size and color. Now enable Variant Grid Entry and Purchase Agreements from purchase settings and now create a Blanket Order from Purchase -> Orders -> Blanket Orders with any products from above created variants. Confirm the created blanked order and click on New Quotation, now a new RFQ will be created, and click on add an item button and select the product we have created before, now Choose Product Variants matrix will be opened. Enter some random quantities in multiple lines and click on confirm button. Exception will be raised closes odoo/odoo#106507 Signed-off-by:
Tiffany Chang <tic@odoo.com>
-
Jigar Vaghela authored
mrp === - no time has been recorded on operations then give warning with apply button - do not allow to mass edit UOM in any manufacturing state - set value of lot/serial from MO and set read only on unbuild from MO - remove "archive operation" icon repair ====== Currently it is not possible to select a return on a repair order unless save it first. so after this commit user can able to select it without save it. only show picking related to selected product closes odoo/odoo#102596 Task: 2845380 Related: odoo/enterprise#34381 Signed-off-by:
William Henrotin (whe) <whe@odoo.com>
-
Odoo's Mergebot authored
Purpose ======= Fix the inline input fields which width seems broken because of the new always edit mode. Specifications =========== Web : Introduce new css classes to be added to the input fields in order to constraint their width and avoid white gaps in forms. Event : Limit the size of the confirmed attendees input field in the event form and event type form to display the confirmed attendees message in one line. When using the debug mode, in the event templates, inline the Register Button with its checkbox to avoid line breaks. Mail : Limit the size of the delay count input field in the activity type form and restore the inline display of the schedule message to avoid unnecessary white gaps. CRM : Fix the leads generation form inlined inputs display by reducing the inputs width to match their content display. Fix the lead form view to align the expected revenue with the probability for better UI. Fix the geolocation field and send email button of the Assigned Partner form tab by restoring their inline property. Because of the form grid layout, nested groups had to be used to correctly restore the display. Alternative solutions modify the DOM too much, which could lead to more xpath and inheritance issues. Task-2996467 closes odoo/odoo#102546 See: odoo/enterprise#32460 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-