Commit Graph
68 Commits
Author SHA1 Message Date
Cédric Krier 229b342548 Add configuration for default cost price method
issue3443
review23711002
2016-01-21 10:37:28 +01:00
Cédric Krier 171fb6cb73 Don't create order method for Function, One2Many and Many2Many fields
issue5087
2016-01-02 10:27:39 +01:00
Cédric Krier 0f385fc72e Add Function fields on Product from Template
issue5087
review23611002
2015-12-31 16:03:26 +01:00
Cédric Krier 26919430aa Add tables params to search_domain
issue4798
review15481002
2015-06-15 01:11:53 +02:00
Cédric Krier f9ce267ea9 Fix search_rec_name for negative operator
In case of negative operator, each subclause must be composed with 'AND'.

issue4559
review14191002
2015-04-05 23:36:13 +02:00
Cédric Krier 83717a446d Use explicit default keyword for config
issue4662
review7051002
2015-03-22 03:18:12 +01:00
Cédric Krier 0a0120a78e search_global yields record instead of id
It is better for customization to yield record instead of id to prevent to
instantiate a second times the record.

issue4519
review6871002
2015-02-04 13:38:19 +01:00
Cédric Krier efc52c89b4 Add parameter price_decimal and price_digits
issue4438
review6791002
2015-01-06 23:27:38 +01:00
Cédric Krier 0b22d25fd9 Fix most flake8 errors
review8771002
2014-12-02 12:55:30 +01:00
Cédric Krier b7b4212971 convert_domain doesn't work with tuple instead of list in domain
Use a cleaner algorithm to parse the domain without testing the type.

issue3950
review5341003
2014-06-08 00:20:31 +02:00
Cédric Krier efeb5ebd90 Add some icons to global search
review3511002
2014-02-20 23:28:47 +01:00
Robert Sch\303\266ftner d6e941ca51 use 'OR' clause in search_rec_name
review3151002
issue3629
2014-01-31 09:07:04 +01:00
Cédric Krier bd953e7316 Use fields.depends decorator
issue3487
review2301002
2014-01-26 14:29:18 +01:00
Cédric Krier a8ac7b52d9 Prevent default products in Template.create
issue3173
review1201002
2013-10-27 19:34:34 +01:00
Guillem Barba 95a3e809e4 Fix domain concatenation between list and tuple
issue3386
review1099002
2013-09-30 17:43:44 +02:00
Priyanka Rani 49e87a63f7 Fix Product convert domain for non relate
This Patch has fixed search domain conversion which converts domain like
 [('template.category', '=', 1)] to [('template', '=', 1)].

 issue3118
 review1056003
2013-09-28 17:30:25 +05:30
Cédric Krier 59ecc988a8 Migration to python-sql
review1001002
2013-09-06 22:34:24 +02:00
Cédric Krier 867760cdc2 Add searcher to default_uom_category
review877002
2013-05-27 17:48:12 +02:00
Cédric Krier 7d0673381e Fix Product convert domain for relate clause
issue3118
review777003
2013-04-12 00:45:44 +02:00
Cédric Krier c3ad1c896e Fix product order to at least group same products
review756002
2013-04-06 12:26:00 +02:00
Cédric Krier 6baf3fc1e2 No need to prevent copying variants as they are explicit now
review747002
2013-03-28 23:59:54 +01:00
Cédric Krier 97a199aae7 Add Function field type on product as some fields could depend on
review743003
2013-03-26 21:02:37 +01:00
Cédric Krier 5d6d77006b Fix search_default_uom clause concatenation 2013-03-26 14:46:38 +01:00
Cédric Krier 5b7e890544 Remove _inherits
review670002
2013-03-20 22:50:51 +01:00
Cédric Krier 73e5c53949 Active Record 2012-09-24 22:18:00 +02:00
Cédric Krier 67eadd486a Add missing default value for consumable
issue2755
review477002
2012-08-23 23:18:16 +02:00
Cédric Krier 775423b5dd Replace wrong usage of False by None
issue2512
2012-03-27 10:43:45 +02:00
Cédric Krier 3f9ddfa095 Remove special uom search clause
review294001
2012-03-25 15:38:44 +02:00
Nicolas Évrard 997929fed0 Integer, Numeric and Float allow None as value
NULL value is None and not False

issue2022
review237004
2012-03-23 18:38:50 +01:00
Cédric Krier d85563ca55 New product types: Goods, Assets and Service
review260001
2012-03-16 12:39:35 +01:00
Cédric Krier 21b62be19f Remove required on category of product
issue2357
review269001
2012-03-12 22:38:41 +01:00
Mathias Behrle c097177c4e Change select=1|2 to select=True
issue2305
review269003
2012-03-05 10:53:04 +01:00
Cédric Krier dfd989b6f0 Make PYSON more Pythonic 2011-08-21 11:20:46 +02:00
Cédric Krier 1595175929 Add test for depends 2011-08-04 16:57:33 +02:00
Cédric Krier 33d15e0595 Change Pool into a Singleton 2011-07-03 13:19:02 +02:00
Sharoon Thomas e30a846a6b Update for new Transaction 2010-08-15 00:23:46 +01:00
Bertrand Chenal 3b759b482e Fix search_rec_name to return well-formed domain. 2010-04-19 00:13:50 +02:00
Cédric Krier 5c2908002a searcher on Function fields take only one domain clause as argument 2010-03-23 11:23:59 +01:00
Cédric Krier 8e516dd1fc Fix get_price_uom for new interface 2010-03-12 14:16:39 +01:00
Cédric Krier 8d73225a60 New interface for Function/Property fields 2010-03-11 16:51:47 +01:00
Cédric Krier c9b2f6f9e7 Use PySON 2010-01-20 11:01:14 +01:00
Cédric Krier 912d075f1a Append products with name matching to the products with code matching 2009-11-11 00:03:59 +01:00
Bertrand Chenal 4e56a0331a Backed out changeset 517314d6f865 2009-05-26 13:35:54 +02:00
Bertrand Chenal 5623cfc060 Forbid to change the default uom of a product with stock moves 2009-04-06 12:36:43 +02:00
Cédric Krier 45e213c60e Fix copy of product to call copy of template for issue932 2009-04-05 18:13:38 +02:00
Cédric Krier 2ea015328d Add missing indexes on product 2009-03-28 20:03:24 +01:00
Cédric Krier 0077a5404a Remove OSV and WizardOSV 2009-02-28 17:00:24 +01:00
Cédric Krier d0d0b8747e Replace name_get, name_search with get_rec_name and search_rec_name
Return only id for default value of many2one
2009-02-17 11:46:14 +01:00
ian@igentoo.localhost 9827fef679 Update product delete method to allow large data sets. 2009-02-11 11:37:39 -08:00
Bertrand Chenal 8e33a6a525 Added complete_name function field 2008-12-26 14:07:41 +01:00