Skip to content
Snippets Groups Projects
  1. Jan 27, 2021
    • qsm-odoo's avatar
      [FIX] web_editor: properly hide the custom colors section if needed · 8f9eb57d
      qsm-odoo authored
      The 'custom' key was not working anymore as a key to exclude the
      ability to choose a custom color from a color palette widget. It was
      thus appearing for choosing the transparent color for over-the-content
      headers... which is not possible to save right now.
      
      Part of https://github.com/odoo/odoo/pull/65139
      
      
      
      closes odoo/odoo#65139
      
      Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
      8f9eb57d
    • qsm-odoo's avatar
      [FIX] website, *: reset header items colors to default when transparent · 2172295c
      qsm-odoo authored
      *: web_editor
      
      Users can choose one of their color combination to apply on the header.
      If they then choose to make the header transparent over the content for
      a specific page, the color of buttons & other components in the header
      should be reset to the default website color combination's colors as the
      header component are now appearing over the default content.
      
      Part of https://github.com/odoo/odoo/pull/65139
      2172295c
    • Rémy Voet (ryv)'s avatar
      [FIX] stock_account: fix valuate empty stock. · 80811df2
      Rémy Voet (ryv) authored
      
      To reproduce, product A in AVCO:
      - Buy 2 product A at 1.00 $
      - Buy 1 product A at 1.01 $
      - Sell 3 product A.
      - The stock valuation won't be correct: still remain 0.01 in
      stock without quantity and the svl related to the sell
      have a value of 3.00 (instead of 3.01)
      
      To fix:
      In case of AVCO, add the rounding error value to the out
      stock move layer.
      
      closes odoo/odoo#65103
      
      X-original-commit: f6b019fc
      Signed-off-by: default avatarWilliam Henrotin <Whenrow@users.noreply.github.com>
      80811df2
    • Denis Ledoux's avatar
      [FIX] utm: `utm.stage` must be defined before being used in a `default=` · da487e9e
      Denis Ledoux authored
      
      Otherwise, this can raise the below issue during an upgrade (`-u`):
      ```
        File "/home/odoo/src/odoo/13.0/odoo/modules/registry.py", line 369, in init_models
          model._auto_init()
        File "/home/odoo/src/odoo/13.0/odoo/models.py", line 2529, in _auto_init
          new = field.update_db(self, columns)
        File "/home/odoo/src/odoo/13.0/odoo/fields.py", line 2456, in update_db
          return super(Many2one, self).update_db(model, columns)
        File "/home/odoo/src/odoo/13.0/odoo/fields.py", line 857, in update_db
          self.update_db_notnull(model, column)
        File "/home/odoo/src/odoo/13.0/odoo/fields.py", line 897, in update_db_notnull
          model._init_column(self.name)
        File "/home/odoo/src/odoo/13.0/odoo/models.py", line 2455, in _init_column
          value = field.default(self)
        File "/home/odoo/src/odoo/13.0/addons/utm/models/utm.py", line 28, in <lambda>
          default=lambda self: self.env['utm.stage'].search([], limit=1),
        File "/home/odoo/src/odoo/13.0/odoo/models.py", line 1648, in search
          res = self._search(args, offset=offset, limit=limit, order=order, count=count)
        File "/home/odoo/src/odoo/13.0/odoo/models.py", line 4497, in _search
          self._cr.execute(query_str, where_clause_params)
        File "/home/odoo/src/odoo/13.0/odoo/sql_db.py", line 173, in wrapper
          return f(self, *args, **kwargs)
        File "/home/odoo/src/odoo/13.0/odoo/sql_db.py", line 250, in execute
          res = self._obj.execute(query, params)
      psycopg2.errors.UndefinedColumn: column utm_stage.sequence does not exist
      LINE 1: SELECT "utm_stage".id FROM "utm_stage" ORDER BY "utm_stage"
      ```
      
      upg-5396
      
      closes odoo/odoo#65129
      
      X-original-commit: 9294c1dc
      Signed-off-by: default avatarDenis Ledoux (dle) <dle@odoo.com>
      da487e9e
  2. Jan 26, 2021
  3. Jan 27, 2021
  4. Jan 26, 2021
    • Goffin Simon's avatar
      [FIX] sale_coupon: promo_applicability on next order · 40d3ac25
      Goffin Simon authored
      
      Steps to reproduce the bug:
      
      - Create a promotion program PP
      - Set 50 in minimal amount
      - Set promo_applicability = on_next_order
      - Set reward_type = discount
      - Set discount_type = discount
      - Create a new sale order SO with a product with price 100€
      - Cancel the SO
      
      Bug:
      
      A coupon C had been created
      
      PS: When reset to draft and confirm SO, C became valid
      
      Closes #64361
      
      opw:2431740
      
      closes odoo/odoo#65063
      
      X-original-commit: c2ce00173c612d38dd8dc6b1f15edf2261f2acc6
      Signed-off-by: default avatarSimon Goffin (sig) <sig@openerp.com>
      40d3ac25
  5. Jan 22, 2021
    • Adrien Widart's avatar
      [FIX] google_calendar: let Google send emails · c0a2729d
      Adrien Widart authored
      
      When synced with Google, if a user adds an event to Odoo Calendar, both
      Google and Odoo will send an invitation to attendees.
      
      To reproduce the error:
      (Need mailcatcher)
      1. Sync Odoo Calendar with Google Calendar
      2. Create an event in Odoo Calendar
      	- Add at least one attendee who has an email address
      3. Save
      
      Error: Odoo's server sends an email. When synced, it should not, it
      should let Google in charge of emails sending.
      
      (Similar to #62383)
      
      OPW-2440485
      
      closes odoo/odoo#64902
      
      Signed-off-by: default avatarAdrien Widart <adwid@users.noreply.github.com>
      c0a2729d
  6. Jan 26, 2021
  7. Jan 27, 2021
    • Andrea Grazioso (agr-odoo)'s avatar
      [FIX] coupon: printed coupon not properly displayed · f88bc1b3
      Andrea Grazioso (agr-odoo) authored
      
      Generate a coupon code, print it
      
      opw-2444242
      
      closes odoo/odoo#64961
      
      Signed-off-by: default avataragr-odoo <agr-odoo@users.noreply.github.com>
      f88bc1b3
    • Adrien Widart's avatar
      [FIX] mrp: kits and PO based on reordering rules · f53ab550
      Adrien Widart authored
      
      If a product is a kit and has a storable component, if this component is
      already ordered (with sufficient quantity), when running the scheduler,
      the ordered quantity of this component will still be increased.
      
      To reproduce the error:
      1. Create two products P_kit and P_compo
      	- Both are storable products
      	- P_compo must have at least one vendor
      2. Create a BoM for P_kit:
      	- Must be a kit
      	- Add P_compo to components
      3. Set a reordering rule for P_kit
      4. Inventory > Operations > Run Scheduler
      5. Go to Purchase and find the generated RfQ
      	- The ordered quantity is correct
      6. Repeat 4-5
      
      Error: This time, the ordered quantity is incorrect. While you don't
      have any P_kit on hand, each time the scheduler is run, the ordered
      quantity will increase.
      
      A similar issue has already been fixed: #63891. The original commit
      targets the version 13, but the fix has also been applied to v14 (#64277).
      However, here the case is slightly different: the user run the scheduler
      twice while the first RfQ is not yet confirmed and received. In such a
      case, the scheduler must also check the "quantity in progress". In version
      14, it seems nothing computes this quantity for the kits.
      
      OPW-2421841
      
      closes odoo/odoo#64699
      
      Signed-off-by: default avatarAdrien Widart <adwid@users.noreply.github.com>
      f53ab550
    • Mohammed Shekha's avatar
      [FIX] *: update tour sequence · 437b5f94
      Mohammed Shekha authored
      
      with this commit we are updating sequence of onboarding tours
      
      task-2444153
      
      closes odoo/odoo#64846
      
      Related: odoo/enterprise#15886
      Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
      437b5f94
  8. Jan 26, 2021
  9. Jan 21, 2021
  10. Jan 25, 2021
  11. Jan 26, 2021
  12. Jan 22, 2021
  13. Jan 26, 2021
  14. Jan 25, 2021
  15. Jan 22, 2021
    • Xavier BOL (xbo)'s avatar
      [FIX] sale_timesheet: review views inherited from project.task model · d6361403
      Xavier BOL (xbo) authored
      
      Before this commit, when the user with no access right to Timesheet App
      wants to see the tasks in a project and sale_timesheet module is
      installed, the user has a traceback saying remaining_hours field is not
      find in the parent view of
      `sale_timesheet.view_task_form2_inherit_sale_timesheet`.
      
      This traceback is raised because the
      `hr_timesheet.view_task_form2_inherited` is not used if the user has no
      access right to Timesheet App and then remaining_hours field is not
      defined for this user because this field is appeared in the view in
      hr_timesheet module.
      
      This commit revises the views inherited from the project.task model to
      give the user without access rights in Timesheet the possibility to see
      the tasks in any project he can see.
      
      opw-2429662
      
      closes odoo/odoo#64900
      
      Signed-off-by: default avatarSimon Goffin (sig) <sig@openerp.com>
      d6361403
  16. Jan 25, 2021
  17. Jan 24, 2021
  18. Jan 22, 2021
Loading