Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] l10n_it_fatturapa_pec #3190

Merged
merged 65 commits into from
Sep 7, 2023

Commits on Jul 21, 2023

  1. IMP README, SDI , attachment and invoice view

    FIX
    Mail delivery failed via SMTP server 'smtps.pec.aruba.it'.
    SMTPRecipientsRefused: {'[email protected]': (553, '5.7.1 <[email protected]>: Sender address rejected: not owned by user [email protected]')}
    Traceback (most recent call last):
      File "/home/elbati/workspace/odoo/instances/demo10-community/parts/odoo/addons/mail/models/mail_mail.py", line 278, in send
        res = IrMailServer.send_email(msg, mail_server_id=mail.mail_server_id.id)
      File "/home/elbati/workspace/odoo/instances/demo10-community/parts/odoo/odoo/addons/base/ir/ir_mail_server.py", line 467, in send_email
        raise MailDeliveryException(_("Mail Delivery Failed"), msg)
    MailDeliveryException: (u'Mail Delivery Failed', u"Mail delivery failed via SMTP server 'smtps.pec.aruba.it'.\nSMTPRecipientsRefused: {'[email protected]': (553, '5.7.1 <[email protected]>: Sender address rejected: not owned by user [email protected]')}")
    
    ADD l10n_it_fatturapa_out: tracking attachment changes
    
    IMP mail send: raise exception in case
    
    [IMP] default is_fatturapa_pec and split class
    
    REF  mergin l10n_it_fatturapa_in_pec and l10n_it_fatturapa_out_pec in l10n_it_fatturapa_pec
    
    REF  mergin l10n_it_fatturapa_in_pec and l10n_it_fatturapa_out_pec in l10n_it_fatturapa_pec
    
    FIX default_is_fatturapa_pec
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    1278ca4 View commit details
    Browse the repository at this point in the history
  2. [FIX] ensure one

    [FIX] hide domain
    sergiocorato authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    ce4eb12 View commit details
    Browse the repository at this point in the history
  3. IMP README

    exceptions sending email
    Avoid to delete sent files
    Check duplicated files
    Send several files
    Reset to ready button
    Sending and delivery date
    Handling ACCETTAZIONE and CONSEGNA
    IMP 'link to existing invoice' wizard
    FIX invoice views within attachment view
    IMP attachments views
    IMP l10n_it_fatturapa_out export: allow multiple export , group by partner
    ALLOW to use newline char in invoice line description
    check sequence without date ranges
    Extract correcttle messages from NS
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    88cdd23 View commit details
    Browse the repository at this point in the history
  4. [FIX] compute method start with _

    [FIX] flake
    sergiocorato authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    bae907c View commit details
    Browse the repository at this point in the history
  5. porting l10n_it_fatturapa_pec to 12

    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    a3b6c13 View commit details
    Browse the repository at this point in the history
  6. IMP l10n_it_sdi_channel interface

    ADD mechanism to check SDI PEC address after first sending
    ADD check valid PEC incoming server
    
    IMP attachment out filter
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    a0754ef View commit details
    Browse the repository at this point in the history
  7. l10n_it_fatturapa_pec: check possible fetch errors and track them (OC…

    …A#682)
    
    While sending, check for valid fetchmail server
    FIX typo 'yo'
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    8a06b30 View commit details
    Browse the repository at this point in the history
  8. [IMP] l10n_it_fatturapa_pec revamp manifest and README

    [FIX] l10n_it_fatturapa_pec translation source strings
    
    [IMP] l10n_it_sdi_channel revamp README and manifest (OCA#692)
    
    [FIX] l10n_it_sdi_channel FatturaPA/translation source strings
    
    [IMP] l10n_it_sdi_channel set ITA name and summary
    
    [IMP] fatturapa modules, set ITA name and summary (OCA#694)
    
    [FIX] l10n_it_fatturapa_in typos in source translation strings
    primes2h authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    084ad9c View commit details
    Browse the repository at this point in the history
  9. Set reply_to and Return-Path to build explicitly email message, witho…

    …ut using mail.catchall parameters anyway, using always 'email_from_for_fatturaPA' (OCA#695)
    
    FIX missing body_html
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    d02c950 View commit details
    Browse the repository at this point in the history
  10. ADD l10n_it_fatturapa_pec/i18n/it.po

    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    62043c6 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ec277fc View commit details
    Browse the repository at this point in the history
  12. [IMP] l10n_it_fatturapa_pec: Add tests

    SimoRubi authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    5361923 View commit details
    Browse the repository at this point in the history
  13. Translated using Weblate (Italian)

    Currently translated at 100.0% (42 of 42 strings)
    
    Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_fatturapa_pec
    Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_fatturapa_pec/it/
    primes2h authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    5149b81 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    86322c5 View commit details
    Browse the repository at this point in the history
  15. Translated using Weblate (Italian)

    Currently translated at 100.0% (42 of 42 strings)
    
    Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_fatturapa_pec
    Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_fatturapa_pec/it/
    primes2h authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    2986122 View commit details
    Browse the repository at this point in the history
  16. IMP l10n_it_fatturapa_pec allowing user to configure contacts to be n…

    …otified when a non e-invoice PEC is received by fetchmail (OCA#733)
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    b620de7 View commit details
    Browse the repository at this point in the history
  17. FIX l10n_it_fatturapa_pec: sending PEC with invoicing user raises per…

    …mission error (OCA#743)
    
    Sorry, you are not allowed to access this document. Only users with the following access level are currently allowed to do that:
    - Administration/Settings
    
    (Document model: fetchmail.server)
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    337ef61 View commit details
    Browse the repository at this point in the history
  18. "mancata consegna" is the correct notification for invoices sent to i…

    …ndividual without PEC or codice destinatario, so it sould not be an error. (OCA#813)
    
    Added tests
    
    Also "avvenuta trasmissione della fattura con impossibilità di recapito" notification must be handled and status tracked
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    651c170 View commit details
    Browse the repository at this point in the history
  19. Translated using Weblate (Italian)

    Currently translated at 100.0% (47 of 47 strings)
    
    Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_fatturapa_pec
    Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_fatturapa_pec/it/
    primes2h authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    3c85144 View commit details
    Browse the repository at this point in the history
  20. IMP l10n_it_fatturapa_pec avoiding to block fetchmail server in case …

    …of temporary errors. (OCA#920)
    
    Retry N (configurable) times before resetting fetchmail server.
    Notify contacts about reset
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    70632c6 View commit details
    Browse the repository at this point in the history
  21. IMP l10n_it_fatturapa_pec allowing to force the XML export state. (OC…

    …A#935)
    
    Only 'Allow to force e-invoice export state' group can
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    7ba324d View commit details
    Browse the repository at this point in the history
  22. Translated using Weblate (Italian)

    Currently translated at 100.0% (50 of 50 strings)
    
    Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_fatturapa_pec
    Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_fatturapa_pec/it/
    primes2h authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    dd5e019 View commit details
    Browse the repository at this point in the history
  23. Translated using Weblate (Italian)

    Currently translated at 100.0% (50 of 50 strings)
    
    Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_fatturapa_pec
    Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_fatturapa_pec/it/
    primes2h authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    df102ed View commit details
    Browse the repository at this point in the history
  24. FIX l10n_it_fatturapa_pec when user removes file content and tries to…

    … send PEC
    
    Otherwise they would get
    odoo/addons/mail/models/mail_mail.py", line 226, in send
        for a in mail.attachment_ids.sudo().read(['datas_fname', 'datas'])]
      File "/usr/lib/python2.7/base64.py", line 75, in b64decode
        return binascii.a2b_base64(s)
    TypeError: a2b_base64() argument 1 must be string or buffer, not bool
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    9e4143d View commit details
    Browse the repository at this point in the history
  25. Translated using Weblate (Italian)

    Currently translated at 100.0% (52 of 52 strings)
    
    Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_fatturapa_pec
    Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_fatturapa_pec/it/
    primes2h authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    4a6c59d View commit details
    Browse the repository at this point in the history
  26. [FIX] valid other countries intermediary filename (OCA#1133)

    [FIX] remove escape sequence from . used for file extension separation
    
    [FIX] escape . used for file extension separation
    sergiocorato authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    f0e1a01 View commit details
    Browse the repository at this point in the history
  27. [FIX] l10n_it_fatturapa_pec

     * Fix FATTURAPA_IN_REGEX to allow signed incoming invoices.
    d-stragapede authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    d1f1428 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    e726d15 View commit details
    Browse the repository at this point in the history
  29. Translated using Weblate (Italian)

    Currently translated at 100.0% (52 of 52 strings)
    
    Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_fatturapa_pec
    Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_fatturapa_pec/it/
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    08cf7bc View commit details
    Browse the repository at this point in the history
  30. FIX lint for l10n_it_fatturapa_pec/models/fetchmail.py as self._cr.co…

    …mmit() is wanted
    
    l10n_it_fatturapa_pec/models/fetchmail.py:83: [E8102(invalid-commit), Fetchmail.fetch_mail] Use of cr.commit() directly - More info https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#never-commit-the-transaction
    l10n_it_fatturapa_pec/models/fetchmail.py:128: [E8102(invalid-commit), Fetchmail.fetch_mail] Use of cr.commit() directly - More info https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#never-commit-the-transaction
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    3dab034 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    eee5a7f View commit details
    Browse the repository at this point in the history
  32. [12.0][l10n_it_fatturapa_pec] Cleanup company details and fix related…

    … view for the multicompany
    robyf70 authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    f641905 View commit details
    Browse the repository at this point in the history
  33. [12.0][IMP][l10n_it_fatturapa_in] Set the supplier invoice bill regis…

    …tration date by looking at the PEC date
    robyf70 authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    494f28e View commit details
    Browse the repository at this point in the history
  34. Translated using Weblate (Italian)

    Currently translated at 100.0% (58 of 58 strings)
    
    Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_fatturapa_pec
    Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_fatturapa_pec/it/
    primes2h authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    f115303 View commit details
    Browse the repository at this point in the history
  35. Translated using Weblate (Italian)

    Currently translated at 100.0% (58 of 58 strings)
    
    Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_fatturapa_pec
    Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_fatturapa_pec/it/
    primes2h authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    fe059b6 View commit details
    Browse the repository at this point in the history
  36. Translated using Weblate (Italian)

    Currently translated at 100.0% (58 of 58 strings)
    
    Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_fatturapa_pec
    Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_fatturapa_pec/it/
    primes2h authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    9c6e37d View commit details
    Browse the repository at this point in the history
  37. FIX l10n_it_fatturapa_pec website

    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    2c692bf View commit details
    Browse the repository at this point in the history
  38. [IMP] l10n_it_fatturapa_pec: Always e-mail contacts about pec errors …

    …+ oca-autopep8
    SimoRubi authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    80436e7 View commit details
    Browse the repository at this point in the history
  39. FIX e_inv_notify_partner_ids for v12: tests are run by OdooBot that i…

    …s not active
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    de2ec8f View commit details
    Browse the repository at this point in the history
  40. merge PR 1264 1717 1728 1737 1739

    Lara Baggio authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    5e6b09f View commit details
    Browse the repository at this point in the history
  41. IMP l10n_it_fatturapa_pec notifying errors using email subject instea…

    …d of message-id
    
    (usually empty here and less significant anyway)
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    1b3809b View commit details
    Browse the repository at this point in the history
  42. Translated using Weblate (Italian)

    Currently translated at 96.5% (55 of 57 strings)
    
    Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_fatturapa_pec
    Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_fatturapa_pec/it/
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    a8989c0 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    fc15549 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    860ad60 View commit details
    Browse the repository at this point in the history
  45. IMP l10n_it_fatturapa_pec seding notifications of errors immediatly.

    Otherwise, in default configuration, fetchmail runs every 5 minutes and email queue every hour: fetchmail is reset before user gets notified
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    429cf47 View commit details
    Browse the repository at this point in the history
  46. Translated using Weblate (Italian)

    Currently translated at 100.0% (57 of 57 strings)
    
    Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_fatturapa_pec
    Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_fatturapa_pec/it/
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    a3d99ea View commit details
    Browse the repository at this point in the history
  47. FIX license compatibility

    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    1dbfc36 View commit details
    Browse the repository at this point in the history
  48. [FIX] l10n_it_fatturapa_in: Mute parsing exception when reading data …

    …from broken XML test
    SimoRubi authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    6f80316 View commit details
    Browse the repository at this point in the history
  49. [10.0][l10n_it_fatturapa_out] Aggiunge la possibilità di specificare …

    …per cliente quante fatture si vogliono inserire in un file xml
    
    [10.0][l10n_it_fatturapa_pec] Permettere di rigenerare il file xml per le fatture elettroniche in stato di errore
    
    [10.0][l10n_it_fatturapa_out] Refactory del metodo di generazione delle fatture elettroniche, supporto per rigenerare gli xml e limite di fatture da inserire nel file xml generato
    robyf70 authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    3cca9cc View commit details
    Browse the repository at this point in the history
  50. [10.0][l10n_it_fatturapa_pec] Generalize a bit the method _create_e_i…

    …nvoice() to reuse part of the code
    robyf70 authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    9bd1d1b View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    7f0c433 View commit details
    Browse the repository at this point in the history
  52. Port OCA#1565 to 12

    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    c8d3e9c View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    0035d60 View commit details
    Browse the repository at this point in the history
  54. Translated using Weblate (Italian)

    Currently translated at 100.0% (63 of 63 strings)
    
    Translation: l10n-italy-12.0/l10n-italy-12.0-l10n_it_fatturapa_pec
    Translate-URL: https://translation.odoo-community.org/projects/l10n-italy-12-0/l10n-italy-12-0-l10n_it_fatturapa_pec/it/
    primes2h authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    7e97dc4 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    9cc0cb3 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    5051064 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    3b2af8e View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    3eabc03 View commit details
    Browse the repository at this point in the history
  59. [MIG] l10n_it_fatturapa_pec: Migration to 14.0

    Co-authored-by: SimoRubi <[email protected]>
    Co-authored-by: fredzamoabg
    Borruso and SimoRubi committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    337e25f View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    f465def View commit details
    Browse the repository at this point in the history
  61. FIX l10n_it_fatturapa_pec when e-invoice sent file name is in wrong f…

    …ormat:
    
    SDI response can't be linked to original file, as RESPONSE_MAIL_REGEX does not match
    eLBati authored and Borruso committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    e876d57 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    8db16dc View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    c925d71 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    1b99272 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    847deff View commit details
    Browse the repository at this point in the history