diff --git a/setup/stock_picking_batch_purchase_price_update/odoo/addons/stock_picking_batch_purchase_price_update b/setup/stock_picking_batch_purchase_price_update/odoo/addons/stock_picking_batch_purchase_price_update new file mode 120000 index 00000000000..4043d9098b9 --- /dev/null +++ b/setup/stock_picking_batch_purchase_price_update/odoo/addons/stock_picking_batch_purchase_price_update @@ -0,0 +1 @@ +../../../../stock_picking_batch_purchase_price_update \ No newline at end of file diff --git a/setup/stock_picking_batch_purchase_price_update/setup.py b/setup/stock_picking_batch_purchase_price_update/setup.py new file mode 100644 index 00000000000..28c57bb6403 --- /dev/null +++ b/setup/stock_picking_batch_purchase_price_update/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/stock_move_purchase_price_update/README.rst b/stock_move_purchase_price_update/README.rst index d97e22f3306..fd9f1e63685 100644 --- a/stock_move_purchase_price_update/README.rst +++ b/stock_move_purchase_price_update/README.rst @@ -44,29 +44,21 @@ Configuration - Select Reception operation - Enable 'Show Detailed Operations' option. - Go to Reception picking -- Add optional column 'Purchase price' in operations and/or detailed - operations -- Go to picking batch with picking type Reception - Add optional column 'Purchase price' in operations and/or detailed operations Usage ===== -1. Go to Sales > Product > Products and edit/create one -2. Set Product Type as Storable Product -3. Set a 'Sales Price' -4. Go to Purchase > Orders > Requests for Quotation -5. Create new RQ with the previous product in the order lines -6. Confirm the Purchase Order -7. Now you have a new button called 'Receive Products' > Press it -8. Add optional column 'Purchase Price' in operations and or detailed - operations -9. You can change the price of the purchase order line from here -10. Go to Inventory > Operations > Batch Transfers -11. Select or create a batch transfer with picking type Receptions -12. Add optional column 'Purchase Price' in operations and or detailed - operations +- Go to Sales > Product > Products and edit/create one +- Set Product Type as Storable Product +- Go to Purchase > Orders > Requests for Quotation +- Create new RQ with the previous product in the order lines +- Confirm the Purchase Order +- Now you have a new button called 'Receive Products' > Press it +- Add optional column 'Purchase Price' in operations and or detailed + operations +- You can change the price of the purchase order line from here Bug Tracker =========== diff --git a/stock_move_purchase_price_update/__manifest__.py b/stock_move_purchase_price_update/__manifest__.py index 92d1b536c72..3f779192bba 100644 --- a/stock_move_purchase_price_update/__manifest__.py +++ b/stock_move_purchase_price_update/__manifest__.py @@ -14,7 +14,6 @@ "installable": True, "depends": [ "purchase_stock", - "stock_picking_batch", ], "data": [ "views/stock_move_views.xml", diff --git a/stock_move_purchase_price_update/readme/CONFIGURE.md b/stock_move_purchase_price_update/readme/CONFIGURE.md index fb16bb3a9f1..9f21fdb04fa 100644 --- a/stock_move_purchase_price_update/readme/CONFIGURE.md +++ b/stock_move_purchase_price_update/readme/CONFIGURE.md @@ -3,5 +3,3 @@ - Enable 'Show Detailed Operations' option. - Go to Reception picking - Add optional column 'Purchase price' in operations and/or detailed operations -- Go to picking batch with picking type Reception -- Add optional column 'Purchase price' in operations and/or detailed operations diff --git a/stock_move_purchase_price_update/readme/USAGE.md b/stock_move_purchase_price_update/readme/USAGE.md index 15422648c0d..1f5bf45b82e 100644 --- a/stock_move_purchase_price_update/readme/USAGE.md +++ b/stock_move_purchase_price_update/readme/USAGE.md @@ -1,12 +1,8 @@ -1. Go to Sales \> Product \> Products and edit/create one -2. Set Product Type as Storable Product -3. Set a 'Sales Price' -4. Go to Purchase \> Orders \> Requests for Quotation -5. Create new RQ with the previous product in the order lines -6. Confirm the Purchase Order -7. Now you have a new button called 'Receive Products' \> Press it -8. Add optional column 'Purchase Price' in operations and or detailed operations -9. You can change the price of the purchase order line from here -10. Go to Inventory \> Operations \> Batch Transfers -11. Select or create a batch transfer with picking type Receptions -12. Add optional column 'Purchase Price' in operations and or detailed operations +- Go to Sales \> Product \> Products and edit/create one +- Set Product Type as Storable Product +- Go to Purchase \> Orders \> Requests for Quotation +- Create new RQ with the previous product in the order lines +- Confirm the Purchase Order +- Now you have a new button called 'Receive Products' \> Press it +- Add optional column 'Purchase Price' in operations and or detailed operations +- You can change the price of the purchase order line from here diff --git a/stock_move_purchase_price_update/static/description/index.html b/stock_move_purchase_price_update/static/description/index.html index 3b4885df2af..36026712c6f 100644 --- a/stock_move_purchase_price_update/static/description/index.html +++ b/stock_move_purchase_price_update/static/description/index.html @@ -396,17 +396,13 @@

Configuration

  • Go to Reception picking
  • Add optional column ‘Purchase price’ in operations and/or detailed operations
  • -
  • Go to picking batch with picking type Reception
  • -
  • Add optional column ‘Purchase price’ in operations and/or detailed -operations
  • Usage

    -
      +
    +

    Bug Tracker

    diff --git a/stock_move_purchase_price_update/views/stock_move_views.xml b/stock_move_purchase_price_update/views/stock_move_views.xml index f9d97b501ce..6e4c042006d 100644 --- a/stock_move_purchase_price_update/views/stock_move_views.xml +++ b/stock_move_purchase_price_update/views/stock_move_views.xml @@ -59,56 +59,4 @@ - - - stock.move - - - - - - - - - - - - - stock.move.line - - - - - - - - - - diff --git a/stock_picking_batch_purchase_price_update/README.rst b/stock_picking_batch_purchase_price_update/README.rst new file mode 100644 index 00000000000..43f6d2b642d --- /dev/null +++ b/stock_picking_batch_purchase_price_update/README.rst @@ -0,0 +1,106 @@ +========================================= +Stock Picking Batch Purchase Price Update +========================================= + +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:2a35076101e2ac50daf15850e393f7ef280836339be32f65c6ce188bf0c98280 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github + :target: https://github.com/OCA/purchase-workflow/tree/15.0/stock_picking_batch_purchase_price_update + :alt: OCA/purchase-workflow +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-stock_picking_batch_purchase_price_update + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/purchase-workflow&target_branch=15.0 + :alt: Try me on Runboat + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Allow update purchase price from incoming picking operations, picking +detailed operations and picking batch detailed operations if the +purchase order is not invoiced. + +**Table of contents** + +.. contents:: + :local: + +Configuration +============= + +- Go to 'Inventory > Configuration > Operations' Types +- Select Reception operation +- Enable 'Show Detailed Operations' option. +- Go to picking batch with picking type Reception +- Add optional column 'Purchase price' in operations and/or detailed + operations + +Usage +===== + +1. Go to Inventory > Operations > Batch Transfers +2. Select or create a batch transfer with picking type Receptions +3. Add optional column 'Purchase Price' in operations and or detailed + operations + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +------- + +* Tecnativa + +Contributors +------------ + +- `Tecnativa `__: + + - Carlos Dauden + +Maintainers +----------- + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +.. |maintainer-carlosdauden| image:: https://github.com/carlosdauden.png?size=40px + :target: https://github.com/carlosdauden + :alt: carlosdauden + +Current `maintainer `__: + +|maintainer-carlosdauden| + +This module is part of the `OCA/purchase-workflow `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/stock_picking_batch_purchase_price_update/__init__.py b/stock_picking_batch_purchase_price_update/__init__.py new file mode 100644 index 00000000000..ef5ae3587f5 --- /dev/null +++ b/stock_picking_batch_purchase_price_update/__init__.py @@ -0,0 +1 @@ +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). diff --git a/stock_picking_batch_purchase_price_update/__manifest__.py b/stock_picking_batch_purchase_price_update/__manifest__.py new file mode 100644 index 00000000000..b3dd47cbe58 --- /dev/null +++ b/stock_picking_batch_purchase_price_update/__manifest__.py @@ -0,0 +1,22 @@ +# Copyright 2024 Tecnativa - Carlos Dauden +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +{ + "name": "Stock Picking Batch Purchase Price Update", + "summary": "Allow update purchase price from incoming picking batch operations", + "version": "15.0.1.0.0", + "development_status": "Beta", + "category": "stock", + "website": "https://github.com/OCA/purchase-workflow", + "author": "Tecnativa, Odoo Community Association (OCA)", + "maintainers": ["carlosdauden"], + "license": "AGPL-3", + "application": False, + "installable": True, + "depends": [ + "stock_move_purchase_price_update", + "stock_picking_batch", + ], + "data": [ + "views/stock_move_views.xml", + ], +} diff --git a/stock_picking_batch_purchase_price_update/readme/CONFIGURE.md b/stock_picking_batch_purchase_price_update/readme/CONFIGURE.md new file mode 100644 index 00000000000..04d24820ac2 --- /dev/null +++ b/stock_picking_batch_purchase_price_update/readme/CONFIGURE.md @@ -0,0 +1,5 @@ +- Go to 'Inventory \> Configuration \> Operations' Types +- Select Reception operation +- Enable 'Show Detailed Operations' option. +- Go to picking batch with picking type Reception +- Add optional column 'Purchase price' in operations and/or detailed operations diff --git a/stock_picking_batch_purchase_price_update/readme/CONTRIBUTORS.md b/stock_picking_batch_purchase_price_update/readme/CONTRIBUTORS.md new file mode 100644 index 00000000000..37d0fcf44b6 --- /dev/null +++ b/stock_picking_batch_purchase_price_update/readme/CONTRIBUTORS.md @@ -0,0 +1,2 @@ +- [Tecnativa](https://www.tecnativa.com): + - Carlos Dauden diff --git a/stock_picking_batch_purchase_price_update/readme/DESCRIPTION.md b/stock_picking_batch_purchase_price_update/readme/DESCRIPTION.md new file mode 100644 index 00000000000..a3253796b8e --- /dev/null +++ b/stock_picking_batch_purchase_price_update/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +Allow update purchase price from incoming picking operations, picking detailed +operations and picking batch detailed operations if the purchase order is not invoiced. diff --git a/stock_picking_batch_purchase_price_update/readme/USAGE.md b/stock_picking_batch_purchase_price_update/readme/USAGE.md new file mode 100644 index 00000000000..1d01769cf49 --- /dev/null +++ b/stock_picking_batch_purchase_price_update/readme/USAGE.md @@ -0,0 +1,3 @@ +1. Go to Inventory \> Operations \> Batch Transfers +2. Select or create a batch transfer with picking type Receptions +3. Add optional column 'Purchase Price' in operations and or detailed operations diff --git a/stock_picking_batch_purchase_price_update/static/description/icon.png b/stock_picking_batch_purchase_price_update/static/description/icon.png new file mode 100644 index 00000000000..3a0328b516c Binary files /dev/null and b/stock_picking_batch_purchase_price_update/static/description/icon.png differ diff --git a/stock_picking_batch_purchase_price_update/static/description/index.html b/stock_picking_batch_purchase_price_update/static/description/index.html new file mode 100644 index 00000000000..aef30028bcb --- /dev/null +++ b/stock_picking_batch_purchase_price_update/static/description/index.html @@ -0,0 +1,452 @@ + + + + + +Stock Picking Batch Purchase Price Update + + + +
    +

    Stock Picking Batch Purchase Price Update

    + + +

    Beta License: AGPL-3 OCA/purchase-workflow Translate me on Weblate Try me on Runboat

    +

    Allow update purchase price from incoming picking operations, picking +detailed operations and picking batch detailed operations if the +purchase order is not invoiced.

    +

    Table of contents

    + +
    +

    Configuration

    +
      +
    • Go to ‘Inventory > Configuration > Operations’ Types
    • +
    • Select Reception operation
    • +
    • Enable ‘Show Detailed Operations’ option.
    • +
    • Go to picking batch with picking type Reception
    • +
    • Add optional column ‘Purchase price’ in operations and/or detailed +operations
    • +
    +
    +
    +

    Usage

    +
      +
    1. Go to Inventory > Operations > Batch Transfers
    2. +
    3. Select or create a batch transfer with picking type Receptions
    4. +
    5. Add optional column ‘Purchase Price’ in operations and or detailed +operations
    6. +
    +
    +
    +

    Bug Tracker

    +

    Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us to smash it by providing a detailed and welcomed +feedback.

    +

    Do not contact contributors directly about support or help with technical issues.

    +
    +
    +

    Credits

    +
    +

    Authors

    +
      +
    • Tecnativa
    • +
    +
    +
    +

    Contributors

    + +
    +
    +

    Maintainers

    +

    This module is maintained by the OCA.

    + +Odoo Community Association + +

    OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

    +

    Current maintainer:

    +

    carlosdauden

    +

    This module is part of the OCA/purchase-workflow project on GitHub.

    +

    You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

    +
    +
    +
    + + diff --git a/stock_picking_batch_purchase_price_update/views/stock_move_views.xml b/stock_picking_batch_purchase_price_update/views/stock_move_views.xml new file mode 100644 index 00000000000..518dcdd43b4 --- /dev/null +++ b/stock_picking_batch_purchase_price_update/views/stock_move_views.xml @@ -0,0 +1,56 @@ + + + + + + stock.move + + + + + + + + + + + + + stock.move.line + + + + + + + + + + +