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] stock reserve #883

Closed
wants to merge 87 commits into from

Commits on Apr 15, 2020

  1. [ADD] started a generic stock reservation module (stock_reserve), it …

    …will serve as a basis for the sale pre-book
    guewen authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    5ce92f5 View commit details
    Browse the repository at this point in the history
  2. [IMP] stock_reserve: add views, now able to reserve and release a mov…

    …e, added a default 'Reservation Stock' location
    guewen authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    74ab8e6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    04c0d81 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    54764bb View commit details
    Browse the repository at this point in the history
  5. [ADD] security file

    guewen authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    9c22a5a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    524da55 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5d7b19a View commit details
    Browse the repository at this point in the history
  8. [CHG] views refinements

    guewen authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    8658add View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    603bf81 View commit details
    Browse the repository at this point in the history
  10. [CHG] the location_id and location_dest_id are now only default value…

    …s, onchange not needed as we never change the type. document the fields of a reservation
    guewen authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    25c32bd View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    db8f04a View commit details
    Browse the repository at this point in the history
  12. [FIX] the move should be assigned and not done: items are not physica…

    …lly moved and would appear in an inventory
    guewen authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    f6024aa View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9d4c156 View commit details
    Browse the repository at this point in the history
  14. [ADD] test for the reservation

    guewen authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    aebac44 View commit details
    Browse the repository at this point in the history
  15. [IMP] description in __openerp__.py

    guewen authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    b65c6af View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    787221f View commit details
    Browse the repository at this point in the history
  17. reactivate module stock_reserve

    yvaucher authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    aa32a66 View commit details
    Browse the repository at this point in the history
  18. port models and method to api 8.0

    yvaucher authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    8320e38 View commit details
    Browse the repository at this point in the history
  19. port onchanges

    yvaucher authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    83640a6 View commit details
    Browse the repository at this point in the history
  20. change type to stock.picking.type

    yvaucher authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    c66f961 View commit details
    Browse the repository at this point in the history
  21. improve descriptor

    yvaucher authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    3197683 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    6c38cfd View commit details
    Browse the repository at this point in the history
  23. replace product_qty by product_uom_qty

    yvaucher authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    bfddc37 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    8a2039b View commit details
    Browse the repository at this point in the history
  25. some products' fields moved in stock_accout. removing them to make th…

    …e test pass as it isn't a dependancy.
    yvaucher authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    0780497 View commit details
    Browse the repository at this point in the history
  26. fix flake8 warnings

    gurneyalex authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    f2bfd91 View commit details
    Browse the repository at this point in the history
  27. update test

    don't use half the quantity so that the reserved qty is different from
    available qty
    gurneyalex authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    f577220 View commit details
    Browse the repository at this point in the history
  28. more stock_reserve tests

    * check that multiple reservations are handled correctly
    * check that various UOM are handled correctly
    gurneyalex authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    f89803d View commit details
    Browse the repository at this point in the history
  29. product_reserve: test orderpoint

    test that reservations will trigger orderpoint procurements
    gurneyalex authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    52c979c View commit details
    Browse the repository at this point in the history
  30. fix typo in docstring

    gurneyalex authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    fc2875e View commit details
    Browse the repository at this point in the history
  31. add test for expiration of reservations

    fix a bug in the code to make the tests green
    gurneyalex authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    0a7ba36 View commit details
    Browse the repository at this point in the history
  32. fix button to open related move

    yvaucher authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    6031c82 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    8629bc6 View commit details
    Browse the repository at this point in the history
  34. the reservation should reserve a quant

    For weird reasons, force-assigning a move does not associate quants.
    action_assign'ing the picking does, and is the same procedure that you
    can do via the interface.
    lepistone authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    8c6005b View commit details
    Browse the repository at this point in the history
  35. refactor: get rid of move_recs

    lepistone authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    5f14ced View commit details
    Browse the repository at this point in the history
  36. [UPD] move out from unported to 8 for update

    [UPG] Upgraded to version 8, fixed references to new 8.0  views and  moved fields that were in  product.product to product.template
    
    [fix] remove duplicate view and correct view name
    
    [UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.
    
    [UPG] stock available immediately, corrected the calculation method of
    immediately_usable_qty to take in accountthe sign change in outgoing_qty
    (from negative to positive) in version 8.
    
    [FLAKE8]
    
    [FIX] renaming of a class, comment removing, useless code.
    
    [UPD] move out from unported to 8 for update
    
    [fix] remove duplicate view and correct view name
    
    [UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.
    
    [FIX] renaming of a class, comment removing, useless code.
    
    [fix] remove duplicate view and correct view name
    
    [UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.
    
    [UPD] move out from unported to 8 for update
    
    [fix] remove duplicate view and correct view name
    
    [UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.
    
    [FIX] renaming of a class, comment removing, useless code.
    
    [UPD] move out from unported to 8 for update
    
    [fix] remove duplicate view and correct view name
    
    [UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.
    
    [FIX] renaming of a class, comment removing, useless code.
    
    [UPD] move out from unported to 8 for update
    
    [fix] remove duplicate view and correct view name
    
    [UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.
    
    [FIX] renaming of a class, comment removing, useless code.
    
    [fix] remove duplicate view and correct view name
    
    [UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.
    
    [UPD] move out from unported to 8 for update
    
    [fix] remove duplicate view and correct view name
    
    [UPG][FIX] added outgoing field XML, that was in the base stock field in 7.0.
    
    [FIX] renaming of a class, comment removing, useless code.
    gfcapalbo authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    126b434 View commit details
    Browse the repository at this point in the history
  37. [ADD] removed view

    gfcapalbo authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    1c0371f View commit details
    Browse the repository at this point in the history
  38. [FIX] Stock_reserve change revert

    gfcapalbo authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    f4ef9a9 View commit details
    Browse the repository at this point in the history
  39. Update product.xml

    gfcapalbo authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    8e2a55b View commit details
    Browse the repository at this point in the history
  40. Update product.xml

    gfcapalbo authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    39ff073 View commit details
    Browse the repository at this point in the history
  41. 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 RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    9aa0252 View commit details
    Browse the repository at this point in the history
  42. fix OCA#42: reserve location should be outside WH

    This has always been wrong on v8, but because of the very obscure
    odoo/odoo#5797, this seemed to work every time we had single-step
    reception.
    
    Please note that this block of XML is noupdate, so for existing
    installations you need to change the parent of the reservation location
    to something outside your warehouses manually.
    
    Incidentally, this makes the branch green independently of odoo/odoo#5797.
    lepistone authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    94d3262 View commit details
    Browse the repository at this point in the history
  43. bump and migrate

    lepistone authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    c05e737 View commit details
    Browse the repository at this point in the history
  44. find XML id by module, name

    lepistone authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    d4f7c99 View commit details
    Browse the repository at this point in the history
  45. make stock_reserve owner-aware

    lepistone authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    5fc7bc0 View commit details
    Browse the repository at this point in the history
  46. fix crash: excepted singleton

    lepistone authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    2d55c52 View commit details
    Browse the repository at this point in the history
  47. fix reservation_count computation

    1. Make it float, because quantity is float.
    2. Respect unit of measure (instead of adding apples and pears).
    3. Do that for both product and template.
    4. Test the above.
    lepistone authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    41ef21e View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    828254d View commit details
    Browse the repository at this point in the history
  49. refactor tests, improve failures

    lepistone authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    fa2233c View commit details
    Browse the repository at this point in the history
  50. Added the translation template file and Finnish translations to stock…

    …_reserve and stock_reserve_sale.
    mlaitinen authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    8313733 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    52fca5b View commit details
    Browse the repository at this point in the history
  52. Add README.rst and remove description from __openerp__.py

    Alexandre MOREAU authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    371494a View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    62ebc30 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    fb7bda4 View commit details
    Browse the repository at this point in the history
  55. Add Spanish translation of stock reserve modules

    Ismael Calvo authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    30e16eb View commit details
    Browse the repository at this point in the history
  56. Change translation stock/existencias

    Ismael Calvo authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    1243db5 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    b3b2964 View commit details
    Browse the repository at this point in the history
  58. force recomputation of stock.location hierachy

    before running the tests. This fixes the failure experienced when running the
    test in --init mode rather than --update mode.
    gurneyalex authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    d54d3f6 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    31b8287 View commit details
    Browse the repository at this point in the history
  60. [UPD] prefix versions with 8.0

    sbidoul authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    fc70d15 View commit details
    Browse the repository at this point in the history
  61. [MIG] Make modules uninstallable

    pedrobaeza authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    fcde867 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    0cfe03c View commit details
    Browse the repository at this point in the history
  63. [MIG] Rename manifest files

    pedrobaeza authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    0d92d3c View commit details
    Browse the repository at this point in the history
  64. stock_reserve: migration to 10.0

    Andrius Preimantas authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    b5bc09d View commit details
    Browse the repository at this point in the history
  65. stock_reserve: new way of getting action in python code

    Andrius Preimantas authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    f8f4663 View commit details
    Browse the repository at this point in the history
  66. stock_reserve: Take Picking Out as default type as internal pickings …

    …might not be in use for simple setups
    Andrius Preimantas authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    b0ecf39 View commit details
    Browse the repository at this point in the history
  67. stock_reserve: show reservation button on product for stockable only

    Andrius Preimantas authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    e2c5907 View commit details
    Browse the repository at this point in the history
  68. stock_reserve: test migration to 10.0

    Andrius Preimantas authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    dbf60d4 View commit details
    Browse the repository at this point in the history
  69. stock_reserve: fix wrong inherit template for product form

    Andrius Preimantas authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    8555bbc View commit details
    Browse the repository at this point in the history
  70. stock_reserve: drop superfluous None for dicts .get

    Andrius Preimantas authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    d4d29c9 View commit details
    Browse the repository at this point in the history
  71. stock_reserve: add option for Employees to read stock.reservation. Wi…

    …thout it user must belong to a stock group to open a product
    Andrius Preimantas authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    d47c148 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    c2a2398 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    d54815a View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    ecfceab View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    90c2e1b View commit details
    Browse the repository at this point in the history
  76. remove obsolete .pot files [ci skip]

    sbidoul authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    c8cc263 View commit details
    Browse the repository at this point in the history
  77. [UPD] Update stock_reserve.pot

    oca-travis authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    72b7d82 View commit details
    Browse the repository at this point in the history
  78. [UPD] Update stock_reserve.pot

    oca-travis authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    7a7f022 View commit details
    Browse the repository at this point in the history
  79. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: stock-logistics-warehouse-10.0/stock-logistics-warehouse-10.0-stock_reserve
    Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-10-0/stock-logistics-warehouse-10-0-stock_reserve/
    oca-transbot authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    d5fb364 View commit details
    Browse the repository at this point in the history
  80. [UPD] Update stock_reserve.pot

    oca-travis authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    d421b48 View commit details
    Browse the repository at this point in the history
  81. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: stock-logistics-warehouse-10.0/stock-logistics-warehouse-10.0-stock_reserve
    Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-10-0/stock-logistics-warehouse-10-0-stock_reserve/
    oca-transbot authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    d836811 View commit details
    Browse the repository at this point in the history
  82. [ADD] icon.png

    OCA-git-bot authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    9735c19 View commit details
    Browse the repository at this point in the history
  83. [UPD] Update stock_reserve.pot

    oca-travis authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    d9bfe00 View commit details
    Browse the repository at this point in the history
  84. Update translation files

    Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
    
    Translation: stock-logistics-warehouse-10.0/stock-logistics-warehouse-10.0-stock_reserve
    Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-warehouse-10-0/stock-logistics-warehouse-10-0-stock_reserve/
    oca-transbot authored and RodrigoBM committed Apr 15, 2020
    Configuration menu
    Copy the full SHA
    4b585e8 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2020

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

Commits on Apr 17, 2020

  1. [FIX] stock_reserve

    RodrigoBM committed Apr 17, 2020
    Configuration menu
    Copy the full SHA
    582c643 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2020

  1. [FIX] stock_reserve: fix reserve deleted records

    David Gómez Quilón committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    2a968ac View commit details
    Browse the repository at this point in the history