- Aug 01, 2019
-
-
wan authored
* remove _onchange_invoice_date_due as it is superseeded by _onchange_recompute_dynamic_lines * change invoice_date_due only if not set and if there is no payment term, it was erased and set to invoice_date_due if we did not set invoice_date_due before posting * raise a warning if we validate an empty move/invoice * correct the renaming of user_id -> invoice_user_id in invoice template * correct the renaming of date_invoice -> invoice_date * the data on purchase journals was not displayed correctly as the sign of the amount in the graphs was not signed correctly * the methods for computed invoice reference were not correctly renamed in l10n_be for (account.move)._get_invoice_computed_reference * the default reconciliation model was only installed in the first company, we make it now install along with the chart of account * the partner of invoices and the label of invoice lines should be required * the widget one2many_list doesn't exist closes odoo/odoo#34786 Signed-off-by:
Cedric Snauwaert (csn) <csn@openerp.com>
-
Sapan Zaveri authored
mistakenly product demo file load as real data bug introduced by this commit #8226b6d5c4b23f28e9f050b81ecdc2d26b9b6e6b task-2046174 closes #34874 Signed-off-by:
Josse Colpaert <jco@openerp.com>
-
- Jul 30, 2019
-
-
David Monjoie authored
Since the renderer does not know the view id, we moved the local storage key computation up to the basic controller, which makes more sense since the renderer is supposed to be inert. The _processColumns function had to be moved in willStart however, since it now needs the controller to respond to the trigger_up and the controller is not present during the init of the renderer. closes odoo/odoo#34051 Signed-off-by:
VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
-
David Monjoie authored
-
- Jul 22, 2019
-
-
Jigar Vaghela authored
closes odoo/odoo#35067 Signed-off-by:
oco-odoo <oco-odoo@users.noreply.github.com>
-
- Jul 25, 2019
-
-
Xavier Morel authored
An unintended side-effect of #29431 is apparently that auto_install applications automatically get reinstalled when uninstalled, which was not the goal. Move the auto_install selection back into db.py, this version seems to work even though the previous attempt was apparently unsuccessful. closes odoo/odoo#35180 Signed-off-by:
Xavier Morel (xmo) <xmo@odoo.com>
-
- Jul 26, 2019
-
-
Shreya Modi authored
when opening the sale promotion in mass mail, it creates a traceback due to invoice compute method as it does not have invoice id because of changes in account.move. task-2036203 closes odoo/odoo#35222 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
- Jul 18, 2019
-
-
Alexandre Kühn authored
Revision on https://github.com/odoo/odoo/commit/de7c119e666d108564b3889d1c08e5bf2e4da082 Partners are registered on notification channel `(dbname, 'ir.needaction', partner_id)`. closes odoo/odoo#34974 Signed-off-by:
Xavier Dollé (xdo) <xdo@odoo.com>
-
- Jul 26, 2019
-
-
Christophe Simonis authored
The right patch was already there, I should just have to remember to get it. See https://github.com/odoo/odoo/pull/34912#issuecomment-511794024
-
Christophe Simonis authored
Oversight of previous forward-port.
-
Antoine Guenet authored
Select fields were not `contenteditable=true`, which means they could not be edited. Besides, being that each of their option was individually considered a snippet, and that they were contained in `div` tags, they were effectively unbreakable, which means that adding new options by hitting `ENTER` did not work (note: this also currently doesn't work properly in v12.0, for other reasons as the concept of an "unbreakable" node didn't exist yet). This fixes those issues. closes odoo/enterprise#4817 Signed-off-by:
Quentin Smetz (qsm) <qsm@odoo.com> X-port/Cherry-pick of odoo/enterprise@af51d9ff2ac952ef7d068754eca86635c25e7538
-
Christophe Simonis authored
-
Christophe Simonis authored
Oversight of previous forward-port.
-
Christophe Simonis authored
-
Christophe Simonis authored
Oversight of previous forward-port.
-
- Jul 25, 2019
-
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
On the users' view, groups are shown grouped by application (module category). Deleting a module category should, therefore, regenerate the view. closes odoo/odoo#35181 Signed-off-by:
Christophe Simonis <chs@odoo.com>
-
Christophe Simonis authored
-
Géry Debongnie authored
when last field is numeric closes odoo/odoo#35176 Signed-off-by:
VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Nans Lefebvre authored
Fine-tuning of commit 5621ae3d. While it focused on fixing the 'mass_mail' mode, it forgot to keep the correct behaviour for the case where only one mail is sent. In the latter case, it is typical to overwrite the template values, especially for the body, before sending the mail. In that case, applying the onchange on the templates overwrites the user input. Note that in the case where the template is undefined it would set the composer values to empty ones; while standard use would not allow in mass mail to both send content and have no template, it could be done via a customisation. opw 2041631 closes odoo/odoo#35164 Signed-off-by:
Nans Lefebvre (len) <len@odoo.com>
-
- Jul 24, 2019
-
-
Romain Derie authored
Before this commit, for the following view tree: P (active) | I (inactive) | II (active) When calling `get_related_views()` on 'P', it would wrongly return 'II'. It shouldn't, since its parent 'I' is inactive. Step to reproduce: - Go to /shop - Enable ecommerce categories - Enable Collapsible Cateogories - Disable ecommerce categories - Collapsible categories is still shown even if its parent got archived closes odoo/odoo#35154 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
- Jul 25, 2019
-
-
Arnold Moyaux authored
Error due to other module (e.g. purchase_stock, mrp) that will define their own rules in order to merge or not moves together. Usecase: - Install purchase_stock - Create a product MTO + buy with a vendor - Create a SO of 1 unit - On the PO receive 2 units - On the delivery deliver 2 units It will create an empty delivery and put the entire move in a back order. First issue the extra move is created as a MTO if it's copied from an MTO move. So il will trigger all the pull rule. We won't it because it's an extra quantity and the rules should be only trigger by the original document (SO/MO). Also an extra move in a picking do the hypothesis that the original move and the extra move will always be merged together. But in the previous usecase, the module purchase add the condition that 'created_purchase_line_id' and 'purchase_line_id' should be the same in order to merge move. 'created_purchase_line_id' is also copy=False, so the move and the extra move will not be merged. create_extra_move only returns the extra move and _action_done only process the moves returned by _create_extra_move. It result by an original move not merged and not processed by _action_done, it will be automaticaly set in a back order and the extra move is processed. In order to fix it, check if the move and the original move will be merged. If not, returns both moves. opw-2008113 Close #34005 closes odoo/odoo#34411 Signed-off-by:
Simon Lejeune (sle) <sle@openerp.com>
-
David Dufresne authored
closes odoo/odoo#35079 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Jul 24, 2019
-
-
Romain Derie authored
Before this commit, for the following view tree: P (active) | I (inactive) | II (active) When calling `customize_template_get()` on 'P', it would wrongly return 'II'. It shouldn't, since its parent 'I' is inactive. Step to reproduce: - Go to /shop - Enable ecommerce categories - Enable Collapsible Cateogories - Disable ecommerce categories - Collapsible categories is still shown even if its parent got archived Test writen in 12.0 with #35154 closes odoo/odoo#35155 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
Julien Mougenot authored
Changed the way some field types are displayed. Before this commit, column width in a list were calculated according to a given factor (integer), determining their weight. Now, some specific fields have an hardcoded width instead. This task also slightly tweaks some width factors, in order to try to have a better layout in most list views Task 1985916 closes odoo/odoo#35147 Signed-off-by:
VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
-
Christophe Simonis authored
-
Christophe Simonis authored
-
Goffin Simon authored
Steps to reproduce the bug: - Create a company C with currency = USD - Create a vendor V with a supplier currency = EUR - Create a PO for V with one line, the default currency is EUR - Save Bug: The currency of the PO was USD when saving because the field currency is in readonly when the state is draft. opw:2035640 closes odoo/odoo#35144 Signed-off-by:
Simon Goffin (sig) <sig@openerp.com>
-
Christophe Simonis authored
-
Jairo Llopis authored
Before this patch, if a website is deleted, its redirections will stay, affecting other websites. Now, website-specific redirections will disappear along with their corresponding website. closes odoo/odoo#35130 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-
Romain Derie authored
Since 5c9cea4e, it was not possible to remove an applied promo code pricelist by adding an empty promo code on checkout (eg removing the one shown in the promo code input). Indeed, when sending an empty promo code, the `search()` done in the controller would not find any pricelist as promo would be en empty string. For the rest, check code on mentionned commit. See `sale_get_order()` method docstring about `code` param: "If empty, it's a special case to reset the pricelist with the first available else the default.". Fixes #34633
-
svs-odoo authored
Before this commit, in list editable, when user save multiple records in the same time, the context is passed for the write but not for the read. Now, the context is passed also for the read. closes odoo/odoo#35113 Signed-off-by:
Géry Debongnie (ged) <ged@openerp.com>
-
Martin Trigaux authored
closes odoo/odoo#35119 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Jul 23, 2019
-
-
Juhil Somaiya authored
Before this commit, the navigation menu was not clickable because of higher z-index of the slides fullscreen menu. This commit fixes that by correctly setting z-index, using the standard variable to avoid custom values. task-2036877 closes odoo/odoo#35107 Signed-off-by:
Thibault Delavallee (tde) <tde@openerp.com>
-
Siddarth Gajjar authored
- When reports print with long string in footer will spoil layout. This issue will fix that. Task ID: 1960423 Closes at #33271 closes odoo/odoo#35097 Signed-off-by:
Damien Bouvy (dbo) <dbo@odoo.com>
-
- Jul 24, 2019
-
-
Jeremy Kersten authored
This commits avoid to call recompute when you write on the rank without touch the karma_min value. On write on karma_min, we have 2 cases: - Rank order are the same, just need to recompute the rank for the user that could be impacted. Eg. if karma_min changes from 45 to 50, we need to recheck for all user between 45 and 50 their new rank. - Rank order are not the same, we need to recompute for all users. (could be still improved if needed) When you recompute the rank on a list of users, depending of the number of users (bulk if more than 3 * number of rank) we check for each user what is the new rank, or for each rank whats is the new users. task-internal No way to edit a rank on the prod server. Lock sql -> crash server closes odoo/odoo#34835 Signed-off-by:
Jérémy Kersten (jke) <jke@openerp.com>
-