Commit 0d4253f
committed
feat(sale): Add product search by supplier info
This commit introduces the `sale_product_supplierinfo_search` module, which allows users to search for products on sales order lines and in the global product catalog by using the vendor's product code or product name.
Key features:
- Overrides `_name_search` on `product.product` to extend search capabilities.
- Activates the extended search via a context key on the sales order line.
- Adds a user-friendly "Search in Vendor Info" filter to the main product search view.
- Modifies the search result display to include the vendor's product code for better user context.
- Includes comprehensive unit tests to validate the new functionality.
- Provides OCA-compliant documentation and demo data.1 parent 98fe3d6 commit 0d4253f
File tree
1 file changed
+3
-3
lines changed- sale_product_supplierinfo_search/tests
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments