Skip to content
Snippets Groups Projects
  1. Sep 19, 2023
    • Julien Van Roy's avatar
      [FIX] l10n_mx: set the 16% taxes as the default · 5d98384e
      Julien Van Roy authored
      
      Set the default sale and purchase taxes for the mexican CoA.
      
      Before introducing the IEPS taxes in commit
      734e18eb, the default taxes were the 16%
      IVA taxes (when loading the CoA, the default is simply the first
      possible match with the lowest sequence). As the IEPS taxes now have the
      lowest sequence, they are incorrectly selected as the defaults. This
      commit fixes this.
      
      task-3507155
      
      closes odoo/odoo#135810
      
      Signed-off-by: default avatarLaurent Smet (las) <las@odoo.com>
      5d98384e
  2. Aug 11, 2020
  3. Jul 17, 2019
    • Adrian Torres's avatar
      [REM] *: calls to @api.multi · 4b38cc65
      Adrian Torres authored
      Multi is the default api for methods, it is not necessary to explicitly
      decorate methods with it, adds clutter and most people use it because
      they see that the rest of the code uses it.
      
      Done with `find . -type f -name '*.py' | xargs sed -i '/@api.multi/d'`
      4b38cc65
  4. Nov 26, 2018
  5. Sep 11, 2018
    • Toufik Benjaa's avatar
      [FIX] l10n_de, l10n_mx, l10n_nl: bad command sent to ORM · 0c679850
      Toufik Benjaa authored
      When we get the existing tags to append them a new id, we don't get a
      list of id but a list of tuple with one id, this only append if you have
      more than one accounting of these country installed, as the first time
      it will return an empty list. So the command sent to the ORM, is not
      built correctly.
      
      To fix this we just append commands '4' that will be append in a list.
      0c679850
  6. Aug 21, 2018
  7. Aug 07, 2018
  8. May 23, 2018
  9. Sep 15, 2017
    • Jose Suniaga [Vauxoo]'s avatar
      [FIX] l10n_mx: company in the journal cash basis configuration · 27edcaaf
      Jose Suniaga [Vauxoo] authored
      When have more than one company, for all companies, the cash
      basis journal  set in accounting configuration will be
      always the related to first company.
      
      This issue cause the followiong error trying to validate an
      invoice for a company different to fisrt one:
      
      'Cannot create moves for different companies.'
      
      Because exist a 'cross-configuration' in the cash basis
      journal.
      
      The solution to this issue is include the company in domain
      that does the search for cash basis journal.
      27edcaaf
  10. May 23, 2017
  11. Mar 21, 2017
  12. Dec 30, 2016
  13. Dec 29, 2016
  14. Dec 09, 2016
    • Nhomar Hernandez's avatar
      [IMP] l10n_mx: Completely refactored Mexican CoA Template. Courtesy of Vauxoo. · 9a0e3a11
      Nhomar Hernandez authored
      * Added accounts provided following the structure provided by the SAT
      this accounts are only the minimal necessary ones, with the objective
      to set the first easiest engagement to new users and tags will represent the actual information
      from the document linked.
      
      * The name of the tag is the concatenation of tag.code + tag.name, because the account.tag
      model have not the code field.
      
      Note: we will need more accounts but some of them for special operations
      which are not basic at all, then it is better just propose the operational accounts
      once we understand a proper closing process.
      
      * Set the proper user-types on accounts in order to be able to use it with the official reports this CoA
      for operational purpose.
      
      * Added nature field and data in tags to allow set this value in electronic account report, and
      set this value with data pre loaded, we did not use user.type for this due to the fact that the same user type can have different nature (if it grows for credit or debit), I do not know if this field brakes the stable rule we can discuse about that.
      
      * Assign the account tags with in the Mexican CoA template installation, and with an onchange(account.code) when manually modifying/creating accounts.
      
      Rationale: If the code of the accounts follows the pattern 111.00.00 or 111-00-00 then it will
      set the tag 111.00 if the tag exists, if not then this will be ignored.
      
      * Generate an account tag by each second level account in SAT catalog, and assign to the corresponding account.
      9a0e3a11
Loading