- Feb 04, 2020
-
-
Xavier-Do authored
Since this option is soon to be used, this rename is a last tweek to make it more logical to use since it will point to a single upgrade dir most of the time. closes odoo/odoo#44593 X-original-commit: 1c8e2809 Signed-off-by:
Xavier Dollé (xdo) <xdo@odoo.com>
-
Olivier Dony authored
During the port to 13.0 and the new Settings dashboard, the "Load demo data" button visibility condition was reversed. Cfr #34290 or https://github.com/odoo/odoo/pull/34290/files#diff-e5df7b873d03867c9527da957b762802L131 closes odoo/odoo#44587 X-original-commit: 61b7d537 Signed-off-by:
Christophe Simonis <chs@odoo.com>
-
Odoo's Mergebot authored
The creation of a new blog post is noisy. The user is disturbed with colors (purple box, blue borders, etc). task-2144335 closes odoo/odoo#43692 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
Romain Derie authored
Before this commit, the covers from event & blog, which shares the same template, would be set a fixed bg-primary color which couldn't be changed. This commit adds the possibility to change that bg color. task-2144335
-
Romain Derie authored
Next commit will add new cover properties entries for the bg color. Still, we want a default `bg-primary` class. Instead of addind 3 new default value in existing cover_property fields, the chance is taken to make a mixin out of that field to avoid code duplication. task-2144335
-
Katherine Zaoral authored
Properly set the transfer account in the company taking account the accounts defined in th company domain. We found this error because in l10n_ar module we have 3 chart of accounts based on the company AFIP responsability which actually have same transfer_account_code_prefix. For that reason it was setting a transfer account to the company which is not belongs to the current company. closes odoo/odoo#44586 X-original-commit: d3822883 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
Debauche Stéphane authored
Bug === A dependecy is missing "lazyloader.js" Task #2118959 opw-2188615 closes odoo/odoo#44577 X-original-commit: ea787bec Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
aab-odoo authored
When there are two modules with the same name, an error is thrown and only one of them is executed. closes odoo/odoo#44573 Signed-off-by:
Lucas Perais (lpe) <lpe@odoo.com>
-
Romain Derie authored
task-2144335
-
Jeremy Kersten authored
As this is the first thing you want to do when creating a blog, it will ease the onboarding. task-2144335
-
Swapnesh Shah authored
Before this commit, Creating New Template from "Send Invoice" wizard doesn't update template_id on the Wizard. In this commit, We write newly created template_id on the wizard. closes odoo/odoo#44561 X-original-commit: 454e6ed9 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
Swapnesh Shah authored
Fixes #43705 Before this commit, There will be tracback on converting currecy if there is not date on tax line. Now we use current date to as fallback to convert currency. closes odoo/odoo#44559 X-original-commit: 2b88d71c Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
Martin Trigaux authored
The title of notification is the author name escaped (for security reasons). if (message.hasAuthor()) { title = _.escape(message.getAuthorName()); } When forwarded to the system notification, it does not need to be escaped though, as the system notification is not HTML based. Without this patch, a user named "Bob's friend" sending a message was creating a notification with the title "Bob's friend" Unescaping the notification body just in case but the HTML of the body in a mail.messages should be stripped by _notifyIncomingMessage. Unescaping will just ignored unescaped characters and should do nothing on messages not escaped. Fixes odoo/odoo#24846 closes odoo/odoo#44550 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Odoo's Mergebot authored
Improvements for custom models and some default behaviours linked to the Studio model configurator (Enterprise task). In a nutshell: - mark the default `x_name` field of a custom model as 'to be copied' - improvement for kanban views that makes it easier to user with custom models The interesting part is in the Enterprise `web_studio` module. Task 2091654 Enterprise PR: odoo/enterprise#7326 closes odoo/odoo#42055 Related: odoo/enterprise#7326 Signed-off-by:
Damien Bouvy (dbo) <dbo@odoo.com>
-
Damien Bouvy authored
Copying a custom model's record seems pointless by default, since no field is actually copied. It makes sense to copy at least the `x_name` field, to make it clear to the user that the system understood it was duplicating something and not just creating something entirely new.
-
Damien Bouvy authored
The 'new' (read: the classes not in the 'compatibility layer section') classes of the kanban views did not allow to cleanly separate an image header from a content container. This commit adds such a container, allowing a very simple layout that should work all the time for a typical 'card with left image and right content layout': ```xml <div class="o_kanban_record oe_kanban_global_click o_kanban_record_has_image_fill"> <field class="o_kanban_image_fill_left" name="image_128" widget="image" options="{'zoom': true, 'background': true, 'preventClicks': false}"/> <div class="o_kanban_record_details"> <div class="o_kanban_record_top"> <div class="o_kanban_record_headings"> <strong class="o_kanban_record_title"> <field name="x_name"/> </strong> </div> </div> <div class="o_kanban_record_body"> <!-- some fields here (e.g. tags,...) --> </div> <div class="o_kanban_record_bottom"> <div class="oe_kanban_bottom_left"> <!-- some fields here (e.g. kanban status,...) --> </div> <div class="oe_kanban_bottom_right"> <!-- some fields here (e.g. user image,...)--> </div> </div> </div> </div> ``` Before this commit, the absence of a container for the right side meant that the top/body/bottom were flex-growed in a flex-direction: row element, appearing as 3 columns instead of rows.
-
Damien Bouvy authored
The `FieldBinaryImage` assumes that the image mixin is used to manage its fields - this is mostly true, until you use custom fields. This commit makes using the 'background' option of the Image widget possible by fallbacking the thumbnail field's name to the name of the field itself instead of `image_128` when we're dealing with a custom field.
-
Nicolas Martinelli authored
- Create a product A MTO, Buy Add a supplier S1 and set a specific reference - Create a product B MTO, Buy Add a supplier S2 and set a specific reference - Create a SO with A & B, confirm - 2 RFQ are created The first RFQ is created with the correct reference, but not the second one. This is because `display_name` depends on context keys: it is computed once for both products with `partner_id` set as `S1`, while it should be recomputed for product B with `partner_id` set as `S2`. In order to avoid this, we use `with_prefetch()` to avoid reusing the prefetched value. opw-2176638 closes odoo/odoo#44564 X-original-commit: d96c1910be8f242455de9b443fc9db82155b4dd1 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Victor Feyens authored
The web_diagram module was removed in saas-13.1, along with the diagram view support but some translation files were brought back by forwardports. closes odoo/odoo#44563 X-original-commit: 3f50601736b23dac78720d24d5b67bf6b94f5f43 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Nicolas Martinelli authored
- Create an invoice for 1000 - Make a partial payment (e.g. cash) for 250 - Print the ISR The ISR contains an amount of 1000 (total amount), while it should be 750 (amount left to pay). opw-2180538 closes odoo/odoo#44552 X-original-commit: 421bbcd5 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Jason Van Malder authored
Issue - Install eLearning - Edit the header > change image - Save Image not changed Cause We do not take new style/class attrib in account in replace_arch_section. Solution Take them in account OPW-2122947 OPW-2182109 closes odoo/odoo#44541 X-original-commit: 8579c0ca Signed-off-by:
Jason Van Malder (jvm) <jvm@odoo.com>
-
- Feb 03, 2020
-
-
Nicolas Martinelli authored
The parameter `lot_id` must be a recordset, not an `int`. opw-2188752 closes odoo/odoo#44525 X-original-commit: aeafd2a8 Signed-off-by:
Nicolas Martinelli (nim) <nim@odoo.com>
-
Martin Trigaux authored
The computation was incorrect, the answer was 10, not 110 with the previous formula Courtesy of Frederico Freire Boaventura closes odoo/odoo#44514 X-original-commit: 577e1ad8314cac6e61f60f997f338df4b7a1da38 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
Romain Derie authored
This commit shows a toaster when publishing a record through the toggle in the topbar. The `_description` field is used to do that, as it is supposed to contains a 'business oriented' descriptive name, see task-37311. Indeed, this field is used in studio and in mail templates. task-2144335
-
Romain Derie authored
task-2144335
-
Romain Derie authored
Before this commit, the web_editor option 'Style' which has a `Quote` entry would not do anything visually. Indeed, what it does is inserting a `<blockquote/>` element in the DOM but is has no style anymore in BS4. This commit restore the style we had with BS3. task-2144335
-
Romain Derie authored
This commit removes some noise of the UI in edit mode, to have a more easy interface for onboarding blog creation. task-2144335
-
Romain Derie authored
task-2144335
-
Romain Derie authored
task-2144335
-
Romain Derie authored
task-2144335
-
- Jan 31, 2020
-
-
jerome hanke (jhk) authored
Steps to reproduce: - install sales - create a new quotation Previous behavior: the avatar next to the author's name is empty in the mailthread Current behavior: avatar is displayed as expected opw-2187231 closes odoo/odoo#44407 X-original-commit: 24ba9f99 Signed-off-by:
mightyjol <jhk-odoo@users.noreply.github.com>
-
- Jan 29, 2020
-
-
Thibault Francois authored
The default journal depends on the company define in the context or the company in the environment In case of online signature/payment of a SO in a different company then the public user The company will be wrong and the journal_id as well It lead to a fail of the payment since the payment could not be reconciled with the invoices This is happening because the force_company is not taken into account for the default journal This commit take the force_company into account, it take the precedences on the default_company closes odoo/odoo#44238 X-original-commit: 8158e286 Signed-off-by:
Laurent Smet <smetl@users.noreply.github.com>
-
- Feb 03, 2020
-
-
Jeremy Kersten authored
Before this commit, the date range was not known without open the record in backend. It is really painfull to don't know when a guy of your team ping you on a new leave the date from the current leave. (today ? next week ? ...) Now we have the date into the name_get and so the subject of the email. task-2001439 Nothing related to next activity ;) but idea was the same. closes odoo/odoo#44462 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
Denis Ledoux authored
If an automated action raises an exception, in the traceback modal: - For admins, display Disable & Edit automated action buttons to be able to directly know with wihch automated action the error occurred, and to give the possibility to edit or disable it quickly, - For regular users, just add a paragraph to tell with which automated action the error occurred, so they can give this useful information to their administrator This is specially useful for databases which have just been upgraded to a newer version, and for which the server action is failing because its code is no longer supported. closes odoo/odoo#44513 X-original-commit: 8f3940c132bbbc99e47fa3f0cba0e768159d9af2 Signed-off-by:
Denis Ledoux (dle) <dle@odoo.com>
-
jbm-odoo authored
closes odoo/odoo#43188 Related: odoo/enterprise#7676 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
jbm-odoo authored
In stock, before sending an sms, we check if there aren't the key 'skip_sms' in the context. It is useful, for example, in fsm application. TaskID: 2081191
-
- Jan 31, 2020
-
-
Lucas Lefèvre authored
Purpose ======= Currently, it is only possible to set an Analytic Account for a whole Project, there is no distinction by task. However, if the user has 1 task per customer, he cannot track the costs and revenues for that specific customer easily. He has to manually change the AA of the timesheets' analytic lines. An option would be to set a different AA on the SO generating the task, but the AA of the project takes over anyway. Specifications ============== If the user sets an AA on the SO, it should bypass the one set on the project Add an AA field below the Email cc one on tasks in debug mode - should be related to the AA field from the SO - it should also bypass the AA set on the project All the timesheets from this task should be related to the AA field set on the SO/Task closes odoo/odoo#40844 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Feb 03, 2020
-
-
Martin Trigaux authored
time.clock is deprecated since python 3.3 and no longer exists in python 3.8 time.process_time was introduced in python 3.3 Replace "is" by "==" as this produces a SyntaxWarning in python 3.8 Fixes odoo/odoo#41313 closes odoo/odoo#44502 X-original-commit: f03b4cb5 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
qsm-odoo authored
Part of https://github.com/odoo/odoo/pull/44500 closes odoo/odoo#44500 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com>
-
qsm-odoo authored
Part of https://github.com/odoo/odoo/pull/44500
-