Skip to content
Snippets Groups Projects
  1. Aug 30, 2023
    • Julien Van Roy's avatar
      [FIX] account_edi_ubl_cii: line id start at 1 in UBL · 94aac2ed
      Julien Van Roy authored
      
      In Saudi Arabia, the InvoiceLine/ID should not be greater than 6 digits.
      Using the move.line_id, this limit can be exceeded.
      
      Simply count the invoice line ids starting from 1 instead.
      
      In master, add a parameter `line_id` to `_get_invoice_line_vals`.
      
      closes odoo/odoo#133590
      
      Signed-off-by: default avatarJosse Colpaert <jco@odoo.com>
      94aac2ed
    • Nshimiyimana Séna's avatar
      [FIX] l10n_it_stock_ddt: account for pricelist in the DDT report · 9bdb0ed2
      Nshimiyimana Séna authored
      
      Bug:
      When printing DDT documents for a delivery with a pricelist applied, the
      total value shown comes from the product's original price and not the
      modified pricelist price.
      
      Setup:
      - install `sale_management` and `l10n_it_stock_ddt`
      - have a product P with a price A
      - create a pricelist that where P has a price B
      
      Steps to reproduce:
      - activate DDT report printing
      - create a quotation set the pricelist you created and the product P
      - validate the quotation
      - go to the associated delivery and validate it
      - print the DDT report
      
      You should see that the price mentioned on the DDT report does not
      account for the pricelist. (price A is shown, instead of B)
      
      opw-3171295
      
      closes odoo/odoo#121424
      
      Signed-off-by: default avatarJosse Colpaert <jco@odoo.com>
      9bdb0ed2
    • Louis Wicket (wil)'s avatar
      [I18N] bg.po: properly translate New · 73512e95
      Louis Wicket (wil) authored
      
      For some reason, “New” has been translated as “Nieuw” in Bulgarian, but
      this is not Bulgarian, this is Dutch.
      
      This commit replaces all occurrences of “Nieuw” with “Нов”, which is the
      correct translation for “New” in Bulgarian.
      
      closes odoo/odoo#133582
      
      Related: odoo/enterprise#46542
      Signed-off-by: default avatarLouis Wicket (wil) <wil@odoo.com>
      73512e95
  2. Aug 29, 2023
    • Ricardo Gomes Rodrigues (rigr)'s avatar
      [FIX] l10n_it_stock_ddt: picking type · 3c6aab5c
      Ricardo Gomes Rodrigues (rigr) authored
      
      The test `test_ddt_flow` was failing because the picking types were created
      without a ddt sequence. This is because the picking types were created
      at the moment the company was created. However, the country of the company
      was set after the setup of the CoA. This means that when we were creating
      the picking types, the company's country was not Italy, therefore no
      DDT sequence was created.
      
      This commit fixes this by overriding the `setup_company_data` method to
      add the country while creating the company and its CoA.
      
      Fixes runbot error 24396 & 24397
      
      closes odoo/odoo#133434
      
      Signed-off-by: default avatarJosse Colpaert <jco@odoo.com>
      3c6aab5c
  3. Aug 28, 2023
  4. Aug 27, 2023
  5. Aug 25, 2023
  6. Aug 24, 2023
  7. Aug 23, 2023
    • aliya's avatar
      [FIX] l10n_ua: change the name of 973 account · 6acb5660
      aliya authored
      
      This PR odoo/odoo#125747 missed the account 973, which is still not in Ukrainian.
      This account should be translated as well.
      
      closes odoo/odoo#132866
      
      Signed-off-by: default avatarJosse Colpaert <jco@odoo.com>
      6acb5660
    • Gauthier Wala (gawa)'s avatar
      [FIX] l10n_cl: placeholder not working on res_partner · 7ae5aacc
      Gauthier Wala (gawa) authored
      
      The overriding of the placeholder does not work.
      It's done to be different than the standard translation (Ciudad).
      Modified it to be standard way of overriding placeholders.
      Linked to runbot error 6175
      
      closes odoo/odoo#132833
      
      Signed-off-by: default avatarHabib Ayob (ayh) <ayh@odoo.com>
      7ae5aacc
    • Walid HANNICHE (waha)'s avatar
      [FIX] sale_purchase_stock: correct PO deadline date · 72a17baf
      Walid HANNICHE (waha) authored
      
      steps to reproduce it:
      1. Create a storable product, add a Purchase vendor with
       start date = 20/6/2022 and delay = 56
      2. Create another storable product, add the same Purchase vendor with
       start date = 11/01/2023 and delay = 21
      3. For both products, add Routes "MTO".
      4. Create a SO with those 2 products, and confirm it
      5. As you can see, the price of the first product is correctly set
      but not the second product
      
      BUG:
      This is due of "Order Deadline" (date_order) being set to an old date,
      which is before the second product date_order.
      
      FIX:
      set max PO date as today
      
      opw-3167094
      
      closes odoo/odoo#124448
      
      Related: odoo/enterprise#44391
      Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
      72a17baf
    • Maximilien (malb)'s avatar
      [FIX] l10n_de: translation issues · 18978814
      Maximilien (malb) authored
      
      There was inconsistency in the translation for the words "price unit", with this
       commit all the "price unit" are translated the same.
      
      closes odoo/odoo#121413
      
      Task-id: 3262408
      Signed-off-by: default avatarBrice Bartoletti (bib) <bib@odoo.com>
      18978814
    • Maximilien (malb)'s avatar
      [FIX] l10n_de: print and preview css · 5f707bd5
      Maximilien (malb) authored
      This PR solve two things:
      - Preview: due to the hardcoded width the preview didn't take all the page and
      was push on the left.
      - PDF: Weird stuff happened with the header, he was hiding information below
       the header.
      
      Task-id: 3262408
      Part-of: odoo/odoo#121413
      5f707bd5
    • Maximilien (malb)'s avatar
      [FIX] l10n_de: shipping address traceback · 2c3029d1
      Maximilien (malb) authored
      Before this PR, when there is no shipping address, the pdf show an empty
      "Shipping Address" header. By changing the colspan dynamically we can manage to
      keep the layout like it was and remove the useless section.
      
      Task-id: 3262408
      Part-of: odoo/odoo#121413
      2c3029d1
  8. Aug 22, 2023
  9. Aug 21, 2023
    • Brice bib Bartoletti's avatar
      [FIX] l10n_at: tax template repartition lines · c8603a9e
      Brice bib Bartoletti authored
      
      1) The aim of this commit is to make the tax template more consistent with
      the instanciated tax.
      Indeed a tax wouldn't pass the constrains if it hadn't all its
      repartition line.
      
      2) Make the refund consistent with the rest of the taxes.
      
      closes odoo/odoo#130706
      
      Task-id: None
      Signed-off-by: default avatarFlorian Gilbert (flg) <flg@odoo.com>
      c8603a9e
    • prye-odoo's avatar
      [FIX] l10n_de: remove l10n_de_document_title field from template · 95468505
      prye-odoo authored
      When the user configures the 'external_layout_din5008' layout template in the
      general settings and tries to any QWeb reports, that case generates the
      traceback.
      
      Steps to reproduce:
      - Install the 'l10n_de' and 'sale_timesheet' modules.
      - Settings > General Settings
      - Search for 'Document Layout' and configure the 'external_layout_din5008'
        layout.
      - Settings > Technical > User Interface > Views
      - Search the 'external_layout_din5008'  QWeb template view.
      - Search  '<span t-if="not o and not docs">
      <t t-esc="company.l10n_de_document_title"/></span>'
        line and replace by,
      '<span t-if="company"><t t-esc="company.l10n_de_document_title"/></span>'
      - Go to the Sales menu and print any reports from the print menu.
      After that, a traceback was generated.
      Error:
      AttributeError: 'res.company' object has no attribute 'l10n_de_document_title'
      Template: l10n_de.external_layout_din5008
      
      The 'l10n_de_document_title' field does not exist in the 'res.company'
      object and also this field used in 'l10n_de.external_layout_din5008'
      template, and this template is configured as layout.  So, remove this line from
      this template.
      Code reference:
      https://github.com/odoo/odoo/blob/14.0/addons/l10n_de/report/din5008_report.xml#L109
      
      
      
      Sentry-4283510443
      
      closes odoo/odoo#128559
      
      Signed-off-by: default avatarFlorian Gilbert (flg) <flg@odoo.com>
      95468505
  10. Aug 20, 2023
  11. Aug 18, 2023
  12. Aug 17, 2023
    • Ali Alfie (alal)'s avatar
      [FIX] l10n_de: remove tag B from ir_model_data · 1398c5cd
      Ali Alfie (alal) authored
      
      In odoo/odoo/pull/126249 the german balance sheet report was updated and tag tag_de_liabilities_bs_B was removed from account_account_tags_data.xml. This deletes it from ir_model_data so that the ORM doesn't delete this record. This is done so that it doesn't break if another table was already using this tag.
      
      closes odoo/odoo#131530
      
      Signed-off-by: default avatarLaurent Smet (las) <las@odoo.com>
      1398c5cd
  13. Jun 01, 2023
    • Xavier Morel's avatar
      [IMP] mail: remove confusing readonly=False on partner_email · ef3d4166
      Xavier Morel authored
      
      This field was never intended to be editable, and indeed all the views
      on mail.channel.partner I could find either don't list the field at
      all, or explicitly make it readonly.
      
      The editability is actually an artefact from when related fields were
      changed from editable by default to readonly by default, all existing
      fields were bulk-set to `readonly=False` in
      3f4f77fd with the intent of eventually
      reviewing this status. That eventuality apparently never came to be,
      and so most of those fields are probably flagged `readonly=False` for
      no reason to this day.
      
      closes odoo/odoo#126641
      
      Signed-off-by: default avatarLouis Wicket (wil) <wil@odoo.com>
      ef3d4166
  14. Aug 16, 2023
  15. Aug 14, 2023
  16. Aug 13, 2023
  17. Aug 11, 2023
    • Walid's avatar
      [FIX] mrp_account: AVCO product valuation with component cost 0 · 4000b18f
      Walid authored
      
      Steps to reproduce:
      - Create a manufactured product P with AVCO valuation
      - On the bom of the previous product add a component C with unit cost 5$
      - Manufacture product P (Unit cost correct so far 5$)
      - Change component cost to 0 and manufacture again
      - Unit cost of P is still 5$ were it should be 2.5$
      
      Bug:
      since the move unit price is 0 the standard price of the product P is
      used insted for the valuation of the newly created qty
      
      Fix:
      force unit price to 0 in the case of manufacturing
      
      opw-3374462
      
      closes odoo/odoo#130592
      
      Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
      4000b18f
  18. Aug 10, 2023
    • Simon Goffaux (sigo)'s avatar
      [FIX] website_form: fix translation issue in saas · ec71de31
      Simon Goffaux (sigo) authored
      
      In a SaaS server, the _meta_data variable will be translated when the
      HTTP worker is spawned and it will be translated into whichever language
      is set on the DB that spawns said worker. This causes issues when other
      DBs use this worker as the variable may be translated into a language that is
      not present in that DB. To rectify this issue, we use lazy translate so
      the translation lookup is executed at rendering.
      
      opw-3385997
      
      closes odoo/odoo#128601
      
      Signed-off-by: default avatarRomain Derie (rde) <rde@odoo.com>
      ec71de31
    • Andrea Grazioso (agr-odoo)'s avatar
      [FIX] base: traceback on pdf read error · 4ae018a5
      Andrea Grazioso (agr-odoo) authored
      
      Create a vendor bill with a specific attachment (on ticket)
      Go to vendor bill list view
      Select the created bill and another one
      Print > Original Bills
      
      Traceback due to unhandled ValueError on pdf read
      
      opw-3420507
      
      closes odoo/odoo#128454
      
      Signed-off-by: default avatarJulien Castiaux (juc) <juc@odoo.com>
      4ae018a5
Loading