Skip to content
Snippets Groups Projects
  1. Aug 02, 2019
    • Sébastien Theys's avatar
      [IMP] *: rename image fields · 58a2ffa2
      Sébastien Theys authored
      image_original => image_1920 (now resized to 1920)
      image_big => image_1024
      image_large => image_256
      image_medium => image_128
      image_small  => image_64
      image replaced by image_1920 (when writing) or by image_1024 (when displaying
      	what was previously the big size)
      
      + add new intermediate format:
      image_512
      
      PR: #34925
      58a2ffa2
    • Sébastien Theys's avatar
      [IMP] fields: add image field · 8206b5b4
      Sébastien Theys authored
      PR: #34925
      8206b5b4
    • Hardik Prajapati's avatar
      [FIX] account: traceback while creating Bank statement · ec32fd54
      Hardik Prajapati authored
      
      Validate a bank statement from reconciliation widget and then open the statements view from the widget and try creating a new statement. An error happens when trying to select a partner because the default journal is not set in the action
      
      closes odoo/odoo#35418
      
      Signed-off-by: default avatarCedric Snauwaert (csn) <csn@openerp.com>
      ec32fd54
    • mreficent's avatar
      [IMP] base: add external id in error message · aafc5f78
      mreficent authored
      
      The view name is often not very informative, add the external id for a better
      error
      
      closes odoo/odoo#29473
      
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      aafc5f78
    • Robot Odoo's avatar
      [MERGE][REF] utm, mass_mailing: improve and use utm.campaign · de4a9453
      Robot Odoo authored
      
      This merge removes the mass_mailing.campaign model. Instead of having a
      fully fledged model, we will simply inherit utm.campaign.
      
      This change implies that mass_mailing.tag and mass_mailing.stage move to
      the utm model along their associated views/data.
      
      These changes were made so that campaigns could be used in the future by
      social, mass_mailing and mass_sms and available in the same view
      
      This commit also removes the source_id and the medium_id fields on the
      campaign. Indeed those depends on the flow, not the campaign (mass mailing
      is a source, email is a medium for example).
      
      In this merge we also add statistics from crm and sales to the campaign
      model like what has been done for mass mailing previously.
      
      Task ID: 2002029&
      PR: #34015
      
      closes odoo/odoo#34452
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      Unverified
      de4a9453
    • qmo-odoo's avatar
      [REF] mass_mailing: Renaming 'mass_mailing_' fields to mailing · 01ec59b2
      qmo-odoo authored
      This commit renames the mass_mailing_ids and the mass_mailing_clicks_ratio
      to mailing_ids and mailing_clicks_ratio. Indeed it is shorted and more
      inlined with the new model names.
      
      Task ID: 2002029
      PR: #34015
      01ec59b2
    • qmo-odoo's avatar
      [REF] website_links: set is_website to True on the campaign · d716b538
      qmo-odoo authored
      PURPOSE
      
      This commit removes the mass_mailing.campaign model. Instead of having a fully
      fledged model, we will simply inherit utm.campaign. We will also add relevant
      statistics on utm campaign model in order to use it in various applications.
      
      SPECIFICATIONS
      
      This commit changes website_links.js so that, when creating a campaign,
      the field is_website is set to true.
      
      This will allow us to filter irrelevant campaigns in mass_mailing and social
      
      Task ID: 2002029
      PR: #34015
      d716b538
    • qmo-odoo's avatar
      [FIX] mass_mailing_sale: fix domain for invoiced · 4f924301
      qmo-odoo authored
      PURPOSE
      
      This commit removes the mass_mailing.campaign model. Instead of having a fully
      fledged model, we will simply inherit utm.campaign. We will also add relevant
      statistics on utm campaign model in order to use it in various applications.
      
      SPECIFICATIONS
      
      This commit fixes the domain used to get the invoiced amount generated
      by the mailing.mailing.
      
      The new domain will be the same as the one used in the invoice report
      
      Task ID: 2002029
      PR: #34015
      4f924301
    • qmo-odoo's avatar
      [IMP] sale, utm: add sale statistics to utm campaign · 682b62f8
      qmo-odoo authored
      PURPOSE
      
      This commit removes the mass_mailing.campaign model. Instead of having a fully
      fledged model, we will simply inherit utm.campaign. We will also add relevant
      statistics on utm campaign model in order to use it in various applications.
      
      SPECIFICATIONS
      
      This commit adds revenue and quotations statistics on the
      kanban and the form view of the utm.campaign
      
      Kanban and form views will now display the invoiced_amount
      and the number of quotations generated by the campaign.
      
      TaskID: 2002029
      PR: #34452
      682b62f8
    • qmo-odoo's avatar
      [IMP] utm, crm: add lead/opportunity stats on campaign · f49d83f0
      qmo-odoo authored
      PURPOSE
      
      This commit removes the mass_mailing.campaign model. Instead of having a fully
      fledged model, we will simply inherit utm.campaign. We will also add relevant
      statistics on utm campaign model in order to use it in various applications.
      
      SPECIFICATIONS
      
      This commit adds leads/generated statistics in the kanban and
      the form view of the utm campaign.
      
      Kanban and form views will now display the number of leads and
      opportunities generated with the campaign
      
      TaskID: 2002029
      PR: #34452
      f49d83f0
    • qmo-odoo's avatar
      [REF] utm,mass_mailing: replace mass mailing campaign by utm campaign · a661b000
      qmo-odoo authored
      PURPOSE
      
      This commit removes the mass_mailing.campaign model. Instead of having a fully
      fledged model, we will simply inherit utm.campaign. We will also add relevant
      statistics on utm campaign model in order to use it in various applications.
      
      SPECIFICATIONS
      
      This commit removes the mass_mailing.campaign model. Instead of having a fully
      fledged model, we will simply inherit utm.campaign. This change implies that
      mass_mailing.tag and mass_mailing.stage have to move to the utm model along
      their associated views/data.
      
      These changes were made so that campaigns could be used in the future
      by social, mass_mailing and mass_sms and available in the same view
      
      This commit also removes the source_id and the medium_id
      fields on the campaign.
      
      This commit also moves the unique_ab_testing field from the mass_mailing_campaign
      to the mass_mailing model
      
      Task ID: 2002029
      PR: #34015
      a661b000
  2. Jul 31, 2019
    • wan's avatar
      [IMP] account: credit note usability · 2d086f5d
      wan authored
      Task 2038326
      
      * Tick the credit note sequence by default on the customer invoices and vendor bills journals
      * Write Customer Invoice/Vendor Bill/Credit Note/Customer refund at the top of the document
      * The reference field should be printed on the credit note pdf (interesting because it gives source and reason)
      * If the document is a credit note, there shouldn't be any payment information on the pdf (the customer doesn't have to pay you) (currently you see the "payment communication" the customer is supposed to use)
      * Rename Credit Note to Refund on dashboard
      * Add tooltip on payment widget
      
      closes odoo/odoo#35231
      
      Signed-off-by: default avatarCedric Snauwaert (csn) <csn@openerp.com>
      2d086f5d
  3. May 15, 2019
  4. Aug 02, 2019
  5. Jul 30, 2019
  6. Jul 23, 2019
  7. Jul 30, 2019
  8. Aug 02, 2019
  9. Aug 01, 2019
  10. Jul 31, 2019
    • Naglis Jonaitis's avatar
      [IMP] *: fix typos in field definitions · 7417d8fc
      Naglis Jonaitis authored
      
      * account, crm, hr, im_livechat, l10n_ch, l10n_it_edi, mail,
      mass_mailing, project, stock, base
      
      - `String` -> `string`;
      - `defaut` -> `default`;
      - `defaults` -> `default`;
      - `reandonly` -> `readonly`;
      - removed redundant `placeholder` attribute for `Char` field;
      - removed redundant `size` attribute for `Float` and `Integer` fields;
      - changed to use `Selection` instead of `Char` for a field having a
      defined `selection`.
      
      closes odoo/odoo#35356
      
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      7417d8fc
  11. Aug 02, 2019
    • Gert Pellin's avatar
      [IMP] product, sale, sale_management: move discount group on product · ef99ea2d
      Gert Pellin authored
      
      The group 'group_discount_per_so_line' is used on reports in
      point_of_sale but is created in 'sale' module and point_of_sale doesn't
      depends on sale. So we've move this group on product to be able to
      properly use it in point_of_sale.
      
      TASK-ID: 2008468
      
      closes odoo/odoo#35041
      
      Signed-off-by: default avatarpimodoo <pimodoo@users.noreply.github.com>
      ef99ea2d
    • Pierre Masereel's avatar
      [FIX] point_of_sale: set back orders stat button · eba2d26e
      Pierre Masereel authored
      The stat button on the pos session that shows the different POS orders
      linked to the session has been deleted by mistake in rev: 91532b7b
      
      So we've set it back.
      eba2d26e
    • Gert Pellin's avatar
      [IMP] point_of_sale: improve views of pos objects · ccce0768
      Gert Pellin authored
      We made here some small changes on the views of different object of POS
      module, and set the field journal_ids required in the views, because
      launching a POS without payment method won't magically assign one
      anymore.
      
      TASK-ID: 2008468
      ccce0768
    • Pierre Masereel's avatar
      [IMP] point_of_sale: pos journal for each company · acbca119
      Pierre Masereel authored
      When the accounting localisation is installed after the POS config, the
      values on the default POS config which is in data are not completed
      because the POS config has been created before any journal exists.
      
      So now, when a chart template is installed, we are completing the POS
      config values, and creating the Sale POS journal. We also call the
      creation of POS journal when the point_of_sale module is installed after
      the template is installed on the database to be sure that we have a
      default value for POS journal.
      
      TASK-ID: 2008468
      acbca119
    • Gert Pellin's avatar
      [IMP] point_of_sale: correcly set default values on pos config · a6b598e6
      Gert Pellin authored
      When a pos config is created, default values set on it are not allways
      correct, for the sale journal we are referencing a data, which mean
      rthat it only worls in the first company. For the invoice journal, we
      are referencing the wrong journal in the onchannge, etc
      
      TASK-ID: 2008468
      a6b598e6
  12. Aug 01, 2019
    • Pierre Masereel's avatar
      [FIX] account: unlink data when installing chart of account · 56331c1a
      Pierre Masereel authored
      When a chart of account is installed, it first remove all existing
      existing data. If you don't have account_accountant module installed,
      but you have create a bank or cash journal (through the POS for
      example). Some accounts have been created and the installation of chart
      template is trying to remove some models, but as the account_accountant
      you don't have access write on model 'account.reconcile.model'.
      56331c1a
    • Martin Trigaux's avatar
      [FIX] *: bad usage of _ method · f8ff7deb
      Martin Trigaux authored
      
      No need for selection fields
      If in global variable, the _lt should be used instead
      
      closes odoo/odoo#31211
      
      Signed-off-by: default avatarMartin Trigaux (mat) <mat@odoo.com>
      f8ff7deb
    • Martin Trigaux's avatar
      [ADD] tools: lazy translation method · f4319580
      Martin Trigaux authored
      Introduces the method _lt
      
      The translation method is now evaluated lazily.
      It allows to declare global variables with translatable content
      
      e.g. this code will now work:
      
      LABEL = _lt("User")
      
      def _compute_label(self):
          context = {'lang': self.partner_id.lang}
          self.user_label = LABEL
      f4319580
Loading