Skip to content
Snippets Groups Projects
  1. Apr 14, 2020
  2. Apr 10, 2020
  3. Apr 09, 2020
  4. Apr 10, 2020
  5. Apr 14, 2020
  6. Apr 09, 2020
  7. Apr 08, 2020
  8. Apr 14, 2020
  9. Apr 10, 2020
  10. Apr 07, 2020
  11. Apr 03, 2020
  12. Apr 10, 2020
  13. Apr 09, 2020
    • Sébastien Theys's avatar
      [FIX] bus: restart poll just after abort · 1c55dce8
      Sébastien Theys authored
      
      Fix regression introduced with e0ed7b12
      
      Issue without current commit:
      
      When doing `abort` next updates from the bus are only received after the normal
      timeout, which makes the interface unresponsive to updates during that amount of
      time.
      
      `abort` is for example called during `addChannel`, where it is specifically
      documented that new updates are to be received immediately.
      
      closes odoo/odoo#49348
      
      X-original-commit: 888610e5e07794e000ef27edcb075cb45c1e2ccc
      Signed-off-by: default avatarAlexandre Kühn (aku) <aku@odoo.com>
      1c55dce8
    • fw-bot's avatar
      [IMP] l10n_ch: allow using ISR number as automatic payment reference on invoices. · 5f902b93
      fw-bot authored
      This number is intended to be used on payment to match them with the invoice they were made for, so it's totally sound to use it in that field.
      
      [IMP] l10n_ch: make QR-code generation compliant with the current version of the spec
      
      Backport of the l10n_ch part of https://github.com/odoo-dev/odoo/commit/89d87c31801507df8e055c19bcac75c05599bd4f
      
      Forward port of https://github.com/odoo/odoo/pull/48901
      
      
      
      closes odoo/odoo#49318
      
      Signed-off-by: default avatarLaurent Smet <smetl@users.noreply.github.com>
      Signed-off-by: default avataroco-odoo <oco-odoo@users.noreply.github.com>
      5f902b93
    • Nicolas Martinelli's avatar
      [FIX] stock: default picking when assign S/N · 55ffc302
      Nicolas Martinelli authored
      
      - Go to Inventory > Configuration > Operation Types
      - In Receipt, activate 'Show Detailed Operations'
      - Go Inventory > Overview, click on 'Receipts'
      - Create a picking, and in the 'Operations' tab add 5 units of a product
        tracked by unique S/N
      - Click on the + sign
      - Set the First SN (e.g. TEST001) and Number of SN to 5, then Assign
        Serial Numbers
      
      Nothing appear in the Detailed Operations, and it's impossible to
      validate the picking.
      
      The stock move lines are created, but not linked with the picking.
      
      opw-2230913
      
      closes odoo/odoo#49339
      
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      55ffc302
    • Damien Bouvy's avatar
      [FIX] payment_sips: stop log pollution · 582a3688
      Damien Bouvy authored
      
      SIPS sometimes send empty notifications. I have been unable to find out
      why or to reproduce the issue; it seems to be linked to a delay on their
      end since these notifications usually arrive after a customer is
      redirected back to Odoo (at least on their test account).
      
      I'd rather log a warning for those cases (since nothing is wrong on
      Odoo's side, there's just no info to act upon) instead of a full
      traceback.
      
      closes odoo/odoo#49324
      
      X-original-commit: 100ef1bd
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      582a3688
    • Damien Bouvy's avatar
      [FIX] payment_sips: add basic test case · fcc3da3c
      Damien Bouvy authored
      Render the payment form and process feedback from the provider.
      
      X-original-commit: 60445af2
      fcc3da3c
    • Damien Bouvy's avatar
      [FIX] payment_sips: datetime parsing · fe339350
      Damien Bouvy authored
      
      SIPS date format can be somewhat variable, some sanitation is required
      before using the data raw for the ORM.
      
      opw-2224926
      
      X-original-commit: 620e987f
      Co-authored-by: default avatarNicolas Martinelli <nim@odoo.com>
      fe339350
    • Andrea Grazioso (agr-odoo)'s avatar
      [FIX] l10n_fr_pos_cert,point_of_sale: fix reward for FR pos · 5f82b6c8
      Andrea Grazioso (agr-odoo) authored
      
      Install point_of_sale,l10n_fr_pos_cert,contacts,pos_loyalty
      Create French company, add french chart of account
      Create DEMO customer loaded with reward points
      Enable loyalty program on POS, change the default reward to be:
      * Reward Type: Discount(in value)
      * Discount Product: create one (all default is ok)
      
      Open POS, add a product, add the customer and the reward.
      
      When you try to use the reward it is positive. You also get a "Decrease
      the quantity by" pop-up when trying to remove it.
      Since the reward setup conflict with the pos modification the fix is to
      add an exception for the rewards
      
      opw-2224086
      
      closes odoo/odoo#49130
      
      Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
      5f82b6c8
    • jvm-odoo's avatar
      [FIX] project: make label_task translatable · 58716037
      jvm-odoo authored
      
      Issue
      
      	- Install Projects
      	- Change language
      	- Check projects
      
      	There is a word "X Tasks" which is not
      	translated.
      
      Cause
      
      	This is a model attribute which is not
      	translatable. It can have any value
      	"Tasks" is not mandatory.
      
      Solution
      
      	Make it translatable
      
      OPW-2233084
      
      closes odoo/odoo#49328
      
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      58716037
    • Jorge Pinna Puissant's avatar
      [FIX] survey: questions without page_id · 42fe7aaf
      Jorge Pinna Puissant authored
      
      - Create a new survey 'Test Survey';
      - Add a section 'S1';
      - Add a multiple lines text box question 'Q1';
      - Add a section 'S2';
      - Add a section 'S3';
      - Don't move any of the section or question to avoid changing the
          sequences, for the moment all the sequences are equal to 10;
      - Change the survey layout to 'One page per section';
      - Save the survey;
      - Test the survey;
      - Fill the 'Q1';
      - Go to the last page and Submit the survey;
      - Review your answers.
      
      Before this commit, the question is empty, this occurs because the
      question page_id is not set, in _compute_page_id, the sequence of the
      question should be bigger than the question of the page (in this case
      the section).
      
      Now, the _compute_page_id was change to take into account the case when
      the question has the same sequence as the page (section).
      
      opw-2222045
      
      closes odoo/odoo#49315
      
      Signed-off-by: default avatarJorge Pinna Puissant (jpp) <jpp@odoo.com>
      Co-authored-by: default avatarNicolas Lempereur <nle@odoo.com>
      42fe7aaf
    • jvm-odoo's avatar
      [FIX] sale: fix SO preview word break · 81e7bb0e
      jvm-odoo authored
      
      Issue
      
      	- Install eCommerce
      	- Create a SO
      	- Add a section
      	- Add a note with big text
      	- Customer Preview
      
      	The word are not broken correctly
      
      Cause
      
      	We added a break-all to prevent
      	long URL/words overflow.
      
      Solution
      
      	Use work-break: break-word which
      	will break the word correctly.
      
      	Use overflow-wrap/word-wrap
      	(same usage but we need both
      	to ensure browsers compatibility)
      	which makes sure the long string
      	will wrap and not bust out of the
      	container
      
      OPW-2222814
      
      closes odoo/odoo#49312
      
      X-original-commit: 0754590a
      Signed-off-by: default avatarJason Van Malder (jvm) <jvm@odoo.com>
      81e7bb0e
    • Kevin Baptiste's avatar
      [FIX] hr_holidays: "Everyone" view on calendar_event · 054401db
      Kevin Baptiste authored
      
      Purpose
      =======
      
      Avoid to show to much information to leave responsibles.
      
      Specification
      =============
      
      - Dynamically add/remove the leave_manager_ids on the group
        group_hr_holidays_responsible, on employee creation/modification
      - Retrict the available employees when creating a leave. For
        manager/users : Everyone. For responsibles: The employee for
        who the user is responsible. Otherwise: Only me.
      - Don't obfuscate the leave name on employees for who I'm the
        responsible.
      - Add a new SQL view for "Everyone" report. To select only the
        information we want to share instead of showing the hr.leave
        model directly.
      
      closes odoo/odoo#47659
      
      Taskid: 2206862
      Related: odoo/enterprise#9239
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      054401db
    • ggros's avatar
      [FIX] doc: themes tutorial · deb22d80
      ggros authored
      * Outdated xml
      
      See https://stackoverflow.com/questions/53160591/extending-default-template-odoo-12/53162439#53162439
      
      Courtesy of EvgenijjKum from #41970.
      
      * Outdated javascript
      
      See https://stackoverflow.com/questions/41061604/odoo-10-how-to-create-snippets-javascript-option#41062045
      
      
      
      closes odoo/odoo#49295
      
      X-original-commit: bdf8ef75
      Signed-off-by: default avatarVictor Feyens (vfe) <vfe@odoo.com>
      deb22d80
    • ggros's avatar
      [CLA] signature for ggros · 0dc7c073
      ggros authored
      X-original-commit: 45c0f781
      0dc7c073
    • Andrea Grazioso (agr-odoo)'s avatar
      [FIX] pos_sale: fix delivered/sold quantity reported · 482d30e1
      Andrea Grazioso (agr-odoo) authored
      
      Create a product with UoM Dozens
      Sold 5x via POS
      Go to the product page
      
      The smart button does not reflect the correct quantity
      (0.42 instead of 5).
      
      Fixing by editing the SQL query, the POS already provide
      the correct quantity of sold goods as it is not possible
      to change the UoM. This aim to match the behavior of sale (where
      is necessary to account for possible differences between the uom
      reported on the sale order line and the one specified in the product
      page)
      
      opw-2227482
      
      closes odoo/odoo#49302
      
      X-original-commit: 7af831fe
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      482d30e1
    • Nicolas Martinelli's avatar
      [FIX] product_margin: qty in credit note · 3086b2d2
      Nicolas Martinelli authored
      
      - Create a product P with a Sales Price of 5000 and a Cost of 3000.
      - Create a bill for 10 units @ 3000, post
      - Create an invoice for 10 units @ 5000, post
      - Create a customer credit note for 5 units
      - Open the Product Margin report
      
      The # Purchased is 15 while the # Invoiced in Sale is 10.
      
      The query incorrectly sums the invoice lines based on their type. We
      should group customer invoices with customer refunds, and group vendor
      bills with vendor refunds. When grouping we should subtract invoices
      and refunds.
      
      Note that the `avg_unit_price` is not modified since there is no reason
      to refund a product at a different unit price.
      
      opw-2211636
      
      closes odoo/odoo#49280
      
      Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
      3086b2d2
  14. Apr 08, 2020
Loading