feat: add WC Price and Odoo Price columns to product mapping UI

Added woo_price field to woo.product.map model, populated during fetch.
Search endpoint now returns both odoo_price and woo_price for side-by-side
comparison in the mapped products table.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsinghpal
2026-03-31 22:32:42 -04:00
parent ab16040eb4
commit 919dbcb4cf
4 changed files with 29 additions and 0 deletions

View File

@@ -130,6 +130,8 @@
<th>WooCommerce Product</th>
<th>SKU</th>
<th>Odoo Product</th>
<th>WC Price</th>
<th>Odoo Price</th>
<th>Instance</th>
<th>Price Sync</th>
<th>Inventory Sync</th>
@@ -146,6 +148,14 @@
<td><t t-esc="p.woo_product_name"/></td>
<td><span class="woo-code"><t t-esc="p.woo_sku"/></span></td>
<td><t t-esc="p.odoo_product_name"/></td>
<td class="text-end">
<t t-if="p.woo_price">$<t t-esc="p.woo_price.toFixed(2)"/></t>
<t t-else=""><span class="woo-text-muted"></span></t>
</td>
<td class="text-end">
<t t-if="p.odoo_price">$<t t-esc="p.odoo_price.toFixed(2)"/></t>
<t t-else=""><span class="woo-text-muted"></span></t>
</td>
<td><t t-esc="p.instance_name"/></td>
<td>
<input type="checkbox"