Skip to content
Snippets Groups Projects
  1. Oct 27, 2016
  2. Oct 26, 2016
    • Christophe Simonis's avatar
    • Raphael Collet's avatar
      [FIX] base: prevent deletion of custom fields when other fields depend on them (#13978) · ea9ef7c3
      Raphael Collet authored
      Consider that you have a custom one2many field based on a custom many2one
      field, and that you delete the many2one field.  From that point on, it is
      impossible to load the registry of the corresponding database.  To prevent this
      from happening, we add a check before modifying or deleting custom fields.
      ea9ef7c3
    • Goffin Simon's avatar
      [FIX] account: invoices on unmatched payment · 69c41c7e
      Goffin Simon authored
      When unreconciling a payment from an invoice, the link between
      the payment and the invoice (in many2many invoice_ids)was kept
      and then the invoice still appeared when clicking on the button
      invoices in the payment form view.
      
      The invoice must be removed from invoice_ids.
      
      opw:691692
      69c41c7e
    • Aaron Bohy's avatar
      [FIX] web: list editable: traceback when removing a row in edition · 1f06cc41
      Aaron Bohy authored
      When clicking on the trash to remove a line (e.g. a sale order line
      in a quotation form view) while editing another line, it produces a
      traceback (in most cases), or behaves randomly (less frequently)
      like removing both lines, or one of them, or maybe none of them.
      
      Anyway, this feature doesn't work at all, so this commit simply disables
      it when we are in edition mode.
      
      In a perfect world, we would fix the feature instead of disabling it,
      but the code of the list editable is so instable that it would most
      certainly break something else.
      
      Closes #13778
      1f06cc41
    • Aaron Bohy's avatar
      [FIX] board: traceback when removing calendar from dashboard · 5591a44e
      Aaron Bohy authored
      The dashboard instantiates an action manager for each view it contains.
      When removing a view from the dashboard, the $el of its action manager
      is simply removed from the DOM, unbinding all DOM event handlers
      attached on it and its children, but the action manager isn't destroyed.
      It means that Odoo event handlers (like core.bus.on(...)) aren't unbound.
      
      This causes a traceback when removing a calendar view from the dashboard,
      because such an Odoo handler is defined, and tries to access some
      autocomplete stuff that doesn't exist anymore since the element has been
      removed.
      
      This commit ensures to destroy the action_manager.
      
      Closes #13858
      5591a44e
    • Aaron Bohy's avatar
      [FIX] web_diagram: wait for dialog's form view to be ready · cc59da1f
      Aaron Bohy authored
      Since rev. 002660a9, form views are instantiated with their fields_view.
      This has an impact in FormViewDialog as the inner form view
      instantiation is now asynchronous. The diagram view instantiates several
      FormViewDialogs but doesn't wait for the form view to be instantiated
      before accessing it, which produces a traceback.
      
      Closes #13775
      cc59da1f
    • Nicolas Martinelli's avatar
      [FIX] point_of_sale: journal of closing entries · e99e0d69
      Nicolas Martinelli authored
      - Invoice a POS order => the invoice number is for example 0001
      - Close the POS session
      - Invoice another POS order => the invoice number is 0003
      
      This is because the journal used for the POS closing entries is the same
      than the journal used for the customer invoices. Therefore, the closing
      entry consumes a sequence number of the invoices.
      
      This affects POS orders, but potentially SO as well if they use the same
      journal.
      
      This is fixed in v10 from commit b5b0d36b. In v9, we use a workaround
      by looking first if a `ir.config_parameter` named
      `pos.closing.journal_id` exists. We use this journal for the session
      closing.
      
      opw-691771
      e99e0d69
  3. Oct 25, 2016
  4. Oct 24, 2016
  5. Oct 23, 2016
Loading