Skip to content

Comments

[18.0][ADD] product_download_feed: New module#2126

Open
eduezerouali-tecnativa wants to merge 1 commit intoOCA:18.0from
Tecnativa:18.0-add-product_catalog_download
Open

[18.0][ADD] product_download_feed: New module#2126
eduezerouali-tecnativa wants to merge 1 commit intoOCA:18.0from
Tecnativa:18.0-add-product_catalog_download

Conversation

@eduezerouali-tecnativa
Copy link
Contributor

cc @Tecnativa TT58933
ping @sergio-teruel @carlosdauden @juancarlosonate-tecnativa

This module provides an HTTP endpoint that allows authenticated Odoo users to export the product catalog as a CSV file.
The export automatically applies the user’s assigned pricelist, ensuring that product prices in the CSV match those shown in sales quotations or the customer portal.

@eduezerouali-tecnativa eduezerouali-tecnativa force-pushed the 18.0-add-product_catalog_download branch from a5a96b1 to bdc9c55 Compare November 6, 2025 08:26
@pedrobaeza
Copy link
Member

Please check CI.

The word catalog is used by Odoo for other thing (the product picker), so I don't think it should be used here.

@pedrobaeza pedrobaeza added this to the 18.0 milestone Nov 6, 2025
@eduezerouali-tecnativa
Copy link
Contributor Author

Please check CI.

The word catalog is used by Odoo for other thing (the product picker), so I don't think it should be used here.

And what about feed, i think it is more accurate than catalog. What do you think?

@eduezerouali-tecnativa eduezerouali-tecnativa force-pushed the 18.0-add-product_catalog_download branch 2 times, most recently from 5af9d3d to 3c0f07d Compare November 6, 2025 09:40
@pedrobaeza
Copy link
Member

It seems good. product_download_feed is a good candidate. @sergio-teruel @carlosdauden do you have any other idea?

@eduezerouali-tecnativa eduezerouali-tecnativa force-pushed the 18.0-add-product_catalog_download branch from 3c0f07d to 70a72f9 Compare November 6, 2025 11:51
@eduezerouali-tecnativa eduezerouali-tecnativa changed the title [18.0][ADD] product_catalog_download: New module [18.0][ADD] product_download_feed: New module Nov 6, 2025
@eduezerouali-tecnativa eduezerouali-tecnativa force-pushed the 18.0-add-product_catalog_download branch from 70a72f9 to 058a8ed Compare November 7, 2025 07:47
@eduezerouali-tecnativa eduezerouali-tecnativa force-pushed the 18.0-add-product_catalog_download branch from 058a8ed to bec4ad2 Compare November 7, 2025 11:47
@eduezerouali-tecnativa
Copy link
Contributor Author

ping @carlosdauden @sergio-teruel

Copy link
Contributor

@AungKoKoLin1997 AungKoKoLin1997 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the README should include a Usage section. At the moment, I had to read the code to find the export endpoint and understand the available parameters.

From the implementation, it seems the export is intended to be triggered by calling the endpoint directly. The controller already supports selecting a pricelist and choosing exported fields via query parameters, but I don’t see any UI entry point (e.g., a wizard) for functional users to configure and download the CSV.

In my opinion, a simple export wizard (pricelist + fields) would make this easier to use from the UI. Am I missing anything regarding the intended usage of this module?

@pedrobaeza
Copy link
Member

@AungKoKoLin1997 in fact, this doesn't have any UI, because it provides a feed (endpoint) for machines to get that information. Any proposal to improve the documentation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants