Skip to content
Snippets Groups Projects
  1. Jan 17, 2020
    • David Beguin's avatar
      [IMP] web: split _content_image with get response sub method · 307f51ab
      David Beguin authored
      This commit splits the _content_image method to allow to call the
      get response part individually.
      
      This is needed because _content_image call binary_content using current user
      access. But in some cases, we need to render a binary content even if the user
      does not have access to the target model (typically for public users).
      
      The binary_content is gotten in sudo mode where needed and the result can be
      given to the _content_image_get_response.
      
      This will avoid code duplication where the sudo use case is met.
      
      Usage :
      This commit prepare the redesign of survey. This _content_image_get_response
      method will be called to grant access of background image even for public
      users. Other modules will use this new method like elearning (website_slides)
      to display karma ranking, etc.
      
      Task ID: '2150291'
      PR #43237
      307f51ab
  2. Dec 17, 2019
  3. Jan 17, 2020
  4. Jan 16, 2020
  5. Jan 17, 2020
  6. Jan 16, 2020
  7. Jan 17, 2020
  8. Jan 16, 2020
    • oco-odoo's avatar
      [IMP] account: add 'partial' and 'reversed' payment states to invoices · 8e4158af
      oco-odoo authored
      
      - 'partial' payment state corresponds to invoices whose payable/receivable move line has been partially reconciled with some other line.
      
      - 'reversed' payment state corresponds to entries that have been cancelled by the creation of a single reverse entry (using the dedicated button on the form view). This state can be set on invoice as well as on regular entries.
      
      => To stay consistent with the naming conventions, this commit also renames invoice_payment_state field to payment_state, since it's no longer only applicable on invoices.
      
      closes odoo/odoo#41723
      
      Related: odoo/enterprise#7202
      Signed-off-by: default avatarQuentin De Paoli (qdp) <qdp@openerp.com>
      8e4158af
  9. Jan 17, 2020
  10. Jan 16, 2020
  11. Jan 15, 2020
  12. Jan 16, 2020
Loading