Skip to content
Snippets Groups Projects
  1. Jan 28, 2021
    • Laurent Stukkens (LTU)'s avatar
      [IMP] hr_contract: add employee type · 7a516973
      Laurent Stukkens (LTU) authored
      
      Prior to this commit:
      
      * All employees were treated the same way regarding the contractual point of vue.
      
      From this commit on:
      
      * Three employee types will be created:
       - Employee, which is supposed to be under contract
       - Student & Contractor which are both not supposed to have an employee contract (but are still use the employee as working for the company)
      
      * Employee view and Contract History will take this consideration into account.
      
      closes odoo/odoo#64931
      
      Taskid: 2446000
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      7a516973
  2. Jan 27, 2021
  3. Jan 28, 2021
  4. Jan 27, 2021
  5. Jan 22, 2021
  6. Jan 28, 2021
    • Mohammed Shekha's avatar
      [IMP] web: graph: improve measure labels · 536c0049
      Mohammed Shekha authored
      
      before this commit: when graph measure field has string attribute and apply
      that field as measure then graph measure label uses field definition string
      instead of view string, due to this measure dropdown and graph measure label
      has different strings.
      
      after this commit: when applying measure graph measure label will display
      field string defined on view first else field definition string will be
      displayed.
      
      task-2264636
      
      closes odoo/odoo#63422
      
      Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
      536c0049
    • Nicolas Lempereur's avatar
      [FIX] web: nested x2many with no widget and onchanges · b37d0057
      Nicolas Lempereur authored
      
      Let's assume the following situation: in a form view, there is a
      one2many field A displayed as a list (non editable). In the list,
      there is another one2many field B displayed with no widget (it
      basically displays "X records"). In A's form view, B is also
      displayed, but this time as a list.
      
      There is an onchange on the main form view that adds a line in A,
      (and simply sets B to [[5]], i.e. 'No record').
      
      Before this commit, if the user opened the newly added sub record in
      A, and clicked on 'Add a line' of B, it crashed.
      
      The cause of the crash was that the wrong viewType was used to
      create the new (default) record in B: it used the original
      viewType, which was undefined (B is displayed with no widget in
      A's list). With this commit, we use the viewType of B that is used
      to edit it, in this case 'list'.
      
      In the slighlty different scenario where B is displayed with
      widget many2many_tags in A's list, there were no crash, but wrong
      fieldNames were sent to the 'default_get' RPC. As a consequence,
      default values for fields in B's list were potentially not loaded.
      
      opw-2422806
      closes #64793
      
      closes odoo/odoo#65186
      
      X-original-commit: 4212f84d
      Signed-off-by: default avatarGéry Debongnie (ged) <ged@openerp.com>
      Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
      Co-authored-by: default avatarAaron Bohy <aab@odoo.com>
      b37d0057
    • Aurélien Warnon's avatar
      [IMP] mass_mailing[_sms]: send user feedback when testing mass mailings/sms · fb1b2580
      Aurélien Warnon authored
      
      This commit adds user feedback in the form of a message logged on the related
      document (mailing.mailing) when testing a mailing/sms.
      
      Before this change, when sending an email to your own mailbox for testing
      purpose, or when sending an SMS to your phone, you did not get any interface
      feedback on whether it worked or not.
      Now, a logged message will show if it's successful and if not, explain why it
      failed with a short error message (no IAP credits / misconfigured outgoing mail
      server / ...).
      
      In addition, email and phone inputs are now split on the '\n' character instead
      of a coma, which allows easier validation of the email addresses.
      
      Task-2375526
      
      closes odoo/odoo#63421
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      fb1b2580
  7. Jan 27, 2021
  8. Jan 25, 2021
    • Suhani Modi's avatar
      [IMP] event_sale: set proper invoicing policy for event product(s) · 0546a129
      Suhani Modi authored
      
      Right now, the default invoice policy policy for the products is set to
      'delivery'. However, in the case of event ticket products, usually you
      don't really handle the "delivery" of the ticket. It's most likely to be
      sent by email automatically.
      
      With this commit, the invocing policy for the default ticket product is
      set to 'order' to ease inovicing the SO. Apart from default product, the
      onchage method for 'event_ok' is adapted for setting the correct invoice
      policy and product type.
      
      Task Id : 2243915
      
      closes odoo/odoo#63725
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      0546a129
  9. Jan 27, 2021
  10. Jan 19, 2021
  11. Jan 22, 2021
  12. Jan 27, 2021
    • Xavier Dubuc's avatar
      [FIX] mail: set thread cache as loaded is message_fetch failed · 6169ae7e
      Xavier Dubuc authored
      
      task-2377440
      
      closes odoo/odoo#61469
      
      Signed-off-by: default avatarAlexandre Kühn (aku) <aku@odoo.com>
      6169ae7e
    • Adrien Widart's avatar
      [FIX] mrp: kits and PO based on reordering rules · 9777a2b4
      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#65100
      
      X-original-commit: f53ab550
      Signed-off-by: default avatarAdrien Widart <adwid@users.noreply.github.com>
      9777a2b4
    • Pierre Masereel's avatar
      [IMP] point_of_sale: Ship products later · dd2aaf0b
      Pierre Masereel authored
      
      For now, when you are selling products in the point of sales, the stock
      is affected once the order is validated or the session closed. But in
      some case, you don't have the product in your store, and you have to
      plan a delivery for the order.
      
      To be able to plan a delivery, you can now choose the warehouse in POS
      Config and the routes of your warehouse will be applied. You can also
      set a specific rule on your POS Config if you've enabled the
      multi-step-routes in the inventory module
      
      closes odoo/odoo#58506
      
      Task-id: 2082104
      Signed-off-by: default avatarpimodoo <pimodoo@users.noreply.github.com>
      dd2aaf0b
  13. Jan 26, 2021
Loading