Skip to content

Conversation

@xtanuiha
Copy link
Contributor

Use Case

This feature is designed for procurement quotation scenarios involving a large number of products (e.g., over 100 items). Purchasing details can be exported to suppliers for price filling, and then re-imported to update the quotation for comparison.

Steps

  • Define an export template that includes the ID field for each record.
  • Set up an import template with .id in the ID column to leverage Odoo’s built‑in record‑matching mechanism.
  • Import the supplier’s updated quotation file.
  • Prices in the corresponding purchase quotation lines will be updated automatically.

@OCA-git-bot
Copy link
Contributor

Hi @kittiu,
some modules you are maintaining are being modified, check this out!

@xtanuiha xtanuiha force-pushed the 18.0 branch 2 times, most recently from f3e27a7 to b8cc885 Compare December 21, 2025 02:27
@xtanuiha
Copy link
Contributor Author

Locally Test:

Excel Template

{'__EXPORT__': {1: {'order_line': {'A2': 'id', 'B2': 'product_id.default_code', 'C2': 'name', 'D2': 'product_qty', 'E2': 'price_unit', 'F2': 'price_subtotal'}}}, '__IMPORT__': {1: {'_NODEL_order_line': {'A2': '.id', 'B2': 'product_id', 'C2': 'name', 'D2': 'product_qty', 'E2': 'price_unit'}}}, '__POST_IMPORT__': False}

image

Steps

  • Using this template to export and edit purchase line data.
  • Import excel and check purchase order line.

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.

2 participants