- Apr 01, 2020
-
-
qho authored
The geolocation service from OpenStreetMap will not be unblocked until a 'meaningful' and identical user-agent added in the request. opw-2221857 closes odoo/odoo#48805 X-original-commit: 9018039b835547ea4adbc32a23901214613a033a Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Apr 02, 2020
-
-
jvm-odoo authored
Issue - Install Accounting & Studio - Accounting > Open studio - Reports > Invoices - Add a Field Column in the table and drag it after "Description" Some elements are shifted, which causes inconsistency in the table Cause In 924ca780 we added a th "source document" with a td containing the value. In bc131c0c we removed the td but not the th. Studio adds hook after each th & td. Since there is th but no td, there is an inconsistency in the hooks. Solution Remove the th from the view to avoid having a useless hook. OPW-2226726 closes odoo/odoo#48798 X-original-commit: 351355c8 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
- Apr 01, 2020
-
-
jvm-odoo authored
Issue - Install website - Create a carousel - Duplicate it The second one doesn't work Cause Because of this override: https://github.com/odoo/odoo/blob/13.0/addons/website/static/src/js/editor/snippets.options.js#L1635:L1637 All duplicate IDs are removed but it should only remove the ID of a duplicated anchor Solution Check if the target has `data-anchor` attribute OPW-2222074 closes odoo/odoo#48790 X-original-commit: 6f0a4f1a Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com> Signed-off-by:
Jason Van Malder (jvm) <jvm@odoo.com>
-
Andrea Grazioso (agr-odoo) authored
- Have a clean V13 db with point_of_sale and account_accountant - General Settings => Accounting => Check "Anglo-Saxon Accounting" (debug mode) - Choose or create a storable product P with category C - Go to category C and set 'inventory valuation' to 'automated' - Open a new POS session PS - Sell product P with qty 1 - Pay - New order - Sell product P with qty -1 (refund) - Pay - Close session PS - Validate session PS Error "You are trying to reconcile some entries that are already reconciled." will popup because the 0 sum AML is already marked as reconciled. This can be fixed by avoiding asking reconciliation when the amount_residual is 0. opw-2177881 closes odoo/odoo#48799 X-original-commit: 2c5ef4ed Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
william authored
opw-2226421 The analytic accounts are not set on creation of a new invoice from a Sale Order, and when they are set, the default should not override the values selected on the SO. This commit reverts what was done in be7d1d75 which basically reverted what was done in 69bf61bb closes odoo/odoo#48793 X-original-commit: 02c75a70 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
jvm-odoo authored
Issue - Preferences > Change your avatar with a big .gif - Install Forum - Go on a question The gif is not resized in the nav and in the post answer box Cause In fact, all gifs are not really resized. They just look fine because there is CSS to handle the case where the server resize does not work. Solution Do as it is done everywhere else, add CSS rules OPW-2223260 closes odoo/odoo#48792 X-original-commit: 35137cea Signed-off-by:
Jason Van Malder (jvm) <jvm@odoo.com>
-
Kevin Baptiste authored
This commit bring back the filters on Project Overview. closes odoo/odoo#48780 Taskid: 2223820 X-original-commit: 047bf7f2c23157db1c6db3eaa650a43ca8404f63 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com> Signed-off-by:
Kevin Baptiste <kba-odoo@users.noreply.github.com>
-
Lucas Lefèvre authored
1) Add a hidden optional field to the timesheet tree view. 2) Try to display that field by checking the checkbox. => the column appears then directly disappears. Asynchronous calls (here: fetching the server time) should always be in the `willStart` method. Task 2204084 closes odoo/odoo#48775 X-original-commit: 39fa08c4d6a1b467b520bdd0f75950d2c33f4a2e Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com> Signed-off-by:
lul-odoo <LucasLefevre@users.noreply.github.com>
-
wan authored
Task 2206699 * All the amounts are now expressed in the company currency - The amounts are taken from debit/credit on the aml - When opening the report for multiple companies, convert in the current company's currency * New default view: - Group by month instead of category - Line chart instead of bar chart - Filter on customers * Remove useless fields: - name - invoice_partner_bank_id - invoice_payment_term_id - residual (including taxes) - amount_total (including taxes) - nbr_lines as it is a generic feature * Rename currency_id to the more correct company_currency_id * Remove useless group_by clause from the SQL query closes odoo/odoo#47066 Related: odoo/upgrade#1021 Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com>
-
- Mar 26, 2020
-
-
hpr-odoo authored
Currently when zoom slowly from right to left on employee image it will not zoom the image. currently to hide the zoom image we used target.width() and the method width gives the width of the selected element (excluding padding, border and margin) so due to border excluded it will hide the zooming image. Aslo the offsetHeight property returns the viewable height of an element in pixels, including padding, border and scrollbar, but not the margin. The reason why the 'viewable' word is specified, is because if the element's content is taller than the actual height of the element, this property will only return the height that is visible. so instead of method width we used method outerWidth which gives width of the selected element (including padding and border, excluding margin). closes odoo/odoo#46619 Co-authered-by:
Mahendra Barad <mba@odoo.com> Task: 2199218 Closes: #46619 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
- Apr 01, 2020
-
-
Christophe Monniez authored
closes odoo/odoo#48737 Signed-off-by:
Xavier Dollé (xdo) <xdo@odoo.com>
-
Pratima Gupta authored
l10n_latam_country_code field is no more needed for account.move object thanks to commit 7edb5c11 Also, since country_code field has been defined in view_move_form, no need to redefine it when it is inherited in l10n_cn module. closes odoo/odoo#48719 Task: 2228210 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
Ravi Gohil authored
Define country_code field in main view to avoid redefining it in every localization whenever it is needed to use in attrs. task: 2228210
-
- Mar 27, 2020
-
-
william authored
Task 2214338 We can now define the tax report recursively. closes odoo/odoo#48508 Related: odoo/enterprise#9534 Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com>
-
- Mar 31, 2020
-
-
jbw authored
Remove groups="base.group_no_one" & set optional to "hide" on "Disc%" to allow displaying discount field when needed. closes odoo/odoo#47558 Task: 2214301 Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com>
-
- Apr 01, 2020
-
-
Adrian Torres authored
Before this commit, a lot of leftover import shims existed in the codebase for py2-py3 compatibility, these are no longer needed since Odoo 13.0+ doesn't support Python 2 anymore and is (finally) in EOL. With this commit, these shims are dropped, making the code cleaner, easier to read and with one less dependency. Queue -> queue -> py2-py3 compatibility xmlrpclib -> xmlrpc.client -> py2-py3 compatibility ConfigParser -> configparser -> py2-py3 compatibility itertools.izip_longest -> itertools.zip_longest -> py2-py3 compatibility urllib -> urllib.request -> py2-py3 compatibility __builtins__ -> builtins -> py2-py3 compatibility _winreg -> winreg -> py2-py3 compatibility mock -> unittest.mock -> merged into CPython The debian/fedora packages and requirements.txt have been updated accordingly closes odoo/odoo#44601 Related: odoo/enterprise#8141 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
-
Mitali Patel authored
Add a new group allowing administrators to remove the ability for users to bulk-export data from the database. It's pretty minor as technically the user can still access the underlying object through the basic methods but it's still a bit of a roadblock. Users can export by default. Task 2170900 closes odoo/odoo#45400 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
-
lbs-odoo authored
The 'Re-Invoice Expenses' (expense_policy) can be visible only if 'Can be Expensed' is true. TASK#2169344 closes odoo/odoo#48525 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
william authored
The moves that have this field set are the reversal of the value of that field. Not the other way around. closes odoo/odoo#48667 Related: odoo/enterprise#3334 Signed-off-by:
Quentin De Paoli (qdp) <qdp@openerp.com>
-
- Mar 31, 2020
-
-
Rémy Baranx (bar) authored
Purpose ======= Having price and discount on quotation template is quite confusing as it is more the job of pricelists. In order to make it more simple for the user, we should remove the fields price_unit and discount from quotation template. Implementation ======== Now, the public price of a product is used instead of the price from the quotation template. If a pricelist exists, it is taken into account as before. + Add new tests to check the sale order template behavior. closes odoo/odoo#47186 Taskid: 47186 Related: odoo/upgrade#972 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Apr 01, 2020
-
-
dmonzonis authored
The Sponsor Website field in event sponsors is now automatically computed from the selected partner's data, but the field can still be changed afterwards in case the partner wants to specify a different website url for its sponsoring. closes odoo/odoo#48217 Task: 2205443 Related: odoo/upgrade#981 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
dmonzonis authored
Before this commit, event sponsors could not be archived, only deleted. Now, users are able to archive event sponsors if they want to set them as inactive but do not wish to delete them from the database. A filter was also added in the Event Sponsor view to quickly retrieve archived records. Also, archived sponsors will show an "Archived" ribbon in their form view. Task: 2205443
-
Toufik Ben Jaa authored
- A bug has been introduced by the PR https://github.com/odoo/odoo/pull/46719 This issue prevented flushes to database when no `uid` is set in the current environment. This happens when database changes are made in `auth="none"` routes. In a MonoDB setup this was working because Odoo consider `None`, `False` as `null` and was always bound to a database. Nothing prevents to write `null` in the columns `create_uid` and `write_uid` in database. The PR that introduced the bug wanted to block the cases where `uid` is an instance of the class `RequestUID` to avoid `Cannot adapt type` errors. So testing that `uid` is an integer isn't enough. Two fixes were possible here, either check if `uid` is an instance of the class `RequestUID` or if it is either an integer, `False` or `None`. To avoid noise and imports from `odoo`, we test that `uid` is an instance of `None`. The case where it is `False` is already tested in the python code: ```python isinstance(env.uid, int) ``` (manual) forward-port of odoo/odoo#48685 closes odoo/odoo#48693 Signed-off-by:
Toufik Benjaa (tbe) <tbe@odoo.com> Signed-off-by:
Olivier Dony (odo) <odo@openerp.com>
-
Olivier Dony authored
The point is to warn admins of production and public-facing databases. However it is not necessary to nag users of demo databases, even when connecting non-locally (e.g. on runbot). Updates #37580 (manual) forward-port of #48689 closes odoo/odoo#48691 Signed-off-by:
Olivier Dony (odo) <odo@openerp.com>
-
- Mar 31, 2020
-
-
Dhruv Patel authored
After this commit, in the graph view, when the user clicks on parts of the bar and pie charts, it opens the list view of the concerned records (like what was already done in the pivot view). This is the default behavior, but it can be deactivated by setting the attribute 'disable_linking' to true in the view. Task 2198461 closes odoo/odoo#47796 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com> Co-authored-by:
Aaron Bohy <aab@odoo.com>
-
Benjamin Vray authored
Part of https://github.com/odoo/odoo/pull/38950 task-2087641 closes odoo/odoo#38950 Related: odoo/design-themes#183 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Benjamin Vray authored
Add an option to open dropdown menus on hover instead of click. Part of https://github.com/odoo/odoo/pull/38950 task-2087641
-
Benjamin Vray authored
*: portal Adding a choice of several header behaviors (fixed, fade out with scroll, etc.). Review the way those animations works in mobile/desktop and now perform them without duplicating the header DOM element. Also allow to hide of adapt the size of the logo when the page is scrolled. Part of https://github.com/odoo/odoo/pull/38950 task-2087641 Co-authored-by:
qsm-odoo <qsm@odoo.com>
-
Benjamin Vray authored
Also remove all t-fields from footers to have only static contents in footers. For social links, a controller is added so that a "static url" /website/social/xxx always redirect to the correct set URL for the given xxx social network. Part of https://github.com/odoo/odoo/pull/38950 task-2087641 Co-authored-by:
qsm-odoo <qsm@odoo.com>
-
Benjamin Vray authored
*: portal Part of https://github.com/odoo/odoo/pull/38950 task-2087641 Co-authored-by:
qsm-odoo <qsm@odoo.com>
-
Benjamin Vray authored
The name of the site displayed on the website is now dissociated from the technical name of the website. Part of https://github.com/odoo/odoo/pull/38950 task-2087641
-
Benjamin Vray authored
* theme_bootswatch, web_editor Split the customizeWebsite method into 3 different methods so we can use customizeWebsite for variable, views or color on the same widget. Part of https://github.com/odoo/odoo/pull/38950 task-2087641
-
Jeremy Kersten authored
In case a controller with a relative url return an absolute link the current crawler follow the redirect and all external link of this external url too. Now we don't follow redirection if it is on an other netloc that the current one. Part of https://github.com/odoo/odoo/pull/38950 task-2087641
-
Odoo's Mergebot authored
This merge updates the FullCalendar library from v3 to v4. The purpose of this update for us is to add proper support of the drag-and-drop of events on mobile. But also to fix scrolling issues present mainly on smaller screens. In those configurations multi/inner-scrolls were present resulting in either the inability to properly scroll the desired content or even blocking altogether the scroll. As a nice-to-have feature, version 4 removes its dependency on the jQuery library, allowing faster loading of a bigger set of events. Last but not least, this version also reduces its dependency on the Moment.js library (but still keeps a binding to it for compatibility purpose). In addition to the update of the library itself, this merge adapts the codebase to the library's API changes and extracts some methods and templates to allow further customization of the calendar view. Finally, a couple of fixes are also applied : * time-based instead of ID-based order of events in month view * unwanted transformation of time-based events into all-day events in month view Task ID: 2092550 closes odoo/odoo#48630 Related: odoo/enterprise#9554 Signed-off-by:
Pierre Paridans <pparidans@users.noreply.github.com>
-
william authored
Task 2198388 When testing and demoing localization, it can but cumbersome to create a Company with the right credentials and install the chart of account on it. This commit aims to shorten the process. The first version only contains a valid vat (or similar) number, but we should add fields specific to localization in the future so that we have a working environment as soon as we install the localization. change manifest closes odoo/odoo#48102 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
Odoo's Mergebot authored
PURPOSE Improve the various sessions flow to make it easier for attendees to reach the session and to allow better interactions between the host and his audience. This comes with small usability improvements as well as increased "beautifulness" by using custom layouts & animations. SPECS General specifications, see sub-commits for details. - Currently, the "short link" feature is good but it still needs to be improved with the following points: - Make the default "code" shorter (4) and digit only. - Allow to customize the "code" - Check for potential collisions - When attendees reach the survey through the code, they need to land on the "waiting screen" even if the session is not started yet. This will allow the host to show the survey link even if he forgets to click on "start session" first. - Reduce the fade out / fade in delay when moving from one question to another. It's currently 2 seconds, change it to 1 second. Right now the delay gives a "slowness" impression. - Display matrix choices on the host screen. It will allow attendees that are not participating to have more context. - Add python test/tours to test the survey session flow from the host point of view - Improve survey form navigation (moved buttons, added keyboard navigation) - Auto submit questions and matrix with simple choice DESIGN TWEAKS Slightly improve the survey form by adding a few cosmetic changes, notably: - Add/reduce some margins/paddings - Adjust colors/font-weight - Adjust heights - Change some icons by more fitting replacements - Center matrix choices - Move survey progression to bottom-right - Remove ugly jumbotrons - Hide survey title in page_per_question layout - When there are 5 or less option for simple_choice or multiple_choice questions, display the options vertically. - Only show the textarea for the "comment answer" if the user clicks on the related option. LINKS Upgrade PR odoo/upgrade#897 Task 2208574 closes odoo/odoo#46768 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
David Beguin authored
Purpose ======= Speed up survey completion. Specifications ============== This commit apply an auto commit when user select a choice on a simple choice question or on a matrix question with simple choice. The auto commit happens following those conditions: - Only on simple choice and matrix with simple choice questions - For matrix, only when last subquestion is answered - Only when Back mode is active - If this is not the last question Link ==== PR #46768 Task 2208574
-
Aurélien Warnon authored
This commit slightly changes the way users navigate through the survey form: - The back button was moved to the bottom-right of the screen. - The "Continue" button stays at the center but there is also a "next" button at the bottom-right of the screen (same behavior -> submits the form) - Arrow keys (left + right) navigation is now supported Technical note: As the survey navigation is now outside of the survey content, that was re-rendered on every submit, we have to manually refresh the navigation with a second template render on the controller side. LINKS PR #46768 Task 2208574
-
Aurélien Warnon authored
This commit slightly improves the survey form by adding a few cosmetic changes, notably: - Add/reduce some margins/paddings - Adjust colors/font-weight - Adjust heights - Change some icons by more fitting replacements - Center matrix choices - Move survey progression to bottom-right - Remove ugly jumbotrons - Hide survey title in page_per_question layout - When there are 5 or less option for simple_choice or multiple_choice questions, display the options vertically. - Only show the textarea for the "comment answer" if the user clicks on the related option. One of the biggest design change is the introduction of a "minimized layout" that reduces the width of some question types on bigger screen. This gives a cleaner look to the survey form. Impacted question types: - Numeric - Date - Datetime - Simple / Multiple choices Technical note: As the survey progression is now outside of the survey content, that was re-rendered on every submit, we have to manually refresh the progression with a second template render on the controller side. Small fix addition: We also fix the matrix key selection feature in case the matrix had a total of more than 25 options, which would raise an error. Indeed, they "use key selection" condition only checked the number of rows, and not the rows * columns (total number of options count). LINKS PR #46768 Task 2208574
-
Romeo Fragomeli authored
Before this commit, when the duration of an event is "24H * n". The event is set as allDay. This is strange to have a event that start a 8H and end at 8H of next days and the event is in the allDay slot. After this commit, we don't change the allDay flag anymore. Steps to reproduce: * Open calendar in week view * Create a event from 8 -> 16 * Then resize the end of this event from 16 -> 8 of the next day (BUG) Task ID: 2183249
-