odoo/addons/product
Denis Ledoux 83e8c54637 [FIX] product: import product.template fields using default_code
This rev. is related to 489a96c257

It wasn't possible anymore to perform an import of
a product.template field in a model
(e.g. mrp.bom), while it should be the case.

In the context of an import,
the operator of the name_search is '='.
Therefore, in this super call, the operator was '='
and the name was '' (empty).
In such a case, ('name', '=', '') is added
to the search domain by the base name_search method
(in models.py),
leading to the domain
[('id', 'in', template_ids), ('name', '=', '')]
which will lead to no results.

Forcing 'ilike' as domain is correct, as the actual
name_search, with the correct operator,
has already been performed in the lines above, the
point of this second name_search is to get
the right order along with the right name_get.

opw-632089
2015-04-03 11:06:49 +02:00
..
i18n [I18N] Update translations from Launchpad 8.0 branches 2015-02-18 11:51:07 +01:00
report [FIX] product: display variant in product label report 2015-01-05 12:49:51 +01:00
security [MERGE] forward port of branch saas-3 up to f92b2f8 2015-02-06 14:19:30 +01:00
static/img [IMP] Convert product demo png's to 8bit 2014-09-16 19:55:00 +02:00
test [IMP] product: refactoring of product variant. The main view became the view of product template and the product product (or product variant) are created with the variant values combinaison. Bom is splitted into bom and bom line and can use the variant combinaison. 2014-05-27 09:42:52 +02:00
tests [FIX] remove deprecated checks/fast_suite test attributes from standard modules 2015-01-15 14:31:40 +01:00
views [IMP] Product pricelist converted to QWeb 2014-04-14 17:52:12 +02:00
wizard Removed version="7.0" from form views 2014-06-12 09:09:59 +02:00
__init__.py
__openerp__.py [DEL] Cleaning: key 'images' removed from all __openerp__.py 2015-01-06 14:20:38 +01:00
_common.py [FIX] base: support float rounding with rounding_method=UP (ceiling) 2014-10-22 14:28:22 +02:00
partner.py [REF] *: change linked to server revision 4907. Removed deprecated 'view_load' attribute + removed duplicated first argument of property fields which is replaced with 'relation' argument in case where it is really needed (relational fields): indeed this first argument was totally useless for property of float type (for example). 2013-06-24 11:05:15 +02:00
partner_view.xml [IMP] made independant purchase pricelist in supplier 2013-05-09 16:00:45 +05:30
pricelist.py [FIX] product: allow active pricelist version copy 2015-03-24 23:11:25 +01:00
pricelist_view.xml [IMP] product: usability improvement in pricelist 2014-11-28 15:50:57 +01:00
product.py [FIX] product: import product.template fields using default_code 2015-04-03 11:06:49 +02:00
product_data.xml [FIX] product: Set rounding of "Unit" to 0.001 2015-03-30 17:19:17 +02:00
product_demo.xml [FIX] product: demo data irrelevant product description 2015-03-01 03:34:00 +01:00
product_image_demo.xml [IMP] Adapt mrp workflow and moves + Differ between Bose speakers and Custom Computer 2014-09-03 19:18:17 +02:00
product_pricelist_demo.yml [FIX] product : Improved the test cases. 2012-09-19 18:43:05 +05:30
product_report.xml [FIX]product: disable menu name come from report declaration.because it's called from wizard 2014-07-08 16:11:28 +05:30
product_view.xml [MERGE] forward port of branch saas-3 up to 12f600c 2015-04-01 19:13:25 +02:00