- Jan 21, 2019
-
-
Odoo Translation Bot authored
-
- Jan 18, 2019
-
-
Christophe Simonis authored
-
Christophe Simonis authored
Also contains fixes for previous forward-port.
-
Christophe Simonis authored
-
Christophe Simonis authored
Domain was apply on the wrong model.
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Nicolas Seinlet authored
If module A define an sql constraints and module B, which depends on module A, override the sql constraint, we must ensure having only the last definition in constraints list. Having the two versions in the list makes the ORM continuously trying to drop the second version by the first one, then recreate the second version, when performing operations like an upgrade a module B. An illustration of this is the login_key on res.users, which is unique per login in base, but unique per (login, website) in website. closes odoo/odoo#30334
-
- Jan 17, 2019
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Julien (juc) Castiaux authored
Modifying less files and saving them using the web editor can raise and error. The error is due to the way odoo save the modified file. It extends the view containing the URL of the file by filtering views related to the xml bundle id and keeping those that have the said URL in their content. This lookup fails to give just one result in case there are multiple file containing the said URL. This fix change the filter from a bare `if url in view.arch` to a correct xpath lookup. The "/web/static/src/variables.less" less file was one of the problematic files. opw-1889794 closes odoo/odoo#30186
-
Nans Lefebvre authored
Create any module that inherit 'res.lang'. Define any new field that is added with that inheritance. Install that module. Then try to uninstall it. Traceback ensues. When trying to write 'state': 'uninstalled' on the module, the prefetching tries to read a column that has been deleted by the _module_data_uninstall. opw 1917369 closes odoo/odoo#30176
-
Jorge Pinna Puissant authored
Before this commit, in the config bar (Sales or Invoicing) when you configure a payment acquirer, it was deployed in test mode, and not in production mode. Note that, the config bar wizard asks for the production credentials. Now, when you configure a payment acquirer, from the config bar, the acquirer is deployed directly in production mode. opw-1918412 closes odoo/odoo#30319
-
Denis Ledoux authored
Currently, a partner is considered a portal if he has no users or if at least one of his users is portal. This causes problems if an employee has two users, one portal, one employee and gets notified in a thread (e.g. @ Marc demo): The email sent won't contain the action buttons (e.g. view opportunity) because the employee is considered as portal. A partner of an employee can have multiple users linked if at some point two partners were merged, and the partners had each a user, one a portal and the other an employee. This revision changes this behavior, to consider a user as not portal (employee) if one of its users is not a portal (an employee). This is uniform with to the behavior of the `share` field of `res.users`, which is `True` when the user is part of the group employee. ``` user.share = not user.has_group('base.group_user') ``` opw-1914103 closes odoo/odoo#30314
-
Nicolas Martinelli authored
- Set valuation to FIFO - Make a PO for a product - Validate the picking - Execute the Inventory Valuation report - Apply group by Category - Click on the 'Valuation' info button A traceback occurs because of the usual `group_by` context key which is kept. opw-1918915 closes odoo/odoo#30313
-
Lucas Perais (lpe) authored
Because of a742813c36fc8cdf4e41c72e00944b6901be6017. Apparently when crm is installed alone, there is only one company closes odoo/odoo#30312
-
wan authored
OPW 1918926 Current behavior: The sql query groups by date,id in a intermediary table instead of the result. This allows to get data in the wrong order if the statements were not produced sequentially. The fill values are computed in the wrong order and may override correct values. Desired behavior: There is no override of the values correctly computed. closes odoo/odoo#29936
-
Lucas Perais (lpe) authored
Open a pivot view with default filters automatically activating Disable those filters Change the groupBys on the rows and cols of the pivot Save your result as a favorite filter Before this commit, the filter did not contain the context information for columns groupby Also, the search view did not exploit the context of the new filter as it should be After this commit, the flow works as expected OPW 1913732 closes odoo/odoo#29415
-
Jorge Pinna Puissant authored
Before this commit, there were not specific view for the mobile devices. The analytic account views were used. Now, there are specifics views for the timesheet in the tasks. opw-1913371 closes odoo/odoo#30309
-
Hardik Prajapati authored
opw-1925956 closes odoo/odoo#30304
-
Nans Lefebvre authored
Open studio to modify the widget displaying a relational field. The report_layout widget can be selected, say, to display payment terms. Obviously it doesn't make sense. We remove its supported field, as the field is not generic (indeed there is only one use for it in the codebase). opw 1919369 closes odoo/odoo#30303
-
Lucas Perais (lpe) authored
Define a field on a model as: - o2m to res.partner - the field's column, hence its name, has capital letters in it (studio does that) create two objects of that class, each one linked to a different partner with the new o2m merge the partners Before this commit, the object linked to the second partner, was deleted This was because merge partner sql requests did not quote the column name After this commit, the second object still exists OPW 1925060 closes odoo/odoo#30300
-
qsm-odoo authored
The 500 page has `session.is_frontend === undefined` as it has its own whole HTML template. In that case, the ajax.loadXML is not done, making the tour crash when visiting a 500 error page. This is needed for #29957 that has a test tour on 500 error page. closes odoo/odoo#30240
-
pha-odoo authored
closes odoo/odoo#30302
-
Lucas Perais (lpe) authored
Define a field on a model as: - o2m to res.partner - the field's column, hence its name, has capital letters in it (studio does that) create two objects of that class, each one linked to a different partner with the new o2m merge the partners Before this commit, the object linked to the second partner, was deleted This was because merge partner sql requests did not quote the column name After this commit, the second object still exists This commit is tested in v12.0 with PR #30300 only. In v10.0 it is not testable as the model concerned is in CRM, and that no new fields in business modules can be added in stable OPW 1925060 closes odoo/odoo#30301
-
- Jan 16, 2019
-
-
Christophe Matthieu authored
Before this fix, in studio when the user select the field then focus out then focus in and selected a child field, an exception is triggered because the last page is visible but the data are removed. backport of 12.0's 9eef25ae opw-1928453 closes #30277
-
Christophe Simonis authored
-
Christophe Simonis authored
Avoid warning due to duplicated field labels.
-
RomainLibert authored
Basically you can have two types of error when using benefits, the conflicting leave error and the no benefit type set error. You can have either one of them or both of them at the same time. The problem is that when there is an error, we currently have no way of knowing which error it is. To resolve this we only display one error at a time starting with the no benefit type error and then if there is a conflicting leave we display the next error closes odoo/odoo#30259
-
RomainLibert authored
closes odoo/odoo#30260
-
Nicolas Martinelli authored
- Create a SO with an ticket for an event, confirm - On the attendees wizard, click on 'Apply' The event ticket is remove from the registration. This is because the event ticket wasn't saved when creating the registration line. Complement of commits 7492c97b and 0717bb6c opw-1920464 closes odoo/odoo#30262
-
Martin Trigaux authored
To reflect fixes at ec226308 and cd408083 closes odoo/odoo#30253
-
Romeo Fragomeli authored
Original commit breaking kanban view: 4cd379cf Commit reverted: 287136b8 Two fixes were added independently to fix this bug but only one is needed. odoo/enterprise@c8fe86fa225d3a5967e629f8fd35e1c92aa1fa61 best fix 287136b8 other fix (now reverted) Reverting this commit fix the following bugs: - Swipe on kanban : Not able to swipe on empty column. it only works on cards - Popup activity on kanban card is unusable - On kanban separation, "Undefined" cards are before the kanban separation closes odoo/odoo#30177
-
Jorge Pinna Puissant authored
Before this commit, in the organization chart, when a manager that have too many subordinates, and we want to view all the subordinates clicking the '...' button. There was an error in the breadcrumbs, the text 'Undefined' was shown in the place of the manager's name. Now, the breadcrumbs shows the name of the manager. OPW-1923990 closes odoo/odoo#30231
-
Christophe Simonis authored
do not set unknow field when creating invoice The field `reference_type` has been removed with b5bb5bd4 Adapt newly forward-ported test to not use this field. closes odoo/odoo#30255
-
Nicolas Martinelli authored
Commit 68e9d550 makes the redirection type mandatory, which is logical. Since we can't add such a constraint in stable, we make the field required in the view and assign a default value (in case the module is not upgraded, which is very likely to be the case). opw-1924983 closes odoo/odoo#30252
-
- Jan 15, 2019
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-