- Jun 24, 2019
-
-
qmo-odoo authored
This commit improves the elearning onboarding on the quizzes If the user is not logged in, a log in button will show up under the quiz If he is logged in but not a member of the course and the course is public, a join button will appear under the quiz If the course needs to be bought, a buy button will appear under the quiz. If the course is on invite only, a message under the quiz will inform the user about it TaskID: 2003986 PR: #33861 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Jun 27, 2019
-
-
sri-odoo authored
task-2025167 closes odoo/odoo#34238 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
- Jun 21, 2019
-
-
mgh-odoo authored
Currently, while editing user profile from frontend, biography is displayed in textarea despite of being an HTML field. This commit fixes the behavior by providing users with wysiwyg ediotr to update their biography while editing profile from frondend. task-2007731 closes odoo/odoo#34207 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Jun 26, 2019
-
-
Jeremy Kersten authored
Before this commit, it was considered as an error because status was not OK closes odoo/odoo#34377 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
qsm-odoo authored
Commit https://github.com/odoo/odoo/commit/0c6e0d660ea00ad7ee9a3e94c0ac944cdf46565f used flex to properly align address information and the fa icons. The problem is that using flex prevents the parent div to ask for the address information to be center/right aligned. This is the case for the job pages in internal. This commit uses display: inline-block on the top-level element of the address to solve the problem. opw-2000947 closes odoo/odoo#34371 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
- Jun 24, 2019
-
-
Jeremy Kersten authored
And hide if no time set task-fpreq closes odoo/odoo#34346 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
- Jun 21, 2019
-
-
Christophe Simonis authored
Oversight of previous forward-port.
-
Christophe Simonis authored
-
Christophe Simonis authored
Oversight of previous forward-port.
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
- Jun 20, 2019
-
-
Басхүү authored
As we will move those from other localizations to base, we add those for Mongolia to base already. closes odoo/odoo#34281 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Басхүү authored
We correct the income/expense account and add the stock input/output/valuation accounts. Mn also uses Anglo-Saxon accounting. Closes #34002
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
- Jun 19, 2019
-
-
Xavier Morel authored
DROP CONSTRAINT (even with IF EXISTS is specified) acquires an ACCESS EXCLUSIVE lock on the table, preventing e.g. inserts in an other transaction, so ir_logging would systematically deadlock if configured to the same database and a warning would be triggered during install or update (if that ran ir.logging's init). 1. hand-roll the "IF EXISTS" bit, to avoid taking an ACCESS EXCLUSIVE lock on the table if the problematic constraint does not exist and thus doesn't need to be dropped (which by now should be the vast majority of cases). Replacing DROP CONSTRAINT with DISABLE TRIGGER does not fix the issue as *that* acquires SHARE ROW EXCLUSIVE. While that's less constraitning than ACCESS EXCLUSIVE, it still conflicts with an insert's ROW_EXCLUSIVE. 2. add a timeout to the logging INSERT anyway, the deadlock is still an issue if we're updating a database which does have the problematic constraint, and we want to preclude the possible eventual introduction of new deadlocks in the future. closes odoo/odoo#34243 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
-
Thanh Dodeur authored
Before this commit, the No Change status wasn't properly set because the `filehash` wasn't passed to `_binary_set_headers` and because the status was not changed to 304 if it was already set to 200 earlier. This commit fixes this issue and also prevents images to be processed in `content_image` if the status is 304. opw-2008426 closes odoo/odoo#34032 Signed-off-by:
Christophe Simonis <chs@odoo.com>
-
- Jun 20, 2019
-
-
Gorash authored
Under certain unknown conditions, the range cannot be applied and triggered an error. In order to allow the user to keep editing, we need to prevent the dialog from showing, hence the use of `console.error`. If this error appears, the carret is moved to the beginning of the focused node. If this error appears, then bullet can generate an error (I managed to have the bug once or simulate it by manually breaking the dom and range) closes odoo/odoo#34284 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Jeremy Kersten authored
closes odoo/odoo#34283 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
- Jun 19, 2019
-
-
Jeremy Kersten authored
-
- Jun 20, 2019
-
-
qsm-odoo authored
For some strange reasons, the e-learning ranks are created in data but the demo data override their motivational message fields. Unfortunately, the demo data were ok but the normal data had broken images in them. closes odoo/odoo#34282 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
qsm-odoo authored
The new editor of https://github.com/odoo/odoo/pull/29775 came with a fullscreen option. When using the toggle when the editor is in inside a modal, the editor stretched only to match the size of the modal instead of the viewport. This is because the 'position: fixed' rule which is used to achieve the fullscreen layout cannot work if a parent of the element has a CSS transform applied on it. Indeed in that case, that element acts like the viewport for 'position: fixed' elements. closes odoo/odoo#34272 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
mgh-odoo authored
* Setup an IoTBox connected to a receipt printer * In POS Config: - IoT Box: check "IoTBox", set the IP of the Box and check "Receipt Printer" - Pricing: Select "Tax-Included Price" * Start the POS, select any product * Click on "Disc" on the virutal keyboard on the bottom left of the POS * Enter the amount of the discount * Validatate payment (Click "Payment" > "Cash" > Enter Amount > "Validate") * A ticket should print on the receipt printer: - The price in the rigth column is correct Current behaviour: * In the left column, it shows : Product name, Base price, Discount: X%, 1 x Price --> This price is not correct, it shows the price with the discount applied twice. Expected behaviour: * Discount applied once everywhere on ticket. task-1978564 closes odoo/odoo#34278 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
mgh-odoo authored
Before this commit, if a user select option 'tax-Included Price' in pricing from pos.config and sale product with a discount, it is first displaying price without tax instead of the price including tax. Task-2002464 Closes #33733 closes odoo/odoo#34259 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Jun 19, 2019
-
-
qsm-odoo authored
Following the new editor at https://github.com/odoo/odoo/pull/29775 , the html field to edit the mass mailing popups in the backend appeared entirely broken. This was because the editor css was not loaded for that field. closes odoo/odoo#34250 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Lucas Lefèvre authored
When computing `is_absent` for multiple employees (multiple records in `self`), if one employee is really absent (leave), all employee in the recordset are also considered absent. Note: it never happens in saas-12.2 but in master and possibly custo. closes odoo/odoo#34241 Signed-off-by:
Romain Libert (rli) <rli@odoo.com>
-
Басхүү authored
-
- Jun 20, 2019
-
-
Rémi Rahir authored
The fix added in 3a0f05f3 doesn't work if an already existing user in company A trys to modify his address on a website linked to company B. The form will try to change the company_id of the res.partner which will then conflit with the company_id of the associated res.user, ultimately leading to a UserError and a 500 error on the website. opw-2025457 closes odoo/odoo#34262 Signed-off-by:
Rémi Rahir (rar) <rar@odoo.com>
-
Nicolas Martinelli authored
Commit 6b14ceb2 introduced a smarter way to find the default journal based on the currency. However, it missed the fallback if no journal is found. opw-2009934 opw-2024204 opw-2011321 closes odoo/odoo#34263 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Jun 19, 2019
-
-
Christophe Simonis authored
-
Goffin Simon authored
Steps to reproduce the bug: - Create an hr.leave.allocation with mode = 'By Employee Tag' - Select Employee Tag = 'Employee' - Set all the other required values - Log with Demo User(Marc Demo) - Go to Leaves > My Leaves > New Request Bug: An access right error was raised due to the record rule: "Allocations: employee: read own" With this record rule the user can only read the hr.leave.allocation linked to his employee's user. But with allocations in mode 'By Employee Tag', in the function get_days it tried to compute the 'number_of_hours_display' of all the allocations linked to the current employee's user and in the function _compute_number_of_hours_display, it also computes the parent_id of these allocations. As the parent_id is not linked to the employee's user, it raised an access right error. opw:2006686 closes odoo/odoo#34236 Signed-off-by:
Simon Goffin (sig) <sig@openerp.com>
-
Nicolas Lempereur authored
The months name in momentjs used an arabic translation with the month then some crap (or the month said a second time) after. This does not seem expected, and has been solved in moment.js library 2 years ago: https://github.com/moment/moment/pull/4271 This PR apply this change in moment.js localization included in Odoo. opw-2006265 closes #34248 Signed-off-by:
Nicolas Lempereur (nle) <nle@odoo.com>
-
Christophe Simonis authored
-
Mathieu Duckerts-Antoine authored
A pie chart widget aims to instantiate a graph view in mode 'pie', with a measure and a single groupby specified via some attributes. It turns out that if a pie chart is instantiated in a context in which the keys 'graph_mode', 'graph_measure', and 'graph_groupbys' are present, that keys prevail over the pie chart specification. This can produce a line chart for instance. This fix corrects that situation. A test has been added in a corresponding commit in enterprise (historically, the pie chart widgets are tested in dashboard views). closes odoo/odoo#34234 Signed-off-by:
VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
-
Nicolas Martinelli authored
- Create a leave type valid from June 1st - Create a leave in May using the created leave type Nothing prevents the user to do it. It is because the constraint is implemented only if there is a validity start and end date. Fixes #32107 opw-2009800 closes odoo/odoo#34225 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Goffin Simon authored
Steps to reproduce the bug: - Create a vendor receipt in a journal with a foreign currency with taxes - Validate it Bug: A UserError was raised because it tried to create unbalanced entries Technically: the debit and credit of the VAT account move line were not converted in the currency of the of the voucher's company. opw:2007760 closes odoo/odoo#34203 Signed-off-by:
Simon Goffin (sig) <sig@openerp.com>
-
- Jun 18, 2019
-
-
Nicolas Martinelli authored
- Create a calendar event - In debug mode, remove the responsible The 'Avatar Undefined' string is displayed at the botton of the responsibles' list. Do no fetch an image for a falsy value (= falsy id) opw-2010007 closes odoo/odoo#34215 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-