Skip to content
Snippets Groups Projects
  1. Aug 26, 2016
  2. Aug 25, 2016
    • Nicolas Martinelli's avatar
      [FIX] website, website_event: Google Maps image · 5f76928f
      Nicolas Martinelli authored
      Google made the use of an API key mandatory to use the "Google Static
      Maps API". The API key field will be created for the upcoming version.
      
      opw-686510
      5f76928f
    • Christophe Simonis's avatar
      5c2025a3
    • Pierre Masereel's avatar
      [FIX] website_sale_digital: fix attachments stat button domain · 4ccc1f9b
      Pierre Masereel authored
      Due to a syntax error in the domain of product attachement
      a traceback was given.
      4ccc1f9b
    • Christophe Simonis's avatar
    • Yannick Tivisse's avatar
      [MERGE] hr_expense: Usability review + Mail gateway integration with alias_contacs + Fixes · ce4d2077
      Yannick Tivisse authored
      Merge branch 'saas-12-expense-fixes-yti' into saas-12
      ce4d2077
    • Yannick Tivisse's avatar
      [FIX] hr_expense: Solve several usability issues on the flow · 3b5d6da5
      Yannick Tivisse authored
      Review the subtypes
      ===================
      
      - Add a subtype for the paid expenses
      - Correct subtypes wording
      
      Prevent expense report for several employees
      ============================================
      
      - Can add lines from every employee, leading to account issues (payable / receivable)
        Raise an error if you try to report several expenses for different employees
      
      Don't track onchanges on journal_id
      ===================================
      
      - Expense Sheet, click on Post Journal Entries: you have 2 produced messages, and
        one is strange (Journal Entry: * 1 ?)
      
      Remove useless message on chatter
      =================================
      
      - Remove the message to say that the expense report has been validated by ...
        It's redundant as the visibility tracker already logs this change
      
      Remove unused method
      ====================
      
      - 'refuse_expense_sheets' is declared but never used
      
      Log a link to the payment on chatter
      ====================================
      
      Expense Sheet, click on Register Payment: you have a message containing the
      payment name (SUPP.OUT/2016/0001). Add a link to the form view.
      
      Expense duplication
      ===================
      
      Do not copy 'sheet_id' on duplication. It's wrong and has as secondary effect
      to duplicate the state too.
      
      Expense Report tree view
      ========================
      
      Display correctly the widget monetary
      3b5d6da5
    • Yannick Tivisse's avatar
      [FIX] hr, hr_expense: Allow employees to send emails to aliases · 47728ccd
      Yannick Tivisse authored
      New feature in mail module
      ==========================
      
      Currently, an email can be sent to an alias from:
      - Everyone
      - Authenticated Partners
      - Followers
      
      This commit is intended to add another category: Employees
      The main purpose of this new feature is to allow employees to send an email
      to an 'expense' alias in order to create automatically their expenses with
      their mobile phones.
      
      Use this new mechanism in hr_expense
      ====================================
      
      Currenlty, we're overriding message_new to make a security check and create
      an expense if the sender is an employee or bounce otherwise, which is not the
      correct way to achieve this. A better way is to use the alias mechanism now
      that it has been extended to employees too.
      
      Don't hardcode email_from
      =========================
      
      The email_from of the bounce email is hardcoded to "help@odoo.com". I am sure
      they will be happy to receive all answers from any odoo instance
      
      Review the bounce email content
      ===============================
      
      content: Your expense has not been created because your email address is not set
      on an employee or on a employee's user. Configure your employee's information correctly and try again.
      -> this is a message for the admin, not an employee or anyone else
      
      Now the content is generical for aliase defined for employees.
      47728ccd
    • Yannick Tivisse's avatar
      [FIX] hr_employee: Don't create expenses from every email address · 920b791a
      Yannick Tivisse authored
      This is simply useless and the open door to spam. The inital goal for this
      option was to be able to create an expense from any email in the onboarding.
      It was even commented with 'Don't use this in production' which is another
      point to remove it.
      
      It is wrong because:
      - In a saas instance, the employee email = the admin email = the email you
        entered while filling the form. So, if the user sends an email with his phone,
        the expense will be created. If the user sends an email with another email address
        then the expense won't be created but he'll receive an automated email explaining
        that he should register his email address either on it's user information or on it's
        employee information (professional on employee, private on user for example).
      - With this modified behavior, if no email address is matching the sender email address
        the system will create an expense with the-first-employee-linked-to-an-user as employee,
        which is totally wrong. Furthermore, the guy that sent the email will not see the created
        expense because it hasn't been assigned to him.
      - Everyone can create expenses, I don't even imagine how fast we can overload the database
        with a huge pile of crap
      920b791a
    • Yannick Tivisse's avatar
    • Xavier Morel's avatar
      [FIX] web_kanban: value not in selection states · 0a02325c
      Xavier Morel authored
      Non-required selection fields and incorrectly updated fields (e.g.
      changed options but didn't fix existing values) trips KanbanSelection
      badly leading to the entire kanban view failing to appear: the rendering
      phase does not find the state in its states list and blows up when
      trying to access the state's class.
      
      Fix by adding a fallback default state with an empty class.
      0a02325c
    • Martin Trigaux's avatar
      [FIX] Update Arabic translation terms from Transifex · cb0484d5
      Martin Trigaux authored
      To correct wrong %s translations.
      Fixes #13281
      Unverified
      cb0484d5
    • Christophe Simonis's avatar
    • Christophe Simonis's avatar
      f1cb5179
    • Christophe Simonis's avatar
      c7d9695f
    • Wolfgang Taferner's avatar
    • Martin Trigaux's avatar
      [FIX] web_graph: no label for ungrouped pie chart · 4cb2dc6d
      Martin Trigaux authored
      When a pie chart has no grouping selected, the label was "undefined" (the
      javascript variable). Replace by the already translated string "Undefined".
      
      Fixes #13288
      Unverified
      4cb2dc6d
  3. Aug 24, 2016
Loading