- Aug 21, 2019
-
-
Gorash authored
This commit reverts the saas-12.2 editor by putting back the editor of Odoo 12. The saas-12.2 editor was an intermediate work between the previous editor of Odoo 12 and the new one slated for Odoo 13. It was unstable but it was supposed to be replaced by the new editor of version 13. However, since the new editor has been postponed to Odoo 14, the saas-12.2 one would have been staying in Odoo 13, which would have been a nightmare to maintain. To avoid this outcome, we chose to put back the 12.0 editor in its place. This has the particular advantage that Odoo 13 will share the same bugfixes as Odoo 12 and 11 as they all run under the same core editor, while the saas-12.2 one would have been an entirely different beast to maintain. This is a partial revert of f2969923. Part of PR 35677. Co-authored-by:
Nicolas Bayet <nby@odoo.com> Co-authored-by:
Antoine Guenet <age@odoo.com> Co-authored-by:
Christophe Matthieu <chm@odoo.com> Co-authored-by:
David Monjoie <dmo@odoo.com>
-
Gorash authored
Summernote was updated alongside the new editor of saas-12.2. However, since we are putting back the editor of 12.0, summernote needs to be downgraded back to the version that was compatible with the 12.0 editor. This is a revert of 17c6d005. Part of PR 35677. Co-authored-by:
Nicolas Bayet <nby@odoo.com> Co-authored-by:
Antoine Guenet <age@odoo.com> Co-authored-by:
Christophe Matthieu <chm@odoo.com> Co-authored-by:
David Monjoie <dmo@odoo.com>
-
Kevin Baptiste authored
The word "variants" was missing from the stat button. Task: 2046482 closes odoo/odoo#35413 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Humberto Arocha authored
closes odoo/odoo#35894 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Florian Gilbert authored
task #2041848 closes odoo/odoo#35381 Signed-off-by:
Quentin De Paoli (qdp) <qdp@openerp.com>
-
jbm-odoo authored
closes odoo/odoo#35922 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Denis Ledoux authored
Creating a recurrent event was no longer displaying all recurring events in the calendar, only the base event. This is following odoo/odoo@9920f20e4c7753bc17bea71dea3a90f7de687196 closes odoo/odoo#35919 Signed-off-by:
Denis Ledoux <beledouxdenis@users.noreply.github.com>
-
Arnaud Baes authored
When a picking type is duplicated, the sequence was by default copied into the new picking type. This behaviour has become misleading since the sequence_id is shown only on debug mode. We now simply prevent sequence_id of being copied. TaskID: 2057311 closes odoo/odoo#35908 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
RomainLibert authored
closes odoo/odoo#35904 Signed-off-by:
Romain Libert (rli) <rli@odoo.com>
-
Yannick Vaucher authored
An Inpayment Slip with Reference (ISR) subscription number is provided by the bank or by Postfinance ISR When the ISR subscription comes from Postfinance it is a direct subscription. ISR (bank) When the ISR subscription comes from a bank it is the bank subscription toward Postfinance. Having the subscription number on res.bank has 2 drawbacks: If you have multiple accounts at Postfinance or If you have multicompany and each company has a Postfinance account you won't be able to emit with different ISR subscriber numbers. This also renames the fields to be accurate on the meaning. An ISR reference is a Payment reference that will apear on the invoice. It is better to name it subscription number. closes odoo/odoo#35873 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
Raphael Collet authored
One cannot override the attribute `selection`, and list selections can only be extended with `selection_add`. Adapt the bad extensions to be consistent with the new warnings closes odoo/odoo#35663 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Raphael Collet authored
When extended with the selection_add parameter, a singleton (value,) where `value` appears in the overriden selection, can be used. The new values are inserted in an order that is consistent with the overridden selection and this list. selection = [('a', 'A'), ('b', 'B')] selection_add = [('c', 'C'), ('b',)] > result = [('a', 'A'), ('c', 'C'), ('b', 'B')]
-
Parth Choksi authored
TaskID: 2028958 closes odoo/odoo#35551 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
wan authored
Task 1998268 closes odoo/odoo#35150 Signed-off-by:
Quentin De Paoli (qdp) <qdp@openerp.com>
-
Kaushalya Mandaliya authored
workcenter overview kanban view card width is not same for all cards, also kanban card overlap in grouped view, to fix this apply width on o_kanban_record class instead of inline css, also apply width in o_kanban_group to have same width for all cards in grouped view task-2052465 closes odoo/odoo#35803 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com> Co-authored-by:
Mohammed Shekha <msh@odoo.com>
-
- Jul 30, 2019
-
-
Kaushalya Mandaliya authored
From the commit: 36b976cc A traceback is generated while printing BOM structure report, which is fixed in this commit. task-2024247 closes: #34899 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
- Aug 21, 2019
-
-
Shreya Modi authored
PURPOSE Currently mailgateway runner user is used to create most documents through incoming emails. Purpose of this commit is to try to link document creation and update to users, using the email to make the matching. SPECIFICATIONS New sudo implementation allow to bypass access rights while keeping effective user as creator. Use this mechanism to create documents still using the mailgateway runner user while linking creator to matching user. Heuristic to use to match email_from and users * if route is linked to an alias: check its owner record and check in its followers; * find users having this emails; * if route is linked to an alias: use alias_user_id field; * fallback on mailgateway user; Other side effect is that creator and author of incoming email linked to the new record will now better match the document creator when linked to an existing user. LINKS Task 1919267 PR #30597 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Thibault Delavallée authored
Purpose of this commit is to lessen complexity of stack chain in mail main methods. Removing decorators is a good start for this. LINKS Task 1919267 PR #30597
-
- Aug 20, 2019
-
-
Raphael Collet authored
When the registry is not ready, allow modifications of the selections The following use case must reset the values: - removing a selection on a custom field via studio - changing the static selection definition and updating the module The value must NOT be reset when: - trying to remove manually a base field - updating a module without all override being computed yet (i.e. install) Fully replacing the selections in an override should not happen Instead of relying on the context, check if the registry is ready before marking the selections as to remove. If a static selection is removed and the module updated, it will be removed correctly during the _process_end method as the selections will not be present in pool.loaded_xmlids Before this commit, updating a module A was doing a SET NULL for selection values added by a module B via a selection_add closes odoo/odoo#35871 Signed-off-by:
Raphael Collet (rco) <rco@openerp.com> Co-authored-by:
Martin Trigaux <mat@odoo.com>
-
- Aug 21, 2019
-
-
Robot Odoo authored
PURPOSE Fix frontend rating and clean a bit module organization. SPECIFICATIONS Fix rating in frontend (website_slides, website_sale): rating is halved at each update and new entries have no rating. Also reorganize portal chatter overrides * rename files to ease code reading and discovering; * move assets in their own file to better understand modules; * move rating widget in its own file; LINKS Task 2057301 PR #35870 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Robot Odoo authored
Linked to odoo/enterprise#5182 Add possibility to print receipts and orders on an ePOS compatible Epson receipt printer located in the same local network than the browser running the pos. TaskID: 2033442 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr closes odoo/odoo#35829 Signed-off-by:
Quentin Lejeune (qle) <qle@odoo.com>
-
Hetal Dhanak authored
Updating a datetime field in a form view will fill the 'values' dict with a string. This commit casts the dates in mrp.production and mrp.workorder that are given to their respective stock move into actual datetime object. This prevent any converting error later in the process Task : 2055912 closes odoo/odoo#35825 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
Thibault Delavallée authored
PURPOSE Fix frontend rating and clean a bit module organization SPECIFICATIONS Broken since 3620cb68 LINKS Task 2057301 PR #35870
-
Thibault Delavallée authored
PURPOSE Fix frontend rating and clean a bit module organization SPECIFICATIONS In order to ease understanding of portal chatter dependencies let us name files according to guidelines. In this commit we rename a bit files in website mail to understand which widgets and portal parts are impacted by website mail bridge module. Assets are also moved in their own file to ease module discovering. LINKS Task 2057301 PR #35870
-
Thibault Delavallée authored
PURPOSE Fix frontend rating and clean a bit module organization SPECIFICATIONS Remove unused template to lessen noise in this module. LINKS Task 2057301 PR #35870
-
Thibault Delavallée authored
PURPOSE Fix frontend rating and clean a bit module organization SPECIFICATIONS In order to ease understanding of portal chatter dependencies let us name files according to guidelines. In this commit we rename a bit files in website mail to understand which widgets and portal parts are impacted by website mail bridge module. Assets are also moved in their own file to ease module discovering. LINKS Task 2057301 PR #35870
-
Thibault Delavallée authored
PURPOSE Fix frontend rating and clean a bit module organization SPECIFICATIONS Remove useless mail.channel data as it makes noise without any added value. LINKS Task 2057301 PR #35870
-
ryv-odoo authored
PURPOSE Fix frontend rating and clean a bit module organization SPECIFICATIONS Currently when updating a review on slides, the rating value is divided by 2 on each update as the rating ratio is not taken into account. In this commit we correctly update the hidden input value during the start function using the rating ratio. LINKS Task 2057301 PR #35870
-
svs-odoo authored
How to reproduce: - Install mrp & mrp_workorder; - Open Manufacturing and plan a workorder; - Go on the Work Centers Overview; - Click on "WORK ORDERS" button -> You got a "Something went wrong !". closes odoo/odoo#35900 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
Hardik Prajapati authored
-hide the quantity done when the workorder has not start to work -change the label of done to consumed when finish workorder pad- https://pad.odoo.com/p/r.ed6d2ceefdd46214b72dc4e79552350e task-1889396 closes odoo/odoo#34202 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
Robot Odoo authored
This merge commit provide the possibility for project user to select a project on an expense. Selectable project are only the one with an analytic account set. Setting the project will set the analytic account, so posting the expense will create analytic entries, and will finally appear on the project overview. If the analytic account still match an open sale order (and if the product is reinvoicable), a new SO line will be added on the SO (this flow does not change here). Task-1843241 (previsouly Task-1911581) closes odoo/odoo#29638 Signed-off-by:
Jérome Maes (jem) <jem@openerp.com>
-
Jérome Maes authored
Since 12.0, we wanted the employee to select directly the sales order on which the expense should be reinvoiced. The goal was to avoid employee to select the analytic account (too technical and usually unknown for employee). Problem is that we had to give read access to SO to simple employee, breaking the access rules "See your own document". As we want to allow all internal employees to determine if the expense should be reinvoice and on which sales order it should be, we need to allow them to select that sales order. This commit allows user to search on SO (simply get their name_get), no information more to avoid breaking "See your own document" for salesman. Falty ir.rule and access rights are now removed. We now clearly split the cost tracking and reinvoicing flow: - the analytic account field (visible only with group 'analytic' as considered as advance feature) allows user to track their expenses in some accounts. - the sales order is displayed for users or approvers to reinvoice the expense. As this operation implies the tracking, if the AA is not give, the SO will create its own AA in which the expense will be tracked. This SO field is only relevant when the product has a reinvoice policy, so we hide it if there is no reinvoice policy defined. Reinvoicing an expense has now a different flow from reinvoicing a "Vendor Bill", which still do magic to determine the SO from the AA set on its lines. Technical: to allow user to select SO from a m2o dropdown, the `name_search` is done in `sudo` for internal user. This is a borderline 'feature' of the system. A few thing show that the system does completely supports this ("Search More" gives access error, ...). We still keep this solution, as we don't want a sub group giving access to SO to all employee (aka an option allowing people to break the sales rights). Task-1843241
-
Jérome Maes authored
This commit makes the override of the `name_search` more consistent the basic implementation of the ORM (using lazy name_get and supports the `name_get_uid` parameters) Task-1911581
-
Jérome Maes authored
This commit adds a missing `depends` on the `debit` and `credit` computed field on analytic account model. Indeed, without that, the recompute is not done when accessing thoses fields after adding lines in the same transaction (like in tests). Task-1911581
-
Jérome Maes authored
For historical reason (problably the inheritS between project and AA, removed in 12.0), portal user can read Analytic Account. This makes no sense, as it is a purely internal resource for companies. Removing the access rights don't change anything for portal user and make those data secure. Task-1911581
-
Jérome Maes authored
Since the refactoring of the accounting model, some action changed but their xmlid were not adapted everywhere. Task-1843241
-
Denis Ledoux authored
[FIX] sale: fix _compute_quotations_to_invoice following odoo/odoo@9920f20e4c7753bc17bea71dea3a90f7de687196 closes odoo/odoo#35895 Signed-off-by:
Denis Ledoux <beledouxdenis@users.noreply.github.com>
-
Alexandre Kühn authored
This version adds full support of string templates. Before this version, rjsmin may produce wrong code with string templates. For example: ```js const url = `https://odoo.com`; console.log(url); ``` was minified to: ```js const url=`https:console.log(url); ``` Because `//` was wrongly handled as a comment inside the string template. closes odoo/odoo#35867 Signed-off-by:
Géry Debongnie (ged) <ged@openerp.com>
-
jbm-odoo authored
The user can already send a confirmation email when the Stock Picking is done. It'd be great to communicate the same information by SMS. In addition, the current mailing tool requires a manual action. The idea is to automate the process via a Setting instead. id=1972567 closes odoo/odoo#35662 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
Pierre Masereel authored
When you are creating an invoice from the POS, the report route is called to download the invoice, since changes made in rev: 118190f3 The values for ids where empty, so we give them now the correct id list. closes odoo/odoo#35889 Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-