- May 26, 2020
-
-
william authored
Task 2213348 There where missing accounts and the CoA was not consistent (like some income accounts but not the expense counterpart). We chose to take the accounts from the National Bank of Belgium, and took the opportunity to translate all the accounts in the 3 official languages of Belgium + english. closes odoo/odoo#47815 Signed-off-by:
Quentin De Paoli (qdp) <qdp@openerp.com>
-
- Jun 05, 2020
-
-
DramixDw authored
If a mousedown event was fired over the left panel in edit mode while the mouse up was fired over the current page in edit, the focus would suddenly go at the top of the page due to pointer events. This made input selection not easy on some browser. task-2210712 closes odoo/odoo#52495 X-original-commit: 667ea8d586e8e8fdb7d0509e9ffc87fa5c76af56 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
Nasreddin (bon) authored
Issue - Open console in debugger of the browser. - Install "Employees" app - Go to "Employees" and edit or create any employee - In 'Department' field, quick create one Error is raised in console and the modal department form view is opened. Cause 'name' field is required but empty since 'complete_name' is the one set as _rec_name in 'Department' python model. Solution Cherry-pick of 7c0fed48 opw-2267356 closes odoo/odoo#52489 X-original-commit: 05661891 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com> Signed-off-by:
bon-odoo <nboulif@users.noreply.github.com>
-
Anh Thao Pham (pta) authored
- Create a new company in Settings - Check the created company in systray but keep the default one as selected - Activate Leads in CRM - Create a Lead and select an user (User A) who belongs to the default company but not the new one as Salesperson - Save the Lead - In the chatter, schedule an activity with: * Activity Type: Make Quote * Assigned to: User A (the user assigned as Salesperson) The following error will prompt: "Assigned user User A has no access to the document and is not able to handle this activity." During the rule check, the context is evaluated (see commit: https://github.com/odoo/odoo/commit/a5b6f31cf28e5381e1c85f66730bcdb55998e643#diff-15c3e76db5d676523f482df45cf00446R54) which raises an AccessError for "allowed_company_ids" (see commit: https://github.com/odoo/odoo/commit/7bfcb53db37f385a99e16b47311b7c09c8da294d#diff-2c418cb78b7c562a79e7032645a537d2R599 ) as the context that is used is the context of the current user and not the context of User A. opw-2264224 closes odoo/odoo#52476 X-original-commit: b28470f2 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Antoine Prieels authored
- The checkout to switch to the branch of the connected DB was not processed correctly because the command used to clear the drivers failed, raising an exception: rm: cannot remove '/home/pi/odoo/addons/hw_drivers/drivers/__pycache__': Is a directory - The location of the drivers has been changed in master. So, even if we perform a checkout, the addons/hw_drivers/drivers directory doesn't exist. The get_resource_path('hw_drivers', 'drivers') then returned False instead of the correct path and the extraction of the zip file failed. closes odoo/odoo#52448 Signed-off-by:
Quentin Lejeune (qle) <qle@odoo.com>
-
- Jun 04, 2020
-
-
Laurent Stukkens (LTU) authored
Ease the understanding of the drag'n drop of a snippet. Users test have demonstrated that one doesn't understand how to add a snippet on the page. * Rotate the snippet once clicked, as it is for tasks in project application. * Keep the position of the mouse. task-2261817 closes odoo/odoo#51905 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
fja-odoo authored
* = website_blog, website_form These views are part of the new snippet compatibility system and should be deactivated. They only remain for compatibility. active is a noupdate field so all deactivated views will remain active when updating to this version. Only new install will have the views deactivated. task-2250388 closes odoo/odoo#52438 X-original-commit: 4c844697cd1aa3a461b576363d25af54a3b650cc Related: odoo/design-themes#294 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
- Jun 05, 2020
-
-
Odoo's Mergebot authored
PURPOSE Make digest email and tips more appealing. The goals of these tips are * to encourage the adoption of other apps (Did you know ?); * to make Odoo look more fun (Fun tips and tricks, young and dynamic style); * to show social proof and increase trust (emphasis on already existing projects / customers to); SPECIFICATIONS: DIGEST TEMPLATE Improve template according to FP specifications, aka Header Up to 2 tips KPIs Want to customize? Mobile Tip Footer SPECIFICATIONS: QWEB TEMPLATE Digest now uses qweb views instead of a standard mail.template record for rendering as * template is very custom; * probability of breaking it while edition the mail template is high; it is easier to maintain and extend in qweb; * only body was really used, other mail-related fields were not used; We therefore remove the mail template data and the field used for it on the digest model. Template is now forced to a Qweb view. We can also remove the template_id field. Indeed we think that having different templates for digests is a really advanced use case we do not want to support. SPECIFICATIONS: DELAY BEFORE SENDING In this commit we introduce a way to set a delay before sending a tip. Using a new field, a tip can be send a few days after its module installation. This require to store the source module on the tip itself. When installed from data it will be automatically filled using its xml_id if not set SPECIFICATIONS: TIPS Improve tips content and display according to FP specifications. LINKS Task ID 2197417 Community PR odoo/odoo#51619 Enterprise PR odoo/enterprise#10697 Upgrade PR odoo/upgrade#1256 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Jun 04, 2020
-
-
Elisabeth Dickinson authored
PURPOSE Make digest email and tips more appealing. The goals of these tips are * to encourage the adoption of other apps (Did you know ?); * to make Odoo look more fun (Fun tips and tricks, young and dynamic style); * to show social proof and increase trust (emphasis on already existing projects / customers to); SPECIFICATIONS Add a tip about SEO. LINKS Task ID 2197417 PR odoo/odoo#51619 Co-Authored-By:
Elisabeth Dickinson <edi@odoo.com> Co-Authored-By:
Thibault Delavallée <tde@odoo.com>
-
Elisabeth Dickinson authored
PURPOSE Make digest email and tips more appealing. The goals of these tips are * to encourage the adoption of other apps (Did you know ?); * to make Odoo look more fun (Fun tips and tricks, young and dynamic style); * to show social proof and increase trust (emphasis on already existing projects / customers to); SPECIFICATIONS Improve existing tips to be more inlined with new digest styling. LINKS Task ID 2197417 PR odoo/odoo#51619 Co-Authored-By:
Elisabeth Dickinson <edi@odoo.com> Co-Authored-By:
Thibault Delavallée <tde@odoo.com>
-
Elisabeth Dickinson authored
PURPOSE Make digest email and tips more appealing. The goals of these tips are * to encourage the adoption of other apps (Did you know ?); * to make Odoo look more fun (Fun tips and tricks, young and dynamic style); * to show social proof and increase trust (emphasis on already existing projects / customers to); SPECIFICATIONS Improve existing tips to be more inlined with new digest styling. Add new tips, notably * use lead enrichment; * use lead mining; LINKS Task ID 2197417 PR odoo/odoo#51619 Co-Authored-By:
Elisabeth Dickinson <edi@odoo.com> Co-Authored-By:
Thibault Delavallée <tde@odoo.com>
-
Thibault Delavallée authored
PURPOSE Make digest email and tips more appealing. The goals of these tips are * to encourage the adoption of other apps (Did you know ?); * to make Odoo look more fun (Fun tips and tricks, young and dynamic style); * to show social proof and increase trust (emphasis on already existing projects / customers to); SPECIFICATIONS Improve existing tips to be more inlined with new digest styling. Add new tips, notably * Invite team members; * Learn about Odoo (eLearning platform); * allow push notifications; LINKS Task ID 2197417 PR odoo/odoo#51619 Co-Authored-By:
Elisabeth Dickinson <edi@odoo.com> Co-Authored-By:
Thibault Delavallée <tde@odoo.com>
-
Thibault Delavallée authored
PURPOSE Make digest email and tips more appealing. The goals of these tips are * to encourage the adoption of other apps (Did you know ?); * to make Odoo look more fun (Fun tips and tricks, young and dynamic style); * to show social proof and increase trust (emphasis on already existing projects / customers to); SPECIFICATIONS Digest now use qweb views instead of a standard mail.template record for rendering as * template is very custom; * probability of breaking it while edition the mail template is high; it is easier to maintain and extend in qweb; * only body was really used, other mail-related fields were not used; We therefore remove the mail template data and the field used for it on the digest model. Template is now forced to a Qweb view. We can also remove the template_id field. Indeed we think that having different templates for digests is a really advanced use case we do not want to support. Finally kpis and action computation is rewritten. It now returns an unique structure containing all information in a more neutral way, holding values for 3 columns. Purpose is to be less date-oriented in data construct and allow people to use digest qweb template to display a 3-columns KPIs content even if not related to yesterday / last 7 days / last 30 days. LINKS Task ID 2197417 Community PR odoo/odoo#51619 Upgrade PR odoo/upgrade#1256
-
Thibault Delavallée authored
PURPOSE Make digest email and tips more appealing. The goals of these tips are * to encourage the adoption of other apps (Did you know ?); * to make Odoo look more fun (Fun tips and tricks, young and dynamic style); * to show social proof and increase trust (emphasis on already existing projects / customers to); SPECIFICATIONS Add a daily digest option, allowing to send digests on a daily basis. It will be the default settings to help users coming back to odoo. Add a slowdown heuristics. If not any user targeted by a daily digest logs himself within 3 days, digest is slowed down to a weekly setting to avoid spam. Add a preference section in template, to hold notably links to some configuration steps sent mainly for admin / CEOs. Improve access on models. LINKS Task ID 2197417 PR odoo/odoo#51619
-
Thibault Delavallée authored
PURPOSE Make digest email and tips more appealing. The goals of these tips are * to encourage the adoption of other apps (Did you know ?); * to make Odoo look more fun (Fun tips and tricks, young and dynamic style); * to show social proof and increase trust (emphasis on already existing projects / customers to); SPECIFICATIONS Improve template according to FP specifications, aka Header Tip KPIs Preference text Want to customize? Mobile Tip Footer LINKS Task ID 2197417 PR odoo/odoo#51619 Upgrade PR odoo/upgrade#1256 Co-Authored-By:
Elisabeth Dickinson <edi@odoo.com> Co-Authored-By:
Thibault Delavallée <tde@odoo.com>
-
Thibault Delavallée authored
PURPOSE Make digest email and tips more appealing. The goals of these tips are * to encourage the adoption of other apps (Did you know ?); * to make Odoo look more fun (Fun tips and tricks, young and dynamic style); * to show social proof and increase trust (emphasis on already existing projects / customers to); SPECIFICATIONS Slightly reorganize code to ease future changes, notably in KPIs computation that will be made a bit more generic. LINKS Task ID 2197417 PR #51619
-
Thibault Delavallée authored
Currently only digest planned "today" are sent. Which means that digest that missed a cron tick are not sent anymore. We fix that by making the cron run on all digest whose scheduled date is in the past or today. LINKS Task ID 2197417 PR odoo/odoo#51619
-
Thibault Delavallée authored
PURPOSE Make digest email and tips more appealing. The goals of these tips are * to encourage the adoption of other apps (Did you know ?); * to make Odoo look more fun (Fun tips and tricks, young and dynamic style); * to show social proof and increase trust (emphasis on already existing projects / customers to); SPECIFICATIONS In this commit we simply add a first support of tools to render qweb templates like rendering jinja. Instead of giving the template to render the xml id of the view is passed. This code is meant to be improved in a near future with new use cases that will soon arise. LINKS Task ID 2197417 PR odoo/odoo#51619
-
- May 29, 2020
-
-
simon authored
Purpose ======= As the first displayed menuitem is the kiosk mode (if enabled) We can't easily navigate through the menuitems. Specification ============= Set the check in / check out menu first (as default). closes odoo/odoo#52148 Taskid: 2237996 X-original-commit: f74042ae3934d014f57a3de1edd54bd1834312af Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Jun 04, 2020
-
-
Adrian Torres authored
Commit bca2926b introduced a fix for ir.ui.view unlinks during uninstall but forgot to return the result of the super() call to unlink which broke behaviour downstream. This commit restores the proper behavior of returning the result of the call to super. Closes #52364 closes odoo/odoo#52435 X-original-commit: a3d91cc8 Signed-off-by:
Adrian Torres (adt) <adt@odoo.com>
-
Odoo's Mergebot authored
The present PR aims to replace the "time range menu" component in the control panel by a new component called "comparison menu". The new component purpose is roughly the same: compare a period of data in a reporting view with the previous period or the previous year. Its implementation is a bit simpler: it will only appear if at least one date filter is selected in the search view, and will suggest to compare each selected date option with the previous period or the previous year. Remarks: 1) The date filter options are now ordered a bit differently: the chronological order has been chosen. For example, we would get May 2019/June 2019/Q1 2019/May 2020/June 2020/Q1 2020 instead of June 2020/May 2020/Q1 2020/June 2019/May 2019/Q1 2019 (for simplicity no comparison is done between quarters and months). 2) The key 'timeRanges' in the ir.filters contexts is no more used. We now use the key 'comparison'. Task ID: 2245719 closes odoo/odoo#51379 Related: odoo/enterprise#10658 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com> Co-authored-by:
Mathieu Duckerts-Antoine <dam@odoo.com> Co-authored-by:
Julien Mougenot <jum@odoo.com>
-
Mathieu Duckerts-Antoine authored
Tests have been adapted accross all affected modules to support the new "comparison" menu component. Task ID: 2245719 Co-authored-by:
Mathieu Duckerts-Antoine <dam@odoo.com> Co-authored-by:
Julien Mougenot <jum@odoo.com>
-
Mathieu Duckerts-Antoine authored
The control panel test helpers related to the "time range" menu have been removed and a new helper for the "comparison" menu has been added. Task ID: 2245719 Co-authored-by:
Mathieu Duckerts-Antoine <dam@odoo.com> Co-authored-by:
Julien Mougenot <jum@odoo.com>
-
Mathieu Duckerts-Antoine authored
The "board" module has been adapted accordingly to the recently introduced comparison menu. Task ID: 2245719 Co-authored-by:
Mathieu Duckerts-Antoine <dam@odoo.com> Co-authored-by:
Julien Mougenot <jum@odoo.com>
-
Mathieu Duckerts-Antoine authored
This commit replaces the "time range menu" in the control panel by a new component: the "comparison menu". Its purpose is roughly the same: compare a period of data in a reporting view with the previous period or the previous year. Its implementation is a bit simpler: it will only appear if at least one date filter is selected in the search view, and will suggest to compare each selected date option with the previous period or the previous year. Task ID: 2245719 Co-authored-by:
Mathieu Duckerts-Antoine <dam@odoo.com> Co-authored-by:
Julien Mougenot <jum@odoo.com>
-
Julien Mougenot authored
Before this ref, the dropdown menu got his icon directly from his props. This means that any inheriting class had either to define its icon with the 'default_props' key or to have its parent giving it in the props. Now, the icon is retrieved from the props via a getter (same as title and items) and can be overridden to force a fixed icon on the class.
-
Rémi Rahir authored
closes odoo/odoo#52456 X-original-commit: 977f1bd2 Signed-off-by:
Rémi Rahir (rar) <rar@odoo.com>
-
Nasreddin (bon) authored
Issue - Go to unsubsribe sms page where the 'sms_code' is the same in multiple traces - Fill the correct phone number (same one of any traces) - Click on 'Unsubscribe me' Traceback is raised. Also, if empty phone number, still have successfull message. Cause Multiple traces with same "sms_code" but different "sms_number". The current behavior does not handle multiple traces. Solution - Filter and retrieve the trace with the correct "sms_number". - Add 'required' attribute on phone number input. opw-2264200 closes odoo/odoo#52452 X-original-commit: 34a8f633 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com> Signed-off-by:
bon-odoo <nboulif@users.noreply.github.com>
-
Laurent Smet authored
This method has been lost during the forward-port of: https://github.com/odoo/odoo/commit/161498cf8a75d62f9a8e1a17c6dc62a142b85acc closes odoo/odoo#52424 X-original-commit: 18d08cc3b48a12c015bd2513cc64ee1166336b5d Related: odoo/enterprise#10956 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
- Jun 03, 2020
-
-
Nicolas Martinelli authored
- Create a lead and set a language - Convert to opportunity and choose 'Create a new customer' The new customer created doesn't have the language of the lead set. This is more logical to set the same language to the new customer. opw-2270321 closes odoo/odoo#52376 X-original-commit: 1999c68ff4eb382019c92064d9285411314a39be Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
- Jun 04, 2020
-
-
Author Name authored
The event registration form is made up of a public widget that instantiates an internal normal widget. All public widget are automatically destroyed when entering in edit mode as well as the widget it created. Therefore, it's main element is removed from the DOM when the widget is destroyed. Here, we're detaching the main element from the internal widget before the widget is destroyed so that we avoid to destroy his main element from the DOM when entering in edit mode. task-2210733 closes odoo/odoo#52426 X-original-commit: d515e423 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
- May 29, 2020
-
-
DramixDw authored
The /shop/cart/update was accepting both GET and POST request. Therefore, we couldn't have csrf on the route meaning any website could change your cart if the route was known. task-2263776 closes odoo/odoo#51486 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
DramixDw authored
Refactoring the tag cloud to make it work with post request. Disallow multi-tag in get for bot indexation. task-2250385
-
DramixDw authored
It was deleted in 11.0 as it was not used anymore. Now, it is reintroduce as it is a nice utility function for some external app or fixes. Here, it is use so that /website/add and /website/add/<path> work as a controller POST with a CSRF token. task-2241766
-
- Jun 04, 2020
-
-
Martin Trigaux authored
Courtesy of Federico (fza) closes odoo/odoo#52404 X-original-commit: 7f035f38 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Jun 03, 2020
-
-
oco-odoo authored
https://github.com/odoo/enterprise/commit/7d17dad678361f161c259eddd45d9b5186941bd0 fixed the sign used for cash basis entries in the tax report, but this change had to be reflected on the tax_audit computed on cash basis entries as well. Before that, cash basis entries never were made on sales journals, and their move lines never had a refund-typed invoice_id. So it means those factors, when present on the original invoice, never influenced the audit string computed for cash basis entries. This was obviously wrong. closes odoo/odoo#52381 X-original-commit: 1157b3073f409c9fbdffe8f3b3322331f470de02 Related: odoo/enterprise#10927 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com> Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com>
-
- Jun 04, 2020
-
-
Laurent Smet authored
- A custom COA could be passed as parameter. - Merge the invoice setup to the generic suite like it is in master. forwart-port of https://github.com/odoo/odoo/commit/161498cf8a75d62f9a8e1a17c6dc62a142b85acc closes odoo/odoo#52378 X-original-commit: c0acebe2c55f7030df3bd10ad8058da6a070aa72 Related: odoo/enterprise#10921 Signed-off-by:
Josse Colpaert <jco@openerp.com> Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
Michael Mattiello (mcm) authored
This commit adds the support of nolabel attribute on fields in list view. This attribute can be used to empty the column header. Example of use: <record id="module_example_tree_view" model="ir.ui.view"> <field name="name">module.example.tree.opportunity</field> <field name="model">module.example</field> <field name="arch" type="xml"> <tree> <field name="name"/> <field name="tag_ids" widget="many2many_tags" nolabel="1"/> </tree> </field> </record> Result: This will create a tree view with 2 columns. The second column will have an empty header and won't be sortable. Name | --------+-------------- Record1 | [tag1] Record2 | [tag1][tag2] Record3 | [tag2] closes odoo/odoo#52302 Task: 2269315 Signed-off-by:
Aaron Bohy (aab) <aab@odoo.com>
-
Ray Carnes authored
closes odoo/odoo#52384 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Jun 03, 2020
-
-
Arturo Flores authored
According to http://cpe.sunat.gob.pe/sites/default/files/inline-files/anexoV-340-2017.pdf The right tax for the FRE tax should be 9996 and not 9997 closes odoo/odoo#52387 X-original-commit: 5c6e8bb9 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-