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

[11.0][MIG] base_report_to_printer + printer tray: Merged together #110

Merged
merged 190 commits into from
Dec 18, 2017

Commits on Oct 3, 2017

  1. [ADD] base_report_to_printer

    eLBati authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    feae5db View commit details
    Browse the repository at this point in the history
  2. [IMP] base_report_to_printer - module description

    eLBati authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    e9598f5 View commit details
    Browse the repository at this point in the history
  3. [imp] description with images

    eLBati authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    c9adf1b View commit details
    Browse the repository at this point in the history
  4. [FIX] The close should be done in the finally: clause of a try: excep…

    …t: because if an exception occurs,
    
    a postgresql transaction will be leaked.
    The except clause should properly rollback the cr
    eLBati authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    4498bce View commit details
    Browse the repository at this point in the history
  5. [FIX] We better have to use the "with" syntax

    eLBati authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    ced1d0c View commit details
    Browse the repository at this point in the history
  6. [FIX] update method is accessible from XML/RPC and should return some…

    …thing else than None which is forbidden
    eLBati authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    6930c5c View commit details
    Browse the repository at this point in the history
  7. [FIX] print_direct return value

    eLBati authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    b452b33 View commit details
    Browse the repository at this point in the history
  8. [fix] get_default return value

    eLBati authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    64f8a7f View commit details
    Browse the repository at this point in the history
  9. [FIX] context=None

    eLBati authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    5db700c View commit details
    Browse the repository at this point in the history
  10. [FIX] using logging

    eLBati authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    576fbe4 View commit details
    Browse the repository at this point in the history
  11. [FIX] isinstance(printer, (str,unicode)):

    replaced by isinstance(printer, basestring)
    eLBati authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    76f9704 View commit details
    Browse the repository at this point in the history
  12. [FIX] base_report_to_printer description

    eLBati authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    d57fc8f View commit details
    Browse the repository at this point in the history
  13. [FIX] base_report_to_printer - 'authors'

    eLBati authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    04eb2b7 View commit details
    Browse the repository at this point in the history
  14. [MIGR] Set the 'installable' flags to False on addons. They should be…

    … activated when their migration is done.
    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    08db5a9 View commit details
    Browse the repository at this point in the history
  15. base_report_to_printer V7 upgrade

    aschrafel authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    49d4e2e View commit details
    Browse the repository at this point in the history
  16. [FIX] base_report_to_printer - load security first

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    e9e16db View commit details
    Browse the repository at this point in the history
  17. [IMP] base_report_to_printer - retab and clean extra spaces

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    bbe2142 View commit details
    Browse the repository at this point in the history
  18. [IMP] base_report_to_printer - remove class calls and use orm.Model a…

    …nd orm.TransientModel instead of osv aliases
    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    10b5678 View commit details
    Browse the repository at this point in the history
  19. [IMP] base_report_to_printer - clean imports

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    c336491 View commit details
    Browse the repository at this point in the history
  20. [IMP] base_report_to_printer - remove class call

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    121865f View commit details
    Browse the repository at this point in the history
  21. [IMP] base_report_to_printer - simplify calls on class

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    0dc248d View commit details
    Browse the repository at this point in the history
  22. [TYPO]

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    ab4afa3 View commit details
    Browse the repository at this point in the history
  23. [IMP] base_report_to_printer - replace lpr by use of pycups

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    7d39b4d View commit details
    Browse the repository at this point in the history
  24. [IMP] base_report_to_printer - add report_id on print_direct

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    c7f1e0b View commit details
    Browse the repository at this point in the history
  25. [IMP] base_report_to_printer - use an action id in an action method i…

    …nstead of a report id makes more sens
    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    60d01e0 View commit details
    Browse the repository at this point in the history
  26. [FIX] base_report_to_printer - using system_name of printer instead o…

    …f printer browse record
    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    ec028b3 View commit details
    Browse the repository at this point in the history
  27. [IMP] base_report_to_printer - remove uselsee context set

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    3878a86 View commit details
    Browse the repository at this point in the history
  28. [IMP] base_report_to_printer - return browse record instead of string…

    … in behavior for printer
    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    63874cb View commit details
    Browse the repository at this point in the history
  29. [IMP] base_report_to_printer - retab xml files

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    42efe15 View commit details
    Browse the repository at this point in the history
  30. [IMP] base_report_to_printer - show field name in report and user views

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    083bc82 View commit details
    Browse the repository at this point in the history
  31. [IMP] base_report_to_printer - remove deprecated view type

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    6af98d2 View commit details
    Browse the repository at this point in the history
  32. [FIX] base_report_to_printer - missing class call

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    d1f3bd5 View commit details
    Browse the repository at this point in the history
  33. [TYPO]

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    b00c963 View commit details
    Browse the repository at this point in the history
  34. [IMP] base_report_to_printer - pass report id instead of report key

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    a11af72 View commit details
    Browse the repository at this point in the history
  35. [FIX] base_report_to_printer - mistake in params of print_direct

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    448ceb3 View commit details
    Browse the repository at this point in the history
  36. [FIX] base_report_to_printer - restore error message as osv + propaga…

    …te options
    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    78ef3fd View commit details
    Browse the repository at this point in the history
  37. [IMP] base_report_to_printer - remove osv.except_osv as it breaks the…

    … workflow and doesn't permits multiple report to be sent to the printer.
    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    c51ba5d View commit details
    Browse the repository at this point in the history
  38. [IMP] base_report_to_printer - split code in multiple files

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    2e4ebc8 View commit details
    Browse the repository at this point in the history
  39. [IMP] add external_dependencies

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    f876224 View commit details
    Browse the repository at this point in the history
  40. [IMP] update po files

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    e080114 View commit details
    Browse the repository at this point in the history
  41. [IMP] module desciption and remove AUTHORS.txt file to write contribu…

    …tors in __openerp__
    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    5d4581d View commit details
    Browse the repository at this point in the history
  42. [IMP] description add comment on update printers wizard

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    a69abe5 View commit details
    Browse the repository at this point in the history
  43. [IMP] adding some explanation in description

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    d0eb93e View commit details
    Browse the repository at this point in the history
  44. [FIX] Use explicit kwargs: context=context

    jgrandguillaume authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    9f2c1df View commit details
    Browse the repository at this point in the history
  45. Launchpad automatic translations update.

    Unknown authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    3e89077 View commit details
    Browse the repository at this point in the history
  46. [FIX] user browse was incorrect and never returned records. Fix based…

    … on the patch from Egor Tsinko (etsinko)
    Lionel Sausin authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    8f5b500 View commit details
    Browse the repository at this point in the history
  47. [FIX] the button 'set default' on printers did not work because the f…

    …ield was 'required' - this is deprecated on booleans in v7
    Lionel Sausin authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    7b22611 View commit details
    Browse the repository at this point in the history
  48. [IMP] fix/improve printing preference UI

    Lionel Sausin authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    b085116 View commit details
    Browse the repository at this point in the history
  49. [IMP] Use short notation for browse and use pool[] instead of pool.ge…

    …t() as suggested by Pedro Manuel Baeza
    Lionel Sausin authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    489d419 View commit details
    Browse the repository at this point in the history
  50. Launchpad automatic translations update.

    Unknown authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    cf0e670 View commit details
    Browse the repository at this point in the history
  51. set installable to false

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    c5b44f3 View commit details
    Browse the repository at this point in the history
  52. move modules in __unported__ for 8.0

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    e49f662 View commit details
    Browse the repository at this point in the history
  53. Move base_report_to_printer to root from __unported__

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    0f7bb5f View commit details
    Browse the repository at this point in the history
  54. Set module installable

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    8bfbd12 View commit details
    Browse the repository at this point in the history
  55. Extract description of the module in README.RST

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    3f8838c View commit details
    Browse the repository at this point in the history
  56. base_calendar passed away

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    d02f5e6 View commit details
    Browse the repository at this point in the history
  57. Migrate ir_report.py to new API

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    f46ad66 View commit details
    Browse the repository at this point in the history
  58. Migrate printing.py to new API

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    ce0876e View commit details
    Browse the repository at this point in the history
  59. Migrate res_users.py to new API

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    2005273 View commit details
    Browse the repository at this point in the history
  60. Migrate report_xml_action.py to new API

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    fe3ab51 View commit details
    Browse the repository at this point in the history
  61. Migrate wizard/update_printers.py to new API

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    05982df View commit details
    Browse the repository at this point in the history
  62. Better view for wizard

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    242146b View commit details
    Browse the repository at this point in the history
  63. Recursion when calling a method with old-style api signature from browse

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    fbe8630 View commit details
    Browse the repository at this point in the history
  64. Remove the Lock because it is useless on multiprocess

    Replace it by a database lock so the different processes are
    all aware of the lock and the last update timestamp.
    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    8a80de3 View commit details
    Browse the repository at this point in the history
  65. browse is called often enough to call the update routine (even too much)

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    87ae352 View commit details
    Browse the repository at this point in the history
  66. Implements the print on the new 'report' model

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    9c4ea8c View commit details
    Browse the repository at this point in the history
  67. Restore the print capability on deprecated reports

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    3d89e22 View commit details
    Browse the repository at this point in the history
  68. Update copyrights

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    e15d267 View commit details
    Browse the repository at this point in the history
  69. Improve form view, add search view for printers

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    aecc0a5 View commit details
    Browse the repository at this point in the history
  70. Update translations, add a string to URI so it is uppercased

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    975afd7 View commit details
    Browse the repository at this point in the history
  71. missing api decorator

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    ad5e8b6 View commit details
    Browse the repository at this point in the history
  72. We need the report in print_document and print options (needed in

    printer_tray)
    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    39bd5e9 View commit details
    Browse the repository at this point in the history
  73. Move the 'skip_update' right in the browse, it prevents a loop

    See odoo/odoo#3644
    
    Also, it helps to have the value set/read in context close to each
    other.
    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    7ac2564 View commit details
    Browse the repository at this point in the history
  74. Avoid to hits the database too many times to check if the list of

    printers needs to be refreshed.
    
    Keep the last update datetime in cache and invalidate this datetime if is
    is older than POLL_INTERVAL.  Thus, one process won't hit the DB more
    than 1 time every POLL_INTERVAL (10 seconds currently) to check if it
    needs to update the list.
    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    ebe52ef View commit details
    Browse the repository at this point in the history
  75. Refresh the list of printers every 15 seconds instead of 10

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    9df6070 View commit details
    Browse the repository at this point in the history
  76. Extract a method so it will be easier to override in printer_tray

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    916d974 View commit details
    Browse the repository at this point in the history
  77. Error on installation of the module

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    262a5db View commit details
    Browse the repository at this point in the history
  78. Invalidate the cache when the table is created so the table_exists()

    method returns a fresh value after creation of the table
    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    b015085 View commit details
    Browse the repository at this point in the history
  79. Use a cron instead of threads to update printers status

    The implementation with threads was blocking the loading of the
    server in multiprocess.  Using a cron will lower the frequency of
    the updates but at least it is simple and reliable.
    
    Fixes OCA#14
    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    254495f View commit details
    Browse the repository at this point in the history
  80. Do not write the printer status if it has not changed

    Avoid unnecessary UPDATE every minute
    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    b4e9161 View commit details
    Browse the repository at this point in the history
  81. Clean the XML file (remove eval, reindent)

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    9dc3dd7 View commit details
    Browse the repository at this point in the history
  82. Give access to models to all users for reading

    So they are able to print
    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    354bade View commit details
    Browse the repository at this point in the history
  83. [FIX] Bug OCA#19 avoid crash when using 'raw' option

    Alexis de Lattre authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    421bcda View commit details
    Browse the repository at this point in the history
  84. [Usability] Auto-add Administrator user to the Print group

    Make XML code more readable
    Alexis de Lattre authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    656939d View commit details
    Browse the repository at this point in the history
  85. base_report_to_printer: add support for remote CUPS server (not just …

    …localhost)
    
    More logging and better error handling
    Alexis de Lattre authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    35dff1b View commit details
    Browse the repository at this point in the history
  86. Add CUPS_HOST in more debug logs

    Alexis de Lattre authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    77d817a View commit details
    Browse the repository at this point in the history
  87. Do no longer returns a PDF when a report is printed

    Instead, a notification is displayed to the user.
    When report.get_pdf() is called on a report that must be printer,
    it will print the report *and* returns the pdf, thus code that
    calls directly report.get_pdf() will print the pdf on the printer
    as expected.
    
    Fixes OCA#16
    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    8317010 View commit details
    Browse the repository at this point in the history
  88. Raise an error if no printer is configured

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    fe9c7a5 View commit details
    Browse the repository at this point in the history
  89. Updated translations

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    d814ab0 View commit details
    Browse the repository at this point in the history
  90. Add a limitation in the readme

    Corrected some typos at the same time
    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    c27499c View commit details
    Browse the repository at this point in the history
  91. When get_pdf has no printer, just create the pdf file

    And do not print anything, instead of raising an error.
    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    e8058b2 View commit details
    Browse the repository at this point in the history
  92. Add OCA as author of OCA addons

    In order to get visibility on https://www.odoo.com/apps the OCA board has
    decided to add the OCA as author of all the addons maintained as part of the
    association.
    gurneyalex authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    0863057 View commit details
    Browse the repository at this point in the history
  93. Compatibility fix for report with custom parser

    By calling `super.get_pdf` in print_document we can encounter trouble with MRO resolution
    that prevent custom report parser (e.g. override of `get_pdf`) to be called.
    
    The fix consist of not calling `super` and prevent multiple call to 'printer.print_document'
    nbessi authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    2a1e3da View commit details
    Browse the repository at this point in the history
  94. Fix set the skip directive in context

    instead of a faulty return
    nbessi authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    5095569 View commit details
    Browse the repository at this point in the history
  95. The alteration of the context has no effect

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    e6a8463 View commit details
    Browse the repository at this point in the history
  96. Past tense is confusing

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    55ed4e3 View commit details
    Browse the repository at this point in the history
  97. Vague method name, put the predicate method closer to its caller

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    e991d88 View commit details
    Browse the repository at this point in the history
  98. dict.copy() is more efficient than calling dict

    guewen authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    679f21b View commit details
    Browse the repository at this point in the history
  99. Improve bloated condition test

    nbessi authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    67ec48b View commit details
    Browse the repository at this point in the history
  100. [FIX] base_report_to_printer: make get_pdf callable from 8.0 api

    anthony-muschang authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    3fe4f72 View commit details
    Browse the repository at this point in the history
  101. Configuration menu
    Copy the full SHA
    fb0bc40 View commit details
    Browse the repository at this point in the history
  102. [FIX] test if the module is installed before monkey patching

    vrenaville authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    3bda066 View commit details
    Browse the repository at this point in the history
  103. [PEP8]

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    bb3e856 View commit details
    Browse the repository at this point in the history
  104. [UPD] prefix versions with 8.0

    sbidoul authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    c03f3c0 View commit details
    Browse the repository at this point in the history
  105. [MIG] Make modules uninstallable

    pedrobaeza authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    1580da4 View commit details
    Browse the repository at this point in the history
  106. pass context to printer to use it for example in print_options()

    * context was lost while getting report
    * now it will be passed using with_context
    * could be used for print_options (example: pass copies amount for
    productlabals)
    intero-chz authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    3ae8fb2 View commit details
    Browse the repository at this point in the history
  107. Add support for multiple copies

    alexis-via authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    9b5db10 View commit details
    Browse the repository at this point in the history
  108. Merge branch '8.0' of https://github.com/intero-chz/report-print-send

    …into 8.0
    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    70d61f7 View commit details
    Browse the repository at this point in the history
  109. [IMP] Soft fail on missing cups import

    cups is an external dependency, if it is not installed Odoo will not start.
    OCA guidelines specify guidelines for External dependencies, code is from there.
    Roel Adriaans authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    2eac4d4 View commit details
    Browse the repository at this point in the history
  110. [MIG] base_report_to_printer: Upgrade to v9

    lasley authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    9b3eddd View commit details
    Browse the repository at this point in the history
  111. [IMP] base_report_to_printer: Add test coverage

    * Add test coverage
    * Minor touch ups in wizard
    * Prefer UserError to Warning
    lasley authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    3dae851 View commit details
    Browse the repository at this point in the history
  112. [FIX] base_report_to_printer: Minor fixes

    * Migrate print_document method to v8 api exclusively
    * Use api.multi on _can_print_report
    * Simplify printing_printer description
    * Simplify noupdate declaration
    lasley authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    bd6f63e View commit details
    Browse the repository at this point in the history
  113. [FIX] base_report_to_printer: Unify logger import

    lasley authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    b655dd1 View commit details
    Browse the repository at this point in the history
  114. [FIX] base_report_to_printer: Remove execute bit

    lasley authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    7281bad View commit details
    Browse the repository at this point in the history
  115. [FIX] base_report_to_printer: Switch error type

    * Prefer UserError to Warning
    lasley authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    d533a2e View commit details
    Browse the repository at this point in the history
  116. Fix placeholder for repo in readme.rst

    yvaucher authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    18d0b76 View commit details
    Browse the repository at this point in the history
  117. [MIG] Make modules uninstallable

    pedrobaeza authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    f30d68a View commit details
    Browse the repository at this point in the history
  118. [MIG] Rename manifest files

    pedrobaeza authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    cab8d0c View commit details
    Browse the repository at this point in the history
  119. [10.0][MIG] base_report_to_printer (OCA#68)

    * Set api.multi for action called as `object` on view
    
    * Merge syleam printers module into base_report_to_printer (OCA#60)
    
    * [IMP] Updated unit tests
    
    * [FIX] Fixed renamed attributes
    
    * [FIX] Remove deleted fields
    
    * [IMP] Add printing.server and printing.job models
    
    * [IMP] Allow to cancel all jobs, enable, and disable printers
    
    * [IMP] Split the cups part of print_document into a new print_file method
    
    * [IMP] Updated cron job to run the action_update_jobs method
    
    * [ADD] Add a migration script to create a printing server from configuration
    
    * [MIG] Migrate base_report_to_printer to v10.0
    
    Removed deprecated methods on printing.printer (replaced by methods on
            printing.server)
    
    * [IMP] Add wkhtmltopdf in travis configuration file
    
    * [FIX] base_report_to_printer: Fix Update Job Cron
    * Fix API issue with Update Job Cron
    ** Forward Port from 9.0
    
    * [FIX] Fixed the res.users view
    
    The string attribute should not be used as a selector, because it is
    translatable.
    
    * [FIX] Fixed the print_document method of report
    
    The new API migration was made to @api.multi because of the "cr, uid,
    ids" signature, but "ids" was the ids of the records to print here, not
    the report's ids.
    Also, the new API version of "get_pdf" get directly the ids of the
    records to print in the standard module, not a recordset.
    
    * [FIX] UI is now (un)blocked only when using qweb-pdf reports in standard addons
    Sylvain Garancher committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    020d89b View commit details
    Browse the repository at this point in the history
  120. [10] FIX format parameter (OCA#84)

    * FIX format parameter
    
    To be able to print files in raw format it's needed to set this parameter.
    
    Previous code was not able to print raw files, but it didn't get error because 'format' used on line 107 is assumed as a format funtion, because format parameter was not on this scope.
    
    * FIX pep8
    angelmoya authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    382ed61 View commit details
    Browse the repository at this point in the history
  121. Update README.rst

    Provided steps to installing PyCups
    blutecsolutions authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    36476e1 View commit details
    Browse the repository at this point in the history
  122. Update README.rst

    @ authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    a38e611 View commit details
    Browse the repository at this point in the history
  123. Configuration menu
    Copy the full SHA
    d594b24 View commit details
    Browse the repository at this point in the history
  124. OCA Transbot updated translations from Transifex

    oca-transbot authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    b5365d1 View commit details
    Browse the repository at this point in the history
  125. [REM] Removed dead code

    The two monkey-patched method were not called anymore in any module
    (standard or OCA), and are removed from the next version.
    Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    a327a8e View commit details
    Browse the repository at this point in the history
  126. [FIX] Use an HttpCase test class to avoid locking the registry for HT…

    …TP threads loading during tests that need wkhtmltopdf
    Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    d4eb0ae View commit details
    Browse the repository at this point in the history
  127. [FIX] Minor bugfixes

    Printer Tray isn't an app
    Base Report To printer ir.actions.report.xml view xpath error and missing page name
    Put to before security as security tab doesn't do much and if this module is installed it should be the hero page
    gdgellatly authored and Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    e10d4cc View commit details
    Browse the repository at this point in the history
  128. [MIG] base_report_to_printer: Migrate to v11.0

    Sylvain GARANCHER committed Oct 3, 2017
    Configuration menu
    Copy the full SHA
    49062b5 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2017

  1. [FIX] Review fixes

    Sylvain GARANCHER committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    9b48d16 View commit details
    Browse the repository at this point in the history
  2. [FIX] Forgot fixes

    Sylvain GARANCHER committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    ab8a687 View commit details
    Browse the repository at this point in the history
  3. [FIX] Views review fixes

    Sylvain GARANCHER committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    470c25a View commit details
    Browse the repository at this point in the history
  4. module printer_tray

    yvaucher authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    a12c9ba View commit details
    Browse the repository at this point in the history
  5. No commit message

    yvaucher authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    ad80991 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8a3026f View commit details
    Browse the repository at this point in the history
  7. translation files

    yvaucher authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    eee2b55 View commit details
    Browse the repository at this point in the history
  8. security file ir.model.access.csv

    yvaucher authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    43e7f32 View commit details
    Browse the repository at this point in the history
  9. set installable to false

    yvaucher authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    22ef4ec View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a0c169d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    faba475 View commit details
    Browse the repository at this point in the history
  12. Set printer_tray to installable

    guewen authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    92d1ab6 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9c32e0c View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a38e724 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    a7aa6cb View commit details
    Browse the repository at this point in the history
  16. new api for res.users

    guewen authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    fc3900b View commit details
    Browse the repository at this point in the history
  17. new api for printing.tray

    guewen authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    3b51e67 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    4a4a015 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    4453dab View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    92d5192 View commit details
    Browse the repository at this point in the history
  21. unused import

    guewen authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    badb1e5 View commit details
    Browse the repository at this point in the history
  22. add trays in printers view

    guewen authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    dd58bf3 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    60a8e38 View commit details
    Browse the repository at this point in the history
  24. Updated translations

    guewen authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    e91bbb3 View commit details
    Browse the repository at this point in the history
  25. Wrong column name

    guewen authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    0ce0909 View commit details
    Browse the repository at this point in the history
  26. Missing import

    guewen authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    83c4507 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    7d870c1 View commit details
    Browse the repository at this point in the history
  28. Security file was not loaded

    guewen authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    053e8ed View commit details
    Browse the repository at this point in the history
  29. Add the trays in printing.report.xml.action view

    So they can be configured per user and per report
    guewen authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    e13513e View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    529d3af View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    a05e7b7 View commit details
    Browse the repository at this point in the history
  32. Add license key in __openerp__.py

    yvaucher authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    352074f View commit details
    Browse the repository at this point in the history
  33. Add OCA as author of OCA addons

    In order to get visibility on https://www.odoo.com/apps the OCA board has
    decided to add the OCA as author of all the addons maintained as part of the
    association.
    gurneyalex authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    092c0fe View commit details
    Browse the repository at this point in the history
  34. Add bug tracker link on README.rst

    yvaucher authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    c544204 View commit details
    Browse the repository at this point in the history
  35. prefix versions with 8.0

    sbidoul authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    d76ac42 View commit details
    Browse the repository at this point in the history
  36. Make modules uninstallable

    pedrobaeza authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    9b5f380 View commit details
    Browse the repository at this point in the history
  37. base_report_to_printer: Upgrade to v9

    lasley authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    9283e42 View commit details
    Browse the repository at this point in the history
  38. Rename manifest files

    pedrobaeza authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    2b30bca View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    8ca4035 View commit details
    Browse the repository at this point in the history
  40. FIX typo in previous merge

    yvaucher authored and gdgellatly committed Oct 4, 2017
    Configuration menu
    Copy the full SHA
    15cac2c View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2017

  1. FIX: print with copies and installed printer_tray module

    Added new Argument to printer_tray also.
    
    OCA Transbot updated translations from Transifex
    msteinfeld-intero authored and gdgellatly committed Oct 5, 2017
    Configuration menu
    Copy the full SHA
    77a9e13 View commit details
    Browse the repository at this point in the history
  2. printer_tray: Add unit tests

    Sylvain GARANCHER authored and gdgellatly committed Oct 5, 2017
    Configuration menu
    Copy the full SHA
    7a349f5 View commit details
    Browse the repository at this point in the history
  3. Fixed lint errors

    Sylvain GARANCHER authored and gdgellatly committed Oct 5, 2017
    Configuration menu
    Copy the full SHA
    9bbe10b View commit details
    Browse the repository at this point in the history
  4. Migrate printer_tray to v9.0

    Sylvain GARANCHER authored and gdgellatly committed Oct 5, 2017
    Configuration menu
    Copy the full SHA
    c59f9d6 View commit details
    Browse the repository at this point in the history
  5. printer_tray: Allow to call print_option with no report

    Sylvain GARANCHER authored and gdgellatly committed Oct 5, 2017
    Configuration menu
    Copy the full SHA
    e11cf22 View commit details
    Browse the repository at this point in the history
  6. Migrate printer_tray to v10.0

    OCA Transbot updated translations from Transifex
    
    OCA Transbot updated translations from Transifex
    Sylvain GARANCHER authored and gdgellatly committed Oct 5, 2017
    Configuration menu
    Copy the full SHA
    6f08d95 View commit details
    Browse the repository at this point in the history
  7. printer_tray: Fix mocking in unit tests (OCA#97)

    The mocking was bad, and this bug has been revealed by the usage of mock 2.0.0
    
    OCA Transbot updated translations from Transifex
    Sylvain Garancher authored and gdgellatly committed Oct 5, 2017
    Configuration menu
    Copy the full SHA
    d592c4e View commit details
    Browse the repository at this point in the history
  8. Minor bugfixes

    Printer Tray isn't an app
    Base Report To printer ir.actions.report.xml view xpath error and missing page name
    Put to before security as security tab doesn't do much and if this module is installed it should be the hero page
    gdgellatly committed Oct 5, 2017
    Configuration menu
    Copy the full SHA
    a251376 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8bfea53 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4dcf262 View commit details
    Browse the repository at this point in the history
  11. [IMP] Allow users to define their default behaviour and printer

    Sylvain GARANCHER committed Oct 5, 2017
    Configuration menu
    Copy the full SHA
    61cf341 View commit details
    Browse the repository at this point in the history
  12. [WIP] Commit before rebase on latest OCA#109 for user and view updates

    Migration of printer_tray to v11 and integration with base_report_to_printer
    gdgellatly committed Oct 5, 2017
    Configuration menu
    Copy the full SHA
    d6500e4 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2017

  1. [PORT] Finalize move of printer_tray to base_report_to_printer,

    fix tests as report param is not a string but recordset
    gdgellatly committed Oct 6, 2017
    Configuration menu
    Copy the full SHA
    f70720a View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2017

  1. Configuration menu
    Copy the full SHA
    4375c7b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    142cdfb View commit details
    Browse the repository at this point in the history
  3. [To FIX] Hackish fix to test, needs to be done properly as behaviour …

    …is now part of the call to report.
    gdgellatly committed Oct 8, 2017
    Configuration menu
    Copy the full SHA
    57bd6a1 View commit details
    Browse the repository at this point in the history
  4. [FIX] Set back old tray behaviour to take user or report default if t…

    …ray not set on action - update tests for printer tray to new determinant location
    gdgellatly committed Oct 8, 2017
    Configuration menu
    Copy the full SHA
    0d0acbc View commit details
    Browse the repository at this point in the history
  5. [PORT] Finalize move of printer_tray to base_report_to_printer,

    fix tests as report param is not a string but recordset
    gdgellatly committed Oct 8, 2017
    Configuration menu
    Copy the full SHA
    b63eef0 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2017

  1. [PORT] Finalize move of printer_tray to base_report_to_printer,

    fix tests as report param is not a string but recordset
    gdgellatly committed Dec 6, 2017
    Configuration menu
    Copy the full SHA
    21371f1 View commit details
    Browse the repository at this point in the history
  2. Merge branch '11.0-refactor-options' into 11.0-printer-tray

    # Conflicts:
    #	base_report_to_printer/models/ir_actions_report.py
    #	base_report_to_printer/models/printing_printer.py
    #	base_report_to_printer/tests/test_ir_actions_report.py
    #	base_report_to_printer/tests/test_printing_printer.py
    #	base_report_to_printer/views/printing_report.xml
    #	base_report_to_printer/views/res_users.xml
    gdgellatly committed Dec 6, 2017
    Configuration menu
    Copy the full SHA
    cc8e61d View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2017

  1. Configuration menu
    Copy the full SHA
    506debb View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2017

  1. Configuration menu
    Copy the full SHA
    9e02139 View commit details
    Browse the repository at this point in the history