- Jan 28, 2021
-
-
Laurent Stukkens (LTU) authored
Prior to this commit: * All employees were treated the same way regarding the contractual point of vue. From this commit on: * Three employee types will be created: - Employee, which is supposed to be under contract - Student & Contractor which are both not supposed to have an employee contract (but are still use the employee as working for the company) * Employee view and Contract History will take this consideration into account. closes odoo/odoo#64931 Taskid: 2446000 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Jan 27, 2021
-
-
Laurent Stukkens (LTU) authored
As we were introducing changes in web_grid (enterprise) we realized that no documentation on the grid view was yet available in the community documentation. This commit moves the the existing documentation from enterprise to the community doc repository and adds the new attributes introduced in the realte enterprise PR. task-2271628 Closes #65081 Related: odoo/enterprise#12127 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Jan 28, 2021
-
-
Aurélien Warnon authored
Follow-up of 13a45447 Where we fixed the portal *list* of opportunities but did not notice that the associated *form* also had the same issue. To recap the issue: When you remove the 'company_id' on a crm.lead, you also remove the computed 'company_currency'. When trying to view this kind of leads in the website_crm_partner_assign portal form page, it would raise an error while trying to display the planned_revenue in the missing currency. Now, we display the number without any currency sign, which is a "best effort" solution, just the same as on the crm.lead form view. So it will look like "9000 at 47%" instead of "$9000 at 47%". Task-2444539 closes odoo/odoo#65199 X-original-commit: c3007ac6 Signed-off-by:
awa-odoo <awa-odoo@users.noreply.github.com> Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Goffin Simon authored
Steps to reproduce the bug: - Go to Accounting (module)> Accounting (menu) > Journal Entries - Create a new account move M - Remove the default journal Bug: Impossible to set a journal opw:2445553 closes odoo/odoo#65200 X-original-commit: cd1823a1 Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com> Signed-off-by:
Simon Goffin (sig) <sig@openerp.com>
-
- Jan 27, 2021
-
-
Swapnesh Shah authored
Use correct field label for Warehouse Followup on dd2aaf0b closes odoo/odoo#65164 Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-
- Jan 22, 2021
-
-
Yannick Tivisse authored
The field is defined on the private address (address_home_id) of the employee. It would be more convenient to allow the configuration directly on the employee view and to allow the employee to change it by himself. closes odoo/odoo#64949 Taskid: 2410407 Related: odoo/enterprise#15918 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Jan 28, 2021
-
-
Mohammed Shekha authored
before this commit: when graph measure field has string attribute and apply that field as measure then graph measure label uses field definition string instead of view string, due to this measure dropdown and graph measure label has different strings. after this commit: when applying measure graph measure label will display field string defined on view first else field definition string will be displayed. task-2264636 closes odoo/odoo#63422 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
Nicolas Lempereur authored
Let's assume the following situation: in a form view, there is a one2many field A displayed as a list (non editable). In the list, there is another one2many field B displayed with no widget (it basically displays "X records"). In A's form view, B is also displayed, but this time as a list. There is an onchange on the main form view that adds a line in A, (and simply sets B to [[5]], i.e. 'No record'). Before this commit, if the user opened the newly added sub record in A, and clicked on 'Add a line' of B, it crashed. The cause of the crash was that the wrong viewType was used to create the new (default) record in B: it used the original viewType, which was undefined (B is displayed with no widget in A's list). With this commit, we use the viewType of B that is used to edit it, in this case 'list'. In the slighlty different scenario where B is displayed with widget many2many_tags in A's list, there were no crash, but wrong fieldNames were sent to the 'default_get' RPC. As a consequence, default values for fields in B's list were potentially not loaded. opw-2422806 closes #64793 closes odoo/odoo#65186 X-original-commit: 4212f84d Signed-off-by:
Géry Debongnie (ged) <ged@openerp.com> Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com> Co-authored-by:
Aaron Bohy <aab@odoo.com>
-
Aurélien Warnon authored
This commit adds user feedback in the form of a message logged on the related document (mailing.mailing) when testing a mailing/sms. Before this change, when sending an email to your own mailbox for testing purpose, or when sending an SMS to your phone, you did not get any interface feedback on whether it worked or not. Now, a logged message will show if it's successful and if not, explain why it failed with a short error message (no IAP credits / misconfigured outgoing mail server / ...). In addition, email and phone inputs are now split on the '\n' character instead of a coma, which allows easier validation of the email addresses. Task-2375526 closes odoo/odoo#63421 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Jan 27, 2021
-
-
Benjamin Vray authored
Before this commit, when you dropped a snippet using the move button in a modal. The modal closed after the drop. This commit allows to define an element in which to destroy the editors. Part of https://github.com/odoo/odoo/pull/61998 task-2312878 closes odoo/odoo#65166 X-original-commit: b7d522e9 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Benjamin Vray authored
Before this commit, it was not possible to scroll a popup with a dragged snippet. Part of https://github.com/odoo/odoo/pull/61998 task-2312878 X-original-commit: edf28efe
-
Benjamin Vray authored
Before this commit, open invisible elements were not closed before being deleted. This created issues like the 'modal-open' class wich was not removed from the body when removing a modal. Part of https://github.com/odoo/odoo/pull/61998 task-2312878 X-original-commit: a67f7df3
-
Benjamin Vray authored
When a modal is open, allow the drop of a snippet only in this modal. Part of https://github.com/odoo/odoo/pull/61998 task-2312878 X-original-commit: 2f38816f
-
Benjamin Vray authored
Before this commit, when scrolling a snippet popup, the overlay was not updating its position. So now, we use addEventListener instead of jQuery for the scroll event on the scrolling element because we need the 'capture' parameter. Setting this capture parameter to true allows us to take advantage of event bubbling for events that otherwise don’t support it. Part of https://github.com/odoo/odoo/pull/61998 task-2312878 X-original-commit: e734df61 Co-authored-by:
Samuel Degueldre <sad@odoo.com>
-
Benjamin Vray authored
- The modal content of the popup snippet had a maximum height of 100% because of a global rule on modals. But, here, the scrollable element is not the modal so we dont want this rule. - For the popup to be scrolled correctly we also had to remove the rule that adds a fixed 100% height on modal-dialog and we added a min-height of 100% to correctly display the popup in the middle position. Part of https://github.com/odoo/odoo/pull/61998 task-2312878 X-original-commit: 9cd8c15e
-
Thibault Delavallée authored
This is not really a big issue but let us have correctly defined rules. Spotted during Task ID-2300230 closes odoo/odoo#65160 X-original-commit: ac03898e Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Andrea Grazioso (agr-odoo) authored
Generate a coupon code, print it opw-2444242 closes odoo/odoo#65118 X-original-commit: f88bc1b3 Signed-off-by:
agr-odoo <agr-odoo@users.noreply.github.com>
-
Nicolas Galler authored
Behavior prior to this commit: When a PO is generated (via reordering rule, mto rule, or manual replenish), the description on the PO line includes the internal notes. Behavior after this commit: The description on the PO line does not include the internal notes. Note: Per c324526a, the description on the picking also does not include the internal notes (anymore), and the test has been updated to reflect that. opw-24222438 closes odoo/odoo#64883 X-original-commit: 5db67fb2 Signed-off-by:
Nicolas Galler <ngaller@users.noreply.github.com>
-
Nasreddin (bon) authored
Issue - Install "Accounting" module - Ensure there is more then 20 journals ( or must do a zoom-in on the browser) - Go to Accounting -> Reporting -> Profit and Loss - Click on "Journals" filter Not all journals are displayed. Cause No scroll or max-height set on dropdown. Solution Set a max-height and an overflow:auto on `.dropdown-menu` and `o_dropdown_menu` css classes. opw-2430101 closes odoo/odoo#65167 X-original-commit: cf351ae4 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com> Signed-off-by:
bon-odoo <nboulif@users.noreply.github.com>
-
qsm-odoo authored
The 'custom' key was not working anymore as a key to exclude the ability to choose a custom color from a color palette widget. It was thus appearing for choosing the transparent color for over-the-content headers... which is not possible to save right now. Part of https://github.com/odoo/odoo/pull/65139 closes odoo/odoo#65154 X-original-commit: 8f9eb57d Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
qsm-odoo authored
*: web_editor Users can choose one of their color combination to apply on the header. If they then choose to make the header transparent over the content for a specific page, the color of buttons & other components in the header should be reset to the default website color combination's colors as the header component are now appearing over the default content. Part of https://github.com/odoo/odoo/pull/65139 X-original-commit: 2172295c
-
nounoubensebia authored
Improve various event views, notably: - Display ticket description on frontend even if there is only a single ticket - Do not display search count on frontend agenda page when there is nothing searched - When performing a search, only check the text content of the track HTML elements and not the entire HTML content, otherwise it would lead to incorrect search results In addition, we now also display an human readable error message when the user tries to delete tickets that are linked to registrations. This will help identifying the problematic tickets and remove the associated registrations if necessary. Task-2427778 closes odoo/odoo#64187 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Adrien Widart authored
When checking the replenishments, it sometimes creates a new reordering rule for a product while another already exists. To reproduce the error: (Need purchase,sale_management) 1. Create a product P - Must be storable - In Purchase tab, add a vendor 2. Create a reordering rule for P - Trigger: Manual - Min: 0 - Max: 0 3. Create+Confirm a SO with P 4. Go to Inventory > Operations > Replenishment 5. On P-product's line, click on "Order Once" 6. Confirm the generated RfQ 7. Repeat 3-4 Error: There are now two lines for P-product. A second reordering rule has been automatically created but the first one does already the job. OPW-2431780 closes odoo/odoo#65142 X-original-commit: a9d5bd2e Signed-off-by:
Adrien Widart <adwid@users.noreply.github.com>
-
Denis Ledoux authored
Otherwise, this can raise the below issue during an upgrade (`-u`): ``` File "/home/odoo/src/odoo/13.0/odoo/modules/registry.py", line 369, in init_models model._auto_init() File "/home/odoo/src/odoo/13.0/odoo/models.py", line 2529, in _auto_init new = field.update_db(self, columns) File "/home/odoo/src/odoo/13.0/odoo/fields.py", line 2456, in update_db return super(Many2one, self).update_db(model, columns) File "/home/odoo/src/odoo/13.0/odoo/fields.py", line 857, in update_db self.update_db_notnull(model, column) File "/home/odoo/src/odoo/13.0/odoo/fields.py", line 897, in update_db_notnull model._init_column(self.name) File "/home/odoo/src/odoo/13.0/odoo/models.py", line 2455, in _init_column value = field.default(self) File "/home/odoo/src/odoo/13.0/addons/utm/models/utm.py", line 28, in <lambda> default=lambda self: self.env['utm.stage'].search([], limit=1), File "/home/odoo/src/odoo/13.0/odoo/models.py", line 1648, in search res = self._search(args, offset=offset, limit=limit, order=order, count=count) File "/home/odoo/src/odoo/13.0/odoo/models.py", line 4497, in _search self._cr.execute(query_str, where_clause_params) File "/home/odoo/src/odoo/13.0/odoo/sql_db.py", line 173, in wrapper return f(self, *args, **kwargs) File "/home/odoo/src/odoo/13.0/odoo/sql_db.py", line 250, in execute res = self._obj.execute(query, params) psycopg2.errors.UndefinedColumn: column utm_stage.sequence does not exist LINE 1: SELECT "utm_stage".id FROM "utm_stage" ORDER BY "utm_stage" ``` upg-5396 closes odoo/odoo#65135 X-original-commit: 9294c1dc Signed-off-by:
Denis Ledoux (dle) <dle@odoo.com>
-
Sébastien Theys authored
task-2447695 closes odoo/odoo#65134 X-original-commit: 8668b3ff Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Rémy Voet (ryv) authored
To reproduce, product A in AVCO: - Buy 2 product A at 1.00 $ - Buy 1 product A at 1.01 $ - Sell 3 product A. - The stock valuation won't be correct: still remain 0.01 in stock without quantity and the svl related to the sell have a value of 3.00 (instead of 3.01) To fix: In case of AVCO, add the rounding error value to the out stock move layer. closes odoo/odoo#65117 X-original-commit: f6b019fc Signed-off-by:
William Henrotin <Whenrow@users.noreply.github.com>
-
Alexandre Kühn authored
Task-2447922 closes odoo/odoo#65126 X-original-commit: efafef71 Signed-off-by:
Sébastien Theys (seb) <seb@odoo.com> Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Adrien Widart authored
When synced with Google, if a user adds an event to Odoo Calendar, both Google and Odoo will send an invitation to attendees. To reproduce the error: (Need mailcatcher) 1. Sync Odoo Calendar with Google Calendar 2. Create an event in Odoo Calendar - Add at least one attendee who has an email address 3. Save Error: Odoo's server sends an email. When synced, it should not, it should let Google in charge of emails sending. (Similar to #62383) OPW-2440485 closes odoo/odoo#65125 X-original-commit: c0a2729d Signed-off-by:
Adrien Widart <adwid@users.noreply.github.com>
-
Julien Castiaux authored
closes odoo/odoo#65112 Task: 2368911 Signed-off-by:
Julien Castiaux <Julien00859@users.noreply.github.com>
-
- Jan 25, 2021
-
-
Suhani Modi authored
Right now, the default invoice policy policy for the products is set to 'delivery'. However, in the case of event ticket products, usually you don't really handle the "delivery" of the ticket. It's most likely to be sent by email automatically. With this commit, the invocing policy for the default ticket product is set to 'order' to ease inovicing the SO. Apart from default product, the onchage method for 'event_ok' is adapted for setting the correct invoice policy and product type. Task Id : 2243915 closes odoo/odoo#63725 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Jan 27, 2021
-
-
Sébastien Theys authored
task-2447939 closes odoo/odoo#65120 X-original-commit: 65ca2b2c Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Jorge Pinna Puissant authored
- Install purchase and stock; - Activate Units of Measure (uom); - Create a new storable product; - Choose a different uom for: 'Unit of Measure' (e.g., Dozens) and 'Purchase Unit of Measure' (e.g., Units); - Update the Cost (e.g. $ 300.00 per Dozens) - Create a PO; - Add the product. Before this commit, the price on the PO will be 300 and the unit of measure will be 'Units'. Now, the price will be adapted to the 'Purchase Unit of Measure', in this example it will be $25.0 per Unit. opw-2439506 closes odoo/odoo#65119 X-original-commit: 27d251a1 Signed-off-by:
Jorge Pinna Puissant (jpp) <jpp@odoo.com>
-
- Jan 19, 2021
-
-
Jalpesh Patel authored
closes odoo/odoo#64739 X-original-commit: 5495808c Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
- Jan 22, 2021
-
-
Xavier Dubuc authored
task-2377882 closes odoo/odoo#64614 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
- Jan 27, 2021
-
-
Xavier Dubuc authored
task-2377440 closes odoo/odoo#61469 Signed-off-by:
Alexandre Kühn (aku) <aku@odoo.com>
-
Adrien Widart authored
If a product is a kit and has a storable component, if this component is already ordered (with sufficient quantity), when running the scheduler, the ordered quantity of this component will still be increased. To reproduce the error: 1. Create two products P_kit and P_compo - Both are storable products - P_compo must have at least one vendor 2. Create a BoM for P_kit: - Must be a kit - Add P_compo to components 3. Set a reordering rule for P_kit 4. Inventory > Operations > Run Scheduler 5. Go to Purchase and find the generated RfQ - The ordered quantity is correct 6. Repeat 4-5 Error: This time, the ordered quantity is incorrect. While you don't have any P_kit on hand, each time the scheduler is run, the ordered quantity will increase. A similar issue has already been fixed: #63891. The original commit targets the version 13, but the fix has also been applied to v14 (#64277). However, here the case is slightly different: the user run the scheduler twice while the first RfQ is not yet confirmed and received. In such a case, the scheduler must also check the "quantity in progress". In version 14, it seems nothing computes this quantity for the kits. OPW-2421841 closes odoo/odoo#65100 X-original-commit: f53ab550 Signed-off-by:
Adrien Widart <adwid@users.noreply.github.com>
-
Pierre Masereel authored
For now, when you are selling products in the point of sales, the stock is affected once the order is validated or the session closed. But in some case, you don't have the product in your store, and you have to plan a delivery for the order. To be able to plan a delivery, you can now choose the warehouse in POS Config and the routes of your warehouse will be applied. You can also set a specific rule on your POS Config if you've enabled the multi-step-routes in the inventory module closes odoo/odoo#58506 Task-id: 2082104 Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-
- Jan 26, 2021
-
-
Jacky (trj) authored
Adjustment of a previous commit b1dff85a It is possible for the argument to be something else than `undefined` or an array. We're adding a check to prevent an error to occur in that case. closes odoo/odoo#65098 Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-
qsm-odoo authored
The regex was updated in JS with [1] but its python counterpart was forgotten during forward-port. [1]: https://github.com/odoo/odoo/pull/46898 closes odoo/odoo#65087 X-original-commit: 8d0b8268 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Ivàn Todorovich authored
closes odoo/odoo#65086 X-original-commit: 7c6fe756e66aa98b4df5dd2f82baca81c4fc70a7 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-