Commit Graph
38 Commits
Author SHA1 Message Date
Cédric Krier 007e177cc9 Set default size for char fields to None 2008-05-14 17:38:02 +02:00
Cédric Krier 8fc4a98304 Use dict for _order on ORM object.
_order is now an instanciate variable.
It is a dict like this:
[('name', 'ASC'), ('id', 'ASC')]
2008-04-22 17:47:24 +02:00
Cédric Krier 22822a23b9 Convert buffer to str on binary fields 2008-04-16 11:44:44 +02:00
Cédric Krier ebe610a4ea Add order on xxx2Many fields 2008-04-16 00:09:19 +02:00
Cédric Krier f110a5382c Add missing field to allow to use Function with type one2many 2008-04-10 15:48:35 +02:00
Cédric Krier 58deecd279 Allow to use numeric type as property 2008-04-09 15:26:34 +02:00
Cédric Krier b2bcb5ec7b Remove unused arg in __init__ of Property 2008-04-09 10:48:29 +02:00
Cédric Krier adeafe87e0 Fix typo when setting property 2008-03-26 12:43:43 +01:00
Cédric Krier c0c9fdb9e1 Use string for xxx2Many operator 2008-03-25 11:29:26 +01:00
Cédric Krier 47381db05c Fix property without any default value 2008-03-22 23:30:20 +01:00
Cédric Krier e9aa1f1759 Fix function read on property fields 2008-03-18 18:24:27 +01:00
Cédric Krier c8b4f7b44c Make One2Many works with large list of ids and remove some unused instance of
context
2008-03-17 13:00:19 +01:00
Cédric Krier 42378f7c6e Make Many2Many unique and don't reset groups on admin user 2008-03-14 11:35:50 +01:00
Cédric Krier 6b129ee520 Pass context to search in One2Many 2008-03-12 00:52:37 +01:00
Cédric Krier 7b8c8b0ab9 Move sql fields into fields and allow to use None as size of char
Selection are now varchar (fix some issue about the len)
2008-03-07 15:42:27 +01:00
Cédric Krier 906de9b8e7 Better fix for sha with empty value 2008-03-05 16:05:46 +01:00
Cédric Krier d3e3652b50 Fix sha for empty string 2008-03-05 13:22:18 +01:00
Cédric Krier db410a3fc8 Make _rpc_allowed no more a class instance and add selection and reference
methods to it
2008-03-03 19:10:57 +01:00
Cédric Krier 7acc52fef9 Add relation_field for one2many
It is used by the client to remove the field in the form view
2008-03-03 17:54:29 +01:00
Cédric Krier 43a3cac11e Add SHA encryption for password 2008-03-02 02:31:44 +01:00
Cédric Krier a013c3bdca Change all query with %d into %s for psycopg2 2008-02-27 11:10:51 +01:00
Cédric Krier ceae2a129d Split float fields into float and numeric
- Float is store as float with variable precision
- Numeric is store as numeric with fix precision
- The digits argument is just use for the display
2008-02-26 19:11:13 +01:00
Cédric Krier bb44f45b84 Add on_change attribute to fields and rename __view_look_dom_arch into _view_look_dom_arch 2008-02-26 17:52:32 +01:00
Cédric Krier c6948c3f35 Remove _columns dict and put it directly in the object to reflect better the
browserecord
2008-02-26 12:40:40 +01:00
Cédric Krier 12332f82c5 Fix missing import psycopg to psycopg2 2008-02-21 23:53:42 +01:00
Cédric Krier 17fbe1bae7 Fix property for change function address to string 2008-02-16 12:23:16 +01:00
Cédric Krier 9e95534e19 Fix typo 2008-02-15 16:49:30 +01:00
Cédric Krier 0bf725f14d Change fields.Function to use string instead of function address
This allow to override the function without the need to redifine the field
2008-02-15 15:28:27 +01:00
Cédric Krier eaf8d9853e Use string for selection on fields instead of function
- View cache works without clean the cache
- Allow override the function without modify the field
2008-02-12 15:17:35 +01:00
Cédric Krier 2dfd118573 Add model fields on translation
Use for client plugin to be able to find record to translate
2008-02-12 13:11:20 +01:00
Cédric Krier 8abdab8ecb Remove bad coding format 2008-02-12 10:47:01 +01:00
Cédric Krier 4c97a9b395 - Add query_string to search function
- Add context to search on fields function
- Add missing context in _where_calc
2008-02-03 00:38:16 +01:00
ced@b2ck.com 78f9d1e820 Remove store on field function and fix some typo in SQL query 2007-12-27 23:48:06 +01:00
ced@b2ck.com 8f9ffdf6ef Remove staticmethod, fix an improve BrowseRecord, remove company_id, fix
translation path
2007-12-13 21:09:14 +01:00
ced@b2ck.com 4978a4d609 Fix Many2One for None id and remove print statement 2007-12-13 20:05:34 +01:00
ced@b2ck.com 03bfac7984 Add xml for module res and fix some typo 2007-12-13 01:16:12 +01:00
ced@b2ck.com 9e8ffebdfa Fix property behavior
- add properties in default_get
- remove buggy cache
- don't return BrowseNull for browse
- factory the code to put all functions into ir.property object
2007-12-12 20:49:52 +01:00
ced@b2ck.com 9d971a0008 Initial commit
- add license
- add run script
- add config parser
- add service object
- add web_service
- add workflow
- add osv/orm/fields
- add module management
- add ir module
2007-12-10 01:04:13 +01:00