Commit Graph

1203 Commits

Author SHA1 Message Date
Olivier Dony 33b913fb56 [MERGE] allow overwriting existing terms when importing stand-alone translations
bzr revid: odo@openerp.com-20110919211310-zcndav9xmqm0c5df
2011-09-19 23:13:10 +02:00
Antony Lesuisse d4c8370d92 [MERGE] res_users rename companies tab into allowed companies
lp bug: https://launchpad.net/bugs/714471 fixed

bzr revid: al@openerp.com-20110919211048-riv3mdkowtnrn96a
2011-09-19 23:10:48 +02:00
Olivier Dony 6b1c79aa74 [IMP] ir.actions.client: missing access rights
bzr revid: odo@openerp.com-20110919210121-rypsejhd3h1uzcwm
2011-09-19 23:01:21 +02:00
Olivier Dony c6370622e5 [FIX] orm: quote column names in queries to respect case and be consistent
Quoting column names make the case-sensitive in PostgreSQL,
and this is the default strategy we are using so far. It is
important to be consistent there.
We might want to do the same to table names too.
This allows create fields with mixed cases names for example.

bzr revid: odo@openerp.com-20110919201845-heer0rttcouvtc9x
2011-09-19 22:18:45 +02:00
Olivier Dony 705f238f08 [MERGE] missing res.currency.rate.type access rights
bzr revid: odo@openerp.com-20110919173606-1izhy7i9dt25lm45
2011-09-19 19:36:06 +02:00
Olivier Dony 4517dbb852 [MERGE] refactoring: view inheritance query moved to ir.ui.view, courtesy of Sebastien Beau (Akretion)
bzr revid: odo@openerp.com-20110919152434-uohc9mqr4n0b1sc8
2011-09-19 17:24:34 +02:00
Aline Preillon 63b47abd00 [IMP] improved res.partner demo data
bzr revid: aline@aline-laptop-20110919150547-vki0m64iv0ccktlv
2011-09-19 17:05:47 +02:00
Olivier Dony 8c5cb638b9 [MERGE] enforce unique `key` attribute for res.currency, ir.model, res.company
For res.company the constraint is made of 2 parts:
 - one normal unique constraint (name,company_id) to catch
   most cases and define the user error message
 - one additional unique index to enforce the unique currency
   name even for multiple entries with NULL company_id, not
   caught by the constraint. The index is named with the 
   constraint name as prefix, in order to automatically
   share the user error message

Also, cleanup up the res.currency views a bit, and improved
field labels in ir.model to make them easier to understand.

lp bug: https://launchpad.net/bugs/789019 fixed

bzr revid: odo@openerp.com-20110919144821-708avl7t9q7g8vpr
2011-09-19 16:48:21 +02:00
Vo Minh Thu d2ff44ad72 [FIX] base_security: ir rules are noupdate=1.
lp bug: https://launchpad.net/bugs/727277 fixed

bzr revid: vmt@openerp.com-20110919114717-3808os44pxpszk82
2011-09-19 13:47:17 +02:00
Vo Minh Thu 048527e757 [IMP] ir/wizard: removed the unused create_action wizard.
bzr revid: vmt@openerp.com-20110919093626-guayq71dbbkmdn90
2011-09-19 11:36:26 +02:00
Naresh (OpenERP) 1d71f8484a [MERGE FROM TRUNK]
bzr revid: nch@tinyerp.com-20110919093224-5i3dslmw5ubatdjt
2011-09-19 15:02:24 +05:30
Olivier Dony ad23141729 [FIX] orm: refactoring and fix of stored functions processing by _store_get_values
- Refactoring to make the function readable and maintainable
- Fixed algorithm to properly take into account the priority of all stored functions,
  and not just the priority of the first function for a given model, which could hide
  other stored function with higher priorities.

lp bug: https://launchpad.net/bugs/715470 fixed

bzr revid: odo@openerp.com-20110919091952-05lfl2kncr3ep9nj
2011-09-19 11:19:52 +02:00
Amit (OpenERP) ad60a40879 [IMP]:improved
bzr revid: apa@tinyerp.com-20110919091701-t4jzmqm4245knacb
2011-09-19 14:47:01 +05:30
Amit (OpenERP) 496362b29a [IMP]:improved kanban view for partners.
bzr revid: apa@tinyerp.com-20110919085920-p4o1pam5mrjth29r
2011-09-19 14:29:20 +05:30
Amit (OpenERP) 1f9a9b4d90 improved
bzr revid: apa@tinyerp.com-20110919072100-mypi36z63upp10oq
2011-09-19 12:51:00 +05:30
Amit (OpenERP) 215d89d1cf [IMP]:base:improve kanban view for contacts.
bzr revid: apa@tinyerp.com-20110919064708-sg2kltpedp3w0h9u
2011-09-19 12:17:08 +05:30
sebastien beau 043f50ba12 [REF] refactor code in order to add the possibility to overwrite the way to inherit the view
bzr revid: sebastien.beau@akretion.com.br-20110918235947-5k6bxg2fbshhtrsd
2011-09-19 01:59:47 +02:00
Fabien Pinckaers 3112ce242b merge
bzr revid: fp@tinyerp.com-20110917144621-c01methbaxzxdong
2011-09-17 16:46:21 +02:00
Launchpad Translations on behalf of openerp fc4d9abc83 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110917045438-cqv2p3rl60izw3rb
bzr revid: launchpad_translations_on_behalf_of_openerp-20110917050345-nbzoq1kehy4em8kt
2011-09-17 05:03:45 +00:00
Olivier Dony a78a7e2950 [IMP] ir.actions.server: slightly better sample/doc for python type actions
bzr revid: odo@openerp.com-20110916141358-z2mwij0u7y13jeuq
2011-09-16 16:13:58 +02:00
Amit Bhavsar (Open ERP) dc54be9bb9 [kabanization],kanban view for the partner
bzr revid: amb@tinyerp.com-20110916124725-1d07ph63gx8nv3u1
2011-09-16 18:17:25 +05:30
Tejas (OpenERP) 2e35f39606 [kanban] bold tag removed
bzr revid: tta@openerp.com-20110916114945-3zge1h6e6x2ohxnm
2011-09-16 17:19:45 +05:30
Tejas (OpenERP) 00a2a25930 [kanban] id changed and make email and phone italic
bzr revid: tta@openerp.com-20110916111526-znb3mc918jfzosw7
2011-09-16 16:45:26 +05:30
Harry (OpenERP) 63987af41e [FIX] edi: get partner already exits or not using get_object and get_object_by_name.
bzr revid: hmo@tinyerp.com-20110916110800-8dec58lrgyilv144
2011-09-16 16:38:00 +05:30
Tejas (OpenERP) fce6f5932b [kanban] contacts view for kanban
bzr revid: tta@openerp.com-20110916104501-tuwftefbl7lumix7
2011-09-16 16:15:01 +05:30
Harry (OpenERP) 52c5e29710 [FIX] edi_company: add default addess
bzr revid: hmo@tinyerp.com-20110916095328-8wlmqjz4wjfrt0ir
2011-09-16 15:23:28 +05:30
Vo Minh Thu cd89f5a5a4 [MERGE] fields: correct (5,_) operation on many2many (delete instead of set null).
lp bug: https://launchpad.net/bugs/818189 fixed

bzr revid: vmt@openerp.com-20110915152052-ujbfj2zgv06eairy
2011-09-15 17:20:52 +02:00
Vo Minh Thu 94662b9727 [MERGE] orm: convert exception to unicode.
lp bug: https://launchpad.net/bugs/811519 fixed

bzr revid: vmt@openerp.com-20110915145933-p2apahreex255nd6
2011-09-15 16:59:33 +02:00
Stephane Wirtel 73f8c52ad2 [FIX] base: res_currency#company_id remove the default value based on the currency of the company
bzr revid: stw@openerp.com-20110915142638-gmpk24otjtrv0jtz
2011-09-15 16:26:38 +02:00
Stephane Wirtel 46d4042fe4 [IMP] base: show the 'field' field in the search view
bzr revid: stw@openerp.com-20110915142438-rk0x1xjn3h4qre2d
2011-09-15 16:24:38 +02:00
Vo Minh Thu 9c470cda34 [MERGE] ir_action: properly handle the False value for a reference field in a onchange method.
lp bug: https://launchpad.net/bugs/793682 fixed

bzr revid: vmt@openerp.com-20110916123948-qaoou8rj2rx5l4ou
2011-09-16 14:39:48 +02:00
Vo Minh Thu 20d7d05a60 [IMP] openerp.modules.db: nice critical logging, and nice IOError exception
when the base.sql is not found.

bzr revid: vmt@openerp.com-20110916121315-lklf5nib8u1pztk5
2011-09-16 14:13:15 +02:00
Vo Minh Thu 70898d7287 [MERGE] orm: export boolean values as strings, even for False.
lp bug: https://launchpad.net/bugs/831009 fixed

bzr revid: vmt@openerp.com-20110916103726-x7nmconcxem915m1
2011-09-16 12:37:26 +02:00
Vo Minh Thu caef181733 [FIX] ir_action: avoid returning a None context.
lp bug: https://launchpad.net/bugs/793682 fixed

bzr revid: vmt@openerp.com-20110916101432-cj8xd7uefy0k5suz
2011-09-16 12:14:32 +02:00
Vo Minh Thu 8254ffe9c8 [MERGE] ir_actions: swapped (corrected) signal name with module name, usability enhancement.
lp bug: https://launchpad.net/bugs/819872 fixed

bzr revid: vmt@openerp.com-20110916082907-n73wothbef0wfq2i
2011-09-16 10:29:07 +02:00
Xavier Morel 556a17d5bc [FIX] race condition in RegistryManager
When two requests arrive simultanously for the same uninitialized db,
the first request starts the db initialization, but the second one
immediately gets the partially uninitialized registry (actually just
created, so generally completely uninitialized), leading to an access
error in later code (as soon as a registry object is accessed).

Add a GRML (Global RegistryManager Lock) to ensure the RegistryManager
*never* returns a partially initialized registry.

The current implementation is simple (just lock all RegistryManager
methods before they manipulate registries), but overly broad. This is
an area which might be optimizable if there are perf/responsivity
issues (e.g. each Registry instance could have a lock, and the
RegistryManager would grab the instance's, allowing the inititlization
of registry A not to block registry B from being returned in heavily
concurrent uses).

However this is not an issue in multiprocessing scenarios, which are
being planned for the near future. So for now, being correct is
probably the best idea.

bzr revid: xmo@openerp.com-20110916075227-0zutzlxn2dcd94c4
2011-09-16 09:52:27 +02:00
Vo Minh Thu 92fef4559b [MERGE] base_module_import_view: better strings messages.
lp bug: https://launchpad.net/bugs/830902 fixed

bzr revid: vmt@openerp.com-20110915142348-z2t5duy9sma7doz7
2011-09-15 16:23:48 +02:00
Vo Minh Thu ce19d8d027 [MERGE] ir_module_module: better (less browse() calls) fields.function implementation.
bzr revid: vmt@openerp.com-20110915141533-wzx0qp0084ogr6hr
2011-09-15 16:15:33 +02:00
Vo Minh Thu 1ec4c693d9 [FIX] report: make sure we can use an image path starting with the name of some module,
irrespective of the different addons paths.

lp bug: https://launchpad.net/bugs/781967 fixed

bzr revid: vmt@openerp.com-20110915140229-4d43wtbwzxr7s74i
2011-09-15 16:02:29 +02:00
Xavier Morel 662c8842f4 [IMP] fields_view_get: listcomps are still awesome
also use itertools.chain to iterate over multiple lists in sequence, instead of concatenating them

bzr revid: xmo@openerp.com-20110915124741-v5uneqmt2c3v6cmp
2011-09-15 14:47:41 +02:00
Xavier Morel a09be0e9b9 [IMP] simplify search view generation: rely on etree.SubElement to graft new nodes to the search view
bzr revid: xmo@openerp.com-20110915123707-901mkfkz8e6ikre4
2011-09-15 14:37:07 +02:00
Xavier Morel 7bb856b834 [IMP] search view generation: update fields set in place instead of creating a new set via union
bzr revid: xmo@openerp.com-20110915123155-a5ht8nhfp9kq0kst
2011-09-15 14:31:55 +02:00
Xavier Morel eeb31efa88 [IMP] automatic search view generation: comprehensions are awesome
bzr revid: xmo@openerp.com-20110915122834-0ec4dkaznbhtc0kc
2011-09-15 14:28:34 +02:00
Xavier Morel e878560c74 [ADD] small helper to calendar generation code, in order to make flow clearer
bzr revid: xmo@openerp.com-20110915122443-hvk1u2372ppd77m1
2011-09-15 14:24:43 +02:00
Xavier Morel 74e98f4220 [ADD] error when neither date_stop nor date_delay can be generated for a default calendar view
bzr revid: xmo@openerp.com-20110915121544-eq3mumulb0qp9yfa
2011-09-15 14:15:44 +02:00
Xavier Morel 4cdda26b6c [IMP] convert default calendar view generation (from fields_view_get) to lxml.etree
bzr revid: xmo@openerp.com-20110915121129-fcdq8e0rix2ocpwt
2011-09-15 14:11:29 +02:00
Xavier Morel 005e2b87a5 [IMP] etree-ify default view generations
* Search already used etree internally, remove serialization to string
* form and tree were easy to convert
* pull down fvg's parsing (etree.fromstring) into calendar generator before converting it

bzr revid: xmo@openerp.com-20110915120429-syz190w61iq52rel
2011-09-15 14:04:29 +02:00
Xavier Morel ebb2072207 [IMP] regroup all __get_default_$name_view calls into a single parametric getattr
Also rename __get_default_ to _get_default_ so it can be found by getattr

bzr revid: xmo@openerp.com-20110915111255-1i0y555er3nwtkzg
2011-09-15 13:12:55 +02:00
Xavier Morel 734c1a43a0 [REF] extract the two inlined default view generators left into fields_view_get into their own methods
follow the preexisting __get_default_$name_view

bzr revid: xmo@openerp.com-20110915111221-20ktl1bi2qne5wz7
2011-09-15 13:12:21 +02:00
Xavier Morel 8a9c0dbad7 [IMP] bulk-update fields_view_get result via dict.update instead of a bunch of __setitem__
bzr revid: xmo@openerp.com-20110915111213-zigij077k9ss9p6e
2011-09-15 13:12:13 +02:00
Xavier Morel 7e8b8a3ce8 [IMP] ensure file is correctly closed even if file.write() blows up (also -3+2)
bzr revid: xmo@openerp.com-20110915104053-fklc9ae853eytods
2011-09-15 12:40:53 +02:00
Olivier Dony 967373ede9 [FIX] ir.model.data: revert previous context patch - unsupported on cached methods
bzr revid: odo@openerp.com-20110915102411-aedcd7wi0min2rgd
2011-09-15 12:24:11 +02:00
Vo Minh Thu 9b903321e7 [MERGE] base: rename zipfile variable into zip_content (because zipname is an imported module).
lp bug: https://launchpad.net/bugs/795452 fixed

bzr revid: vmt@openerp.com-20110915102117-sep3t0itkjjmertz
2011-09-15 12:21:17 +02:00
Olivier Dony 1a983823f5 [IMP] ir.model.data: better message + support optional context
bzr revid: odo@openerp.com-20110915094055-njeenaf871akzzgl
2011-09-15 11:40:55 +02:00
Vo Minh Thu d743353e16 [IMP] wsgi: provide the start- and stop-server functions.
bzr revid: vmt@openerp.com-20110914150603-zu6zh4v7pmnchvf3
2011-09-14 17:06:03 +02:00
Olivier Dony 623bdb2c9f [FIX] ir.mail_server: care for non-ascii connection error message
bzr revid: odo@openerp.com-20110914120644-u0e2dmo2n146nl97
2011-09-14 14:06:44 +02:00
Vo Minh Thu 46ad605226 [IMP] wsgi:
- added Microsoft specific header for webdav.
- serve WSGI handlers with werkzeug when available.
- effectively use WSGI instead of netsvc HTTP stack.

bzr revid: vmt@openerp.com-20110914104300-n0l3dnmdu3jau7w2
2011-09-14 12:43:00 +02:00
Harry (OpenERP) 0e1765a4d5 [FIX] workflow: pass active_model in context on run server action
bzr revid: hmo@tinyerp.com-20110914102505-03tzr0ncfsngnqnu
2011-09-14 15:55:05 +05:30
Harry (OpenERP) 8dc1e7d9a4 [MERGE] merged from trunk development branch
bzr revid: hmo@tinyerp.com-20110914073732-ih8qwnzl03phbloc
2011-09-14 13:07:32 +05:30
Launchpad Translations on behalf of openerp ef7211f652 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110914044035-wdsfwmenceb1t1ky
2011-09-14 04:40:35 +00:00
Olivier Dony 01e9e63423 [FIX] ir.translation: one more fix for ormcache_multi.clear_cache()
(Reported by Thibaut Dirlik)

bzr revid: odo@openerp.com-20110913174310-w79dgmybs59fb9xm
2011-09-13 19:43:10 +02:00
Stephane Wirtel 0da376c203 [MERGE] Email Framework: lp:~openerp-dev/openobject-server/trunk-emails-unified
bzr revid: stw@openerp.com-20110913145055-wcwrbfmoebqycxbq
2011-09-13 16:50:55 +02:00
Vo Minh Thu d593e484c4 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110913144916-er9fnuj00cj93cev
2011-09-13 16:49:16 +02:00
Olivier Dony 863f0d003f [FIX] orm: avoid passing undefined context in browse_record getattr()
bzr revid: odo@openerp.com-20110913144702-7g56odiorqdiea28
2011-09-13 16:47:02 +02:00
Olivier Dony 6fa6d8369c [MERGE] latest trunk
bzr revid: odo@openerp.com-20110913144600-ve4vb5po9vi3edw4
2011-09-13 16:46:00 +02:00
Vo Minh Thu ad06d1ba56 [FIX] This complements commit 3511,
revision-id: odo@openerp.com-20110714105552-9tgofrjtdgjmgc4b.
Each OpenERP cursor is mapped to a single psycopg2 connexion.
When a cursor is closed, the connexion is pushed back to a
pool and reused later. Now that the 'snapshot isolation' level
is used, the fact we didn't properly commit/rollback a
transaction appears: some 'concurrent' update showed up.
The fix is simple: whenever a cursor is closed, we rollback
any pending operation (which is the expected behavior).
(Furthermore, the connexion is explicitely closed when the
connexion is pushed back but not kept in the pool.)

bzr revid: vmt@openerp.com-20110913143444-s49r7r2h6m00p5s3
2011-09-13 16:34:44 +02:00
Harry (OpenERP) 701d20fa25 [IMP] base.ir.edi: introduce new method: split_xml_id to split module and xml_id from uuid of edi_document
bzr revid: hmo@tinyerp.com-20110913132416-1putaa2y3rxzqunc
2011-09-13 18:54:16 +05:30
Olivier Dony 0c675b2758 [IMP] browse_record: getattr method execution propagates context
The only requirements for this to work are:
 - all model methods likely to be called on a browse_record must support
   a context parameter (positional or keyword, doesn't matter)
 - callers should never pass the context as a positional args, otherwise
   we'll have multiple values for the context.
Both requirements seem sensible enough.

bzr revid: odo@openerp.com-20110913130826-d7fme3mznv55ok5f
2011-09-13 15:08:26 +02:00
Harry (OpenERP) 7ce7230c40 [IMP] base.ir.edi: improve edi import process, split in different methods
[ADD] base.res.edi_company: introduce new methods in res.company to import company as parter and export company address

bzr revid: hmo@tinyerp.com-20110913125456-j9ipisqu5lf6tdyq
2011-09-13 18:24:56 +05:30
Dhara (OpenERP) b9c10b045c [IMP] currency position for report
bzr revid: dhara_openerp-20110913043809-2gq0chqs4m0yq1nq
2011-09-12 21:38:09 -07:00
Olivier Dony 0624e4ab5c [IMP] orm.name*: better docstrings
bzr revid: odo@openerp.com-20110912171210-pmeqvy71l4iu8ulz
2011-09-12 19:12:10 +02:00
Olivier Dony 1044d63047 [MERGE] view.rng: @default_group_by for kanban view
bzr revid: odo@openerp.com-20110912152416-rk42c970okvdyla3
2011-09-12 17:24:16 +02:00
Fabien Meghazi 7fb1eb5a64 [IMP] Added default_group_by attribute for kanban view
bzr revid: fme@openerp.com-20110912150844-dtohl83qew4ssdyc
2011-09-12 17:08:44 +02:00
Xavier Morel 9483efd463 [FIX] fix
bzr revid: xmo@openerp.com-20110912145510-wpa2cgm4zx4fwe9o
2011-09-12 16:55:10 +02:00
Xavier Morel f03892c5db [FIX] ir.actions.server: only try to browse the object of a server action (pointed-to by active_id + active_model) only if active_model matches the action's model
bzr revid: xmo@openerp.com-20110912144411-bzh99xqr7c1ucu1a
2011-09-12 16:44:11 +02:00
Olivier Dony b225276cd0 [MERGE] latest trunk
bzr revid: odo@openerp.com-20110912122217-a3fy0gmxbu18kemr
2011-09-12 14:22:17 +02:00
Vo Minh Thu 995a037f2d [IMP] wsgi: set the config via gunicorn config file.
bzr revid: vmt@openerp.com-20110912102147-yxgv9hpm4fvoxqn6
2011-09-12 12:21:47 +02:00
Naresh (OpenERP) d02fc10280 [FIX]:problem when coping the _inherits record the base class record was not created resulting the new record to refer the same parent that the old record is referring
bzr revid: nch@tinyerp.com-20110912091418-l71l0xj5lovrf8f1
2011-09-12 14:44:18 +05:30
Xavier Morel ce835b6dfe [FIX] @colors expression: in on single string (instead of singleton), works by coincidence. Replace by equality test
bzr revid: xmo@openerp.com-20110911132514-39cy0gldyt1ixy3m
2011-09-11 15:25:14 +02:00
Launchpad Translations on behalf of openerp 40ccd8a307 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110910050134-g9u7swpuqxjvk2uc
bzr revid: launchpad_translations_on_behalf_of_openerp-20110910050147-o7l8x27ph9y63m3r
2011-09-10 05:01:47 +00:00
Olivier Dony 0f6510edfc [FIX] ir.attachment: cleaner check for record existence in access rights
bzr revid: odo@openerp.com-20110909155025-cyhnmy89e9a0ijzt
2011-09-09 17:50:25 +02:00
Olivier Dony 2f47cf8558 [IMP] orm,orm_memory: more consistent implementations of exists() and check_access_rule()
bzr revid: odo@openerp.com-20110909154926-1sk6kypbb11fx7oq
2011-09-09 17:49:26 +02:00
Vo Minh Thu 77fbcb3c79 [FIX] websrv_lib: the auth provider was instanciated once and
the auth proxy was instanciated multiple times (once per handler instcance).
The previous refactoring merged the proxy and the provider in one class which
once instanciated once. Now it is instanciated once per handler, which is
better.

bzr revid: vmt@openerp.com-20110909122856-29uhsjfe193fqdi8
2011-09-09 14:28:56 +02:00
Olivier Dony f59aaf7ca0 [FIX] ir.translation: second part of previous revision for fixing calls to ormcache_multi.clear_cache()
bzr revid: odo@openerp.com-20110909104046-ipysy6pi3iea38fu
2011-09-09 12:40:46 +02:00
Antony Lesuisse 78626b885c [FIX] ir_translation _get_ids clear_cache is not multi
lp bug: https://launchpad.net/bugs/838864 fixed

bzr revid: al@openerp.com-20110909100709-kdqf4aibdr0flr4a
2011-09-09 12:07:09 +02:00
niv-openerp 061df0800d [imp] added properties for statusbar in .rng of views
bzr revid: nicolas.vanhoren@openerp.com-20110909093643-h0jnvcytov70be8o
2011-09-09 11:36:43 +02:00
Vo Minh Thu 9ca78ea013 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110909074820-o89mwdulwx8an13m
2011-09-09 09:48:20 +02:00
Vo Minh Thu 4a1597ab16 [FIX] typo, removed wsg_modules entry point (redundant with "module_handlers").
bzr revid: vmt@openerp.com-20110909073145-vqnjhdu0xwb8wurt
2011-09-09 09:31:45 +02:00
Ujjvala Collins (OpenERP) 9ca534299f [REF] base: Changed description of currency rate type object.
bzr revid: uco@tinyerp.com-20110909045451-li77wxzvkg5rj8jx
2011-09-09 10:24:51 +05:30
Launchpad Translations on behalf of openerp e65666493d Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110908043626-5c0ixnnwl79nkotp
bzr revid: launchpad_translations_on_behalf_of_openerp-20110909043730-o6s4fx8rueje9h3j
2011-09-09 04:37:30 +00:00
Olivier Dony 5fdff4bc17 [IMP] view.rng: allow @name attribute for `label`
bzr revid: odo@openerp.com-20110908173606-unrv4dad5klxh3yq
2011-09-08 19:36:06 +02:00
Vo Minh Thu 5b20065d78 [FIX] wsgi: missing argument to start_response, add "/" prefix only when needed.
bzr revid: vmt@openerp.com-20110908153700-ppfqhf7v5l9s3m65
2011-09-08 17:37:00 +02:00
Vo Minh Thu e643ffcc32 [REF] websrv_lib:
- grouped together the concept of auth proxy and auth provider
- removed the sec_realms dictionary: it was redundant as the
auth proxy was set (in one of the implementation, not all) on
the handler by setupAuth. Now the auth proxy is always set on
the handler.
- reg_http_service accepts the argument of the HTTPDir
constructor.

bzr revid: vmt@openerp.com-20110908123818-suc53zebgv9kcy3c
2011-09-08 14:38:18 +02:00
Olivier Dony fbb6e5e56a [FIX] ir.values.get_defaults: typo in SQL query - spotted by Naresh, thanks!
bzr revid: odo@openerp.com-20110908113833-z2cgkj093940usys
2011-09-08 13:38:33 +02:00
Olivier Dony ef5edae1ca [MERGE] latest trunk
bzr revid: odo@openerp.com-20110908113641-xai86jar2fkbwdm7
2011-09-08 13:36:41 +02:00
Ujjvala Collins (OpenERP) c8e9bb78e8 [REM] base: Removed access rule for Administation/Configuration group and allowing all rights only to Account Manager for currency rate type object.
bzr revid: uco@tinyerp.com-20110908104809-jzdrg750ir12ajrb
2011-09-08 16:18:09 +05:30
Vo Minh Thu 17c54e1217 [IMP] wsgi: cleaner code, moar comments.
bzr revid: vmt@openerp.com-20110908094830-kls32ewruywepjmm
2011-09-08 11:48:30 +02:00
Harry (OpenERP) 3ba75e5d50 [IMP] base.ir_edi: dont use fields_get or _columns to get the list of fields, use the new "self._all_columns" (map of column_info records) which also contains inherited fields and is already cached (see in ORM for the definition of the column_info object)
bzr revid: hmo@tinyerp.com-20110908094546-4zy2dbqk8zyrzr26
2011-09-08 15:15:46 +05:30
Ujjvala Collins (OpenERP) dcbc40a512 [ADD] base: Added access rules for currency rate type.
bzr revid: uco@tinyerp.com-20110908085238-0mkv2vxsjd4gvfba
2011-09-08 14:22:38 +05:30
Vo Minh Thu 1cd7804374 [REF] websrv_lib: moved vdirs mangement code to websrv_lib
(from service.http_server). The vdirs list is now a global variable, containing
both secure-only and non-necessarily-secure handlers. This makes it possible
to register handlers without being too tied to the multi http request handler.
The goal is obviously to make it possible to serve those handlers by other
means than the multi handler.

bzr revid: vmt@openerp.com-20110907154217-f30nrzgvw45ga2q8
2011-09-07 17:42:17 +02:00
Vo Minh Thu 14a82cdf9f [IMP] wsgi: WSGI-to-BaseHTTPRequestHandler, there are
probably some shortcomings but the document_webdav/test/webdav_test1.yml
tests pass.

bzr revid: vmt@openerp.com-20110907141318-4gxmyztv1zp6sk7q
2011-09-07 16:13:18 +02:00
Olivier Dony 7d3d3a6aba [FIX] fields.function: type=binary: workaround for the low byte values (<=0x1f) unsupported in XML
We have a workaround in place for fields.function of binary type
that may return values that are invalid in XML documents, and thus
in our XML-RPC protocol. But out workaround failed to care for the
invalid XML codepoints (below 0x1f) that are well valid in UTF-8
encoding.
Added a sanity check for that as well, using a terrible workaround
for this last resort case: b64-encode the bytes, to avoid crashing
the request.

bzr revid: odo@openerp.com-20110906173140-vc4tl6wstzt8h06o
2011-09-06 19:31:40 +02:00
Olivier Dony ed8d1a9f2f [IMP] ir.mail_server: improve handling of non-ASCII in headers
bzr revid: odo@openerp.com-20110906171746-nnjk6ic0bdlqltcu
2011-09-06 19:17:46 +02:00
Olivier Dony caef9821a3 [MERGE] latest trunk
bzr revid: odo@openerp.com-20110906080822-tyadkxvycrx7bl1d
2011-09-06 10:08:22 +02:00
Olivier Dony eab6a77a26 [IMP] ir.model.data: usability - rename `XML ID` -> `External ID`
bzr revid: odo@openerp.com-20110906075711-lev8g5tkfhc9j3c1
2011-09-06 09:57:11 +02:00
Vo Minh Thu c126c107c3 [MERGE] merged the kanban view rng definition.
bzr revid: vmt@openerp.com-20110905150942-987hlgchx2tg3c8n
2011-09-05 17:09:42 +02:00
Olivier Dony e333a2eb2e [IMP] ir.values: improved defaults doc + removed `object` column completely
The `object` column actually directly depended on the value of
the `key` column, so it can be totally removed with no side-effects.
Docstrings updated following review comments.

bzr revid: odo@openerp.com-20110905141058-xa01o77l1rto6hg9
2011-09-05 16:10:58 +02:00
Olivier Dony 083691b392 [IMP] ir.values: improve security: users can only write to their personal defaults
Administrator access is required to set defaults for
everybody, as well as to alter the action bindings.

bzr revid: odo@openerp.com-20110905123756-oqum5k2pnbyoa11r
2011-09-05 14:37:56 +02:00
Olivier Dony 70933cb532 [MERGE] lastest trunk
bzr revid: odo@openerp.com-20110905101246-k63hw8mvou4b0d2a
2011-09-05 12:12:46 +02:00
Olivier Dony d462066939 [MERGE] res.users: make set-only password field more user-friendly
lp bug: https://launchpad.net/bugs/798681 fixed

bzr revid: odo@openerp.com-20110905090936-s84b6dc18gr6p6gl
2011-09-05 11:09:36 +02:00
Yogesh (OpenERP) 004a92829e [MERGE] Merge with trunk server upto revision no 3569.
bzr revid: ysa@tinyerp.com-20110905045551-jp9fwif57xbma3d3
2011-09-05 10:25:51 +05:30
Antony Lesuisse ef3935553c [FIX] ir_translation cache invalidation
bzr revid: al@openerp.com-20110902155834-rmno5z7aavj71fk5
2011-09-02 17:58:34 +02:00
Olivier Dony d0af2f830c [FIX] ir.values: get_defaults() should cut the condition at 200 chars to match the conditions that were set
bzr revid: odo@openerp.com-20110902151442-rqrh62z67g8k921o
2011-09-02 17:14:42 +02:00
Vo Minh Thu 0a6fe4d1f7 [IMP] wsgi: added exception handling.
bzr revid: vmt@openerp.com-20110902150226-223gkl4efb8o8jhs
2011-09-02 17:02:26 +02:00
Vo Minh Thu 9aeba4fece [REF] netsvc.OpenERPDispatcher: that class is gone, replaced by a simple function.
bzr revid: vmt@openerp.com-20110902141232-umpscnz2cot468hy
2011-09-02 16:12:32 +02:00
Olivier Dony a0639a51a7 [IMP] ir.mail.server: improved tooltips
bzr revid: odo@openerp.com-20110902134831-pvpxeg0k2em975ye
2011-09-02 15:48:31 +02:00
Vo Minh Thu 8ca1a87201 [IMP] wsgi: modules can be pre-loaded and expose a WSGI handler.
An option --load is added to list the modules to pre-load.
sys.path and sys.modules are initialized when the config is
parsed.

bzr revid: vmt@openerp.com-20110902133136-4v7fgptyd0g1kc5s
2011-09-02 15:31:36 +02:00
Vo Minh Thu 79d0e39c4c [FIX] loading: load base only once.
bzr revid: vmt@openerp.com-20110902132712-j9bgfnzbmddarr7h
2011-09-02 15:27:12 +02:00
Olivier Dony 32020e1353 [FIX] ir.values: re-binding of actions should properly delete the previous one
bzr revid: odo@openerp.com-20110902125648-x0cir5m7818h9ba6
2011-09-02 14:56:48 +02:00
Olivier Dony e0624cbc95 [IMP] ir.values: smoke test for action bindings
bzr revid: odo@openerp.com-20110902124038-36ip41ccytr2f9vt
2011-09-02 14:40:38 +02:00
Olivier Dony 38ddb76960 [IMP] ir.values: minor cleanup/view improvements
bzr revid: odo@openerp.com-20110902101530-13r328uwhwdpudn5
2011-09-02 12:15:30 +02:00
Olivier Dony 75e0749542 [IMP] ir.values: separated defaults and actions API, added different views
This should prepare for a future split of the two parts
currently composing ir.values entries: user defaults and
action bindings to a model's UI.

bzr revid: odo@openerp.com-20110901181254-g14lyeogs0wv23bz
2011-09-01 20:12:54 +02:00
Olivier Dony 52f6e15e5c [FIX] ir.ui.menu: typo during merge of simplified cache
bzr revid: odo@openerp.com-20110901143038-dpuehbd8p1e0o3qz
2011-09-01 16:30:38 +02:00
Vo Minh Thu 3c8571ead0 [IMP] wsgi: added new (still to be refined) routes for XMLRPC dispatching.
bzr revid: vmt@openerp.com-20110901130450-ub41ey4s0060vucg
2011-09-01 15:04:50 +02:00
Vo Minh Thu efd281a21f [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110901130339-0epw03nlkwo29125
2011-09-01 15:03:39 +02:00
Xavier Morel eac94dd2c9 [FIX] diagram view schema: diagram children are a single 'node' and a single 'arrow', in this order. Also require at least one 'field' in both node and arrow
bzr revid: xmo@openerp.com-20110901114349-c279654t361ta3q5
2011-09-01 13:43:49 +02:00
Launchpad Translations on behalf of openerp 24536a8e74 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110901044607-258xb4cenlrgh16h
2011-09-01 04:46:07 +00:00
Antony Lesuisse d4dc332b2f [FIX] res_lang clear cache remove kwargs, typo
bzr revid: al@openerp.com-20110831182216-afohhdmshv60y3g3
2011-08-31 20:22:16 +02:00
Fabien Meghazi 10e06c2300 [IMP] Improved rng for kanban view
bzr revid: fme@openerp.com-20110831153933-jvpnrysi5hc42z04
2011-08-31 17:39:33 +02:00
Olivier Dony 8add1d7459 [REM] view.rng: remove unused 'default' attribute, as planned in bug 687272
lp bug: https://launchpad.net/bugs/687272 fixed

bzr revid: odo@openerp.com-20110831153012-0tnrtgvar4hccnvr
2011-08-31 17:30:12 +02:00
Antony Lesuisse 519068f60a [FIX] res_lang clear cache remove kwargs
bzr revid: al@openerp.com-20110831142213-0kdmcgmt02tq4gse
2011-08-31 16:22:13 +02:00
Fabien Meghazi 37d7ccdd3f [MERGE} Merge with trunk
bzr revid: fme@openerp.com-20110830140814-ek68i2033zls1cc6
bzr revid: fme@openerp.com-20110831134240-gu3l0nul165hdiyi
2011-08-31 15:42:40 +02:00
Xavier Morel ddadb2ce75 [FIX] issue in splitting field paths for export: would create empty path sections because too eager
do replacement in two passes of re-base replacement: replace old-style 'field:id' and 'field.id' in resp. 'field/id' and 'field/.id', don't touch anything else (especially not 'field/.id') and leave them through instead.

bzr revid: xmo@openerp.com-20110831094547-8evd7ecm5qojspnr
2011-08-31 11:45:47 +02:00
Vo Minh Thu b8a633e578 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110831091325-t5gfm57tmkr0fbee
2011-08-31 11:13:25 +02:00
Vo Minh Thu 2e7927331d [FIX] registry: forgot the self/cls args.
bzr revid: vmt@openerp.com-20110831075639-0ywrg01e6zdff7l7
2011-08-31 09:56:39 +02:00
Vo Minh Thu 12f977059c [IMP] osv_memory_autovacuum: use the method instead of accessing the field directly.
bzr revid: vmt@openerp.com-20110830141421-r6b48z00ae11kubr
2011-08-30 16:14:21 +02:00
Vo Minh Thu 1300ac804d [MERGE] res.currency: added res.currency.rate.type model.
bzr revid: vmt@openerp.com-20110830140936-pnmtt6f8jsvw32m4
2011-08-30 16:09:36 +02:00
Quentin (OpenERP) 399de9724c [IMP] base, res.currency: code cleaning
bzr revid: qdp-launchpad@openerp.com-20110830132035-x2gs62lft5o19u6i
2011-08-30 15:20:35 +02:00
Quentin (OpenERP) 9c6fcf06d2 [IMP] base, res.currency: code cleaning
bzr revid: qdp-launchpad@openerp.com-20110830125521-1kt54s56865388ch
2011-08-30 14:55:21 +02:00
Quentin (OpenERP) 13b2db3631 [FIX] base, res.currency: ProgrammingError. When giving a context value like {'currency_rate_type_id': False}, it crashed because the value False was kept instead of None. Thanks Guewen (c2c) for the clue.
bzr revid: qdp-launchpad@openerp.com-20110830122701-yrcpo19lokkgrpcc
2011-08-30 14:27:01 +02:00
Vo Minh Thu bdd0c7cf3f [IMP] simplified cache implementation (and stored on the osv), does not support contexts.
bzr revid: vmt@openerp.com-20110830121541-abov2wezdn6kl2dc
2011-08-30 14:15:41 +02:00
Quentin (OpenERP) 999efde443 [MERGE] merged with main addons branch
bzr revid: qdp-launchpad@openerp.com-20110830120839-2e6gbk2c5hestd1r
2011-08-30 14:08:39 +02:00
Quentin (OpenERP) 17156bd16a [IMP] base, res.currency: fixes
bzr revid: qdp-launchpad@openerp.com-20110830120727-82z1fn0msp7m5096
2011-08-30 14:07:27 +02:00
Quentin (OpenERP) b8b78c43dd [IMP] base, res.currency: by default, don't show the currency_rate_type_id field, and don't display its menuitem. Both should be added by specific module using it
bzr revid: qdp-launchpad@openerp.com-20110830120644-lwuv3h1vrqjhu32y
2011-08-30 14:06:44 +02:00
Fabien Meghazi 757353a0a9 [IMP] Improved rng for kanban view
bzr revid: fme@openerp.com-20110829152757-juq5aaryom6dtc12
2011-08-29 17:27:57 +02:00
Fabien Meghazi 535cc9a862 [MERGE] Merge with trunk
bzr revid: fme@openerp.com-20110829152720-055wnqlm6vbfl7ta
2011-08-29 17:27:20 +02:00
Olivier Dony 973c7b116c [FIX] ir.mail.server: remove debugging statement
bzr revid: odo@openerp.com-20110829125917-xm8s6bkfa1uiw4qh
2011-08-29 14:59:17 +02:00
Olivier Dony ce34e4563d [FIX] ir_actions: restore partial content missing in last merge
bzr revid: odo@openerp.com-20110829123625-9r34t0spef71b88m
2011-08-29 14:36:25 +02:00
Vo Minh Thu abcef35c76 [FIX] osv: forgot to "import expression".
bzr revid: vmt@openerp.com-20110829120020-b4tfvgizlednt452
2011-08-29 14:00:20 +02:00
Vo Minh Thu e1b2dec200 [IMP] orm: option to make many2many relation tables without foreign key constaint.
The option is not completely flexible (no possibility to choose to have a foreign
key on one of the fields. No similar option is provided for many2one either.
It is seldom used (e.g. in account_followup addons).

bzr revid: vmt@openerp.com-20110829094354-0yf6t6329j8e765q
2011-08-29 11:43:54 +02:00
Harry (OpenERP) 2b0109060c [IMP] ir.edi: improve edi_import_relation and edi_xml_id with better xml_id, uuid
bzr revid: hmo@tinyerp.com-20110829074732-lq2q9k2wh2ywnooy
2011-08-29 13:17:32 +05:30
Antony Lesuisse 0712964066 [MERGE] partner hide categories in simplified view
bzr revid: al@openerp.com-20110828014454-8xbfck4kffsdtvrn
2011-08-28 03:44:54 +02:00
Antony Lesuisse e6db9e4b71 [IMP] renames in base/res
bzr revid: al@openerp.com-20110828001314-roc7o38bz22mr580
2011-08-28 02:13:14 +02:00
Antony Lesuisse 3f691a6c49 [IMP] res.partner.canal into crm.case.channel
bzr revid: al@openerp.com-20110827233222-cy0w9z3jdm8ye1b2
2011-08-28 01:32:22 +02:00
Quentin (OpenERP) 9421188847 [IMP] base/res_currency: improved res.currency.rate.type. Added search view and help tooltip. Made some code cleaning
bzr revid: qdp-launchpad@openerp.com-20110827225330-3ng37d8yg31psgsd
2011-08-28 00:53:30 +02:00
Quentin (OpenERP) 7064bd53de [MERGE] merge with main server trunk
bzr revid: qdp-launchpad@openerp.com-20110827220157-xatzm3sm7zib1670
2011-08-28 00:01:57 +02:00
Antony Lesuisse 1ed2aba648 [FIX] typo
bzr revid: al@openerp.com-20110827213751-yq8mgdmiuhqizsbs
2011-08-27 23:37:51 +02:00
Antony Lesuisse be328ad7c3 [MERGE] trunk
bzr revid: al@openerp.com-20110827213628-4kflylkgtln6o4k4
2011-08-27 23:36:28 +02:00
Olivier Dony 3f00bfc405 [FIX] registry: use a unique list of models to load per module
This is necessary to preserve the model loading order
as defined in the module. This was broken when the 
metaclass was introduced to make the explicit model
constructor call optional.
One consequence is that the order in which the classes
are declared in the module really defines their
initialization order, even if the constructors are 
later called explcitly in a different order.
This latter case should be fairly rare, and easy to
fix too - simply putting the class declaration in the
right order.

bzr revid: odo@openerp.com-20110826161736-lgnpurtbcqtbseey
2011-08-26 18:17:36 +02:00
Vo Minh Thu 66f9426e9b [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110826140542-5ii29az0e6czr29l
2011-08-26 16:05:42 +02:00
Vo Minh Thu 4253a5f798 [MERGE] openerp-server is rewritten in a slightly better way.
Doing so, it is now not possible to both start the server and test a YAML file.
That is, testing a YAML file is similar in the translation import/export options
and does not start the server.

bzr revid: vmt@openerp.com-20110826134013-sfnlowg5xuhqxet2
2011-08-26 15:40:13 +02:00
Vo Minh Thu 174e25e66f [IMP] tools.cache: removed unused variable.
bzr revid: vmt@openerp.com-20110826121639-irm0g0eh5yec1c88
2011-08-26 14:16:39 +02:00
Vo Minh Thu dad3528ab7 [FIX] registry.py: typos (invalid syntax).
I wonder how come I made the previous commit.

bzr revid: vmt@openerp.com-20110826121026-da90yx3iapj6y1v1
2011-08-26 14:10:26 +02:00
Naresh (OpenERP) 8d0cf999ac [FIX]:_inherits for multilevel inheritence
lp bug: https://launchpad.net/bugs/823691 fixed

bzr revid: nch@tinyerp.com-20110826103516-o220jqwqdr3uwjhn
2011-08-26 16:05:16 +05:30
Harry (OpenERP) 6b111d9b1c [MERGE]
bzr revid: hmo@tinyerp.com-20110826101709-lbvfgejxgl3mm7lk
2011-08-26 15:47:09 +05:30
Vo Minh Thu e10676bf66 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110826074112-b2a4xm0cewwjqpcx
2011-08-26 09:41:12 +02:00
Mustufa Rangwala (OpenERP) 46f690d64c [IMP] Base: added currency rate type on tree view
bzr revid: mra@tinyerp.com-20110825173651-5rn1vsukicpdo331
2011-08-25 23:06:51 +05:30
Mustufa Rangwala (OpenERP) e117018b7b [REF] Base: small improvement
bzr revid: mra@tinyerp.com-20110825170657-tgajqc4yknz9f83b
2011-08-25 22:36:57 +05:30
Vo Minh Thu 6fdadb04f5 [IMP] tools.cache: added missing clean_caches_for_db replacement.
bzr revid: vmt@openerp.com-20110825124711-y2uckmvcoa0arz4h
2011-08-25 14:47:11 +02:00
Xavier Morel b5a429d008 [FIX] fnct_inv in client actions params, fix docstring for fnct_inv (fnct_inv only takes a single record id, not a sequence of ids)
bzr revid: xmo@openerp.com-20110825123049-bmvebm86gqgr6w43
2011-08-25 14:30:49 +02:00
Fabien Meghazi 39d2fbbce6 [MERGE] Merge with trunk
bzr revid: fme@openerp.com-20110825115919-vbpn3111a0gwjl13
2011-08-25 13:59:19 +02:00
Ujjvala Collins (OpenERP) 5b17d2ccb7 [FIX] base: Fixed problem of browse method in _get_conversion_rate method.
bzr revid: uco@tinyerp.com-20110825115645-85ya32yjnpirbuga
2011-08-25 17:26:45 +05:30
Harry (OpenERP) bf6388f348 [IMP] ir.edi:we must use the full __id from the EDI as the new XML-ID for objects created during EDI import. The db-uuid is an important part of it, this is what will avoid conflicts of IDs between multiple databases. So the 'module' column in ir.model.data will contain 'db-uuid:xml-id', which is fine. This will also avoid deleting all those records at the next update during cleanup of module data
bzr revid: hmo@tinyerp.com-20110825052909-hpb9nae84myld6bu
2011-08-25 10:59:09 +05:30
Antony Lesuisse c8bb3c1ea5 [IMP] merge add company_registry, but use a button instead of onchange to generate the footer
bzr revid: al@openerp.com-20110824234829-10lvn7cs0uuxaty4
2011-08-25 01:48:29 +02:00
Antony Lesuisse 86965e3884 [FIX] orm ir.translation get_source to use positional args
bzr revid: al@openerp.com-20110824231131-y33ng5x4d6j2vr6w
2011-08-25 01:11:31 +02:00
Antony Lesuisse 4be82ffd52 [FIX] remove debugging
bzr revid: al@openerp.com-20110824222330-zrfnr4qme71r9oqi
2011-08-25 00:23:30 +02:00
Antony Lesuisse c7076adb06 [FIX] ir_attachement check use positional args
bzr revid: al@openerp.com-20110824220324-xfo7swm45stcooun
2011-08-25 00:03:24 +02:00
Antony Lesuisse 7a52778235 [IMP] ir.model.data unlink clear full cache
bzr revid: al@openerp.com-20110824214843-c75b3jl1fad0mv5a
2011-08-24 23:48:43 +02:00
Antony Lesuisse 8c0fb375b4 [FIX] ir.model clear_cache use self
bzr revid: al@openerp.com-20110824214416-9eby8h7mnqmlr8a3
2011-08-24 23:44:16 +02:00
Antony Lesuisse 8d31082408 [FIX] ir.model.access check use positional args
bzr revid: al@openerp.com-20110824211948-gvtc7uv9e3oeeo3e
2011-08-24 23:19:48 +02:00
Antony Lesuisse 52a84f0758 [FIX] revert previous commit ir_rule clear_cache
bzr revid: al@openerp.com-20110824172237-arzved9kk54u3hwu
2011-08-24 19:22:37 +02:00
Antony Lesuisse 93f9a0b0cd [IMP] ir_rule distribute clear_cache
bzr revid: al@openerp.com-20110824161918-dkexqhuc1mzpx9fs
2011-08-24 18:19:18 +02:00
Antony Lesuisse fd83621463 [MERGE] trunk
bzr revid: al@openerp.com-20110824160936-ej26wcvgvku3lkm7
2011-08-24 18:09:36 +02:00
Vo Minh Thu 764de99262 [IMP] res_company/res_user: removed unused methods _get_child_ids/company_get.
bzr revid: vmt@openerp.com-20110824155723-6wk2v8rb1gekbavv
2011-08-24 17:57:23 +02:00
Antony Lesuisse 8d08cbf561 [FIX] remove cache on used function
bzr revid: al@openerp.com-20110824153042-w6wgegxjruu06ln1
2011-08-24 17:30:42 +02:00
Antony Lesuisse 362399c6ac [FIX] remove cache on used function
bzr revid: al@openerp.com-20110824152905-8en0wclyumjz5105
2011-08-24 17:29:05 +02:00
Antony Lesuisse b687cc3bb4 [FIX] remove unused clear function
bzr revid: al@openerp.com-20110824150122-ejryb7ni1l92d1hp
2011-08-24 17:01:22 +02:00
Vo Minh Thu a1b433fac8 [IMP] wsgi: make it possible to kill siblings.
bzr revid: vmt@openerp.com-20110824132220-htd1c4ssewwozl35
2011-08-24 15:22:20 +02:00
Ujjvala Collins (OpenERP) 2ef8385544 [FIX] base: Fixed currency rate argument problem in context.
bzr revid: uco@tinyerp.com-20110824091022-0n1iwkefv2h4nh74
2011-08-24 14:40:22 +05:30
Ujjvala Collins (OpenERP) 108db379d0 [REF] base: Changed code to avoid overriding of context values.
bzr revid: uco@tinyerp.com-20110824054416-ngrtkk5oh1v9jgb3
2011-08-24 11:14:16 +05:30
Amit Bhavsar (Open ERP) 8de550dea8 [usability],hide the partner categories in simple view
bzr revid: amb@tinyerp.com-20110824053729-dkyk9e282azevs6q
2011-08-24 11:07:29 +05:30
Hardik Ansodariy (OpenERP) 440374703e [IMP]: improved edi according to feedbacj
bzr revid: han@tinyerp.com-20110824045609-0hm9au2wevnp0qgv
2011-08-24 10:26:09 +05:30
Olivier Dony 81f052f14b [FIX] res.partner: renamed massmail wizard
bzr revid: odo@openerp.com-20110823145027-2qefk1sffzpnltlx
2011-08-23 16:50:27 +02:00
Olivier Dony 65e414b5de [FIX] ir.actions: typo during previous refactoring
bzr revid: odo@openerp.com-20110823144942-a42s972wfsquoy76
2011-08-23 16:49:42 +02:00
Vo Minh Thu 848838526e [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110823142644-3a8pjbi7geo9udx7
2011-08-23 16:26:44 +02:00
Vo Minh Thu 4d2c765f75 [FIX] osv: broken SQL query.
bzr revid: vmt@openerp.com-20110823124524-p0e1jq49vgssgb1y
2011-08-23 14:45:24 +02:00
Ujjvala Collins (OpenERP) bd5cb5e54a [IMP] base: Improved code to update the context.
bzr revid: uco@tinyerp.com-20110823120116-6mrgalyg77jthxnt
2011-08-23 17:31:16 +05:30
Hardik Ansodariy (OpenERP) fc5bf7ae26 [IMP]
bzr revid: han@tinyerp.com-20110823113632-3k859oxwq5k7kwzw
2011-08-23 17:06:32 +05:30
Naresh (OpenERP) 6a99234853 [FIX]:wrong wizard help
lp bug: https://launchpad.net/bugs/830902 fixed

bzr revid: nch@tinyerp.com-20110823103352-535evxmlmpi15c4h
2011-08-23 16:03:52 +05:30
Vo Minh Thu 180ffb18a1 [REF] openerp-server: streamlining startup script.
bzr revid: vmt@openerp.com-20110823103343-rvy2zkre8bo9cq6g
2011-08-23 12:33:43 +02:00
tfr(OpenERP) ca673b88dc [FIX]:import boolean fields
lp bug: https://launchpad.net/bugs/831009 fixed

bzr revid: nch@tinyerp.com-20110823092737-t85rn3kirir3g749
2011-08-23 14:57:37 +05:30
Launchpad Translations on behalf of openerp eba378a4d6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110823050426-2mnoc0yg5w6nzs0c
2011-08-23 05:04:26 +00:00
Antony Lesuisse 45496327d4 [FIX] ir.action.act_window form missing target
bzr revid: al@openerp.com-20110822145244-dctqa7gd1m9b35e2
2011-08-22 16:52:44 +02:00
Vo Minh Thu c086f79ae1 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110822111142-11251h9i4ueguq6g
2011-08-22 13:11:42 +02:00
Vo Minh Thu cedc961be1 [MERGE] ir_actions: add user in eval context, use fallback --email-from value.
bzr revid: vmt@openerp.com-20110822100007-q07bsf0dxrhjnzvf
2011-08-22 12:00:07 +02:00
Olivier Dony 3fa9dcea34 [MERGE] latest trunk
bzr revid: odo@openerp.com-20110819150201-pas7z2md5sa3bk7e
2011-08-19 17:02:01 +02:00
Olivier Dony fc4874e5f6 [IMP] tools.misc: update msg tracking id pattern: 'openobject'->'openerp'
bzr revid: odo@openerp.com-20110819141044-liat57ztdyydl5xm
2011-08-19 16:10:44 +02:00
Hardik Ansodariy (OpenERP) 7417f09da1 [IMP]: made changes and removed unwanted code
bzr revid: han@tinyerp.com-20110819132422-5frpi82rdhczpykb
2011-08-19 18:54:22 +05:30
Vo Minh Thu 94b86a7bf6 [IMP] wsgi: (proof of concept) serving xml-rpc requests behind gunicorn:
> gunicorn openerp:wsgi.application -c gunicorn.conf.py
If you want to try, you should know an addons_path is
hard coded in openerp.wsgi.on_starting().

bzr revid: vmt@openerp.com-20110819130248-tf81ttu42t2uhkuo
2011-08-19 15:02:48 +02:00
Ujjvala Collins (OpenERP) 416b2693ac [IMP] base: Improved arguments in compute method to avoid error of No rate found.
bzr revid: uco@tinyerp.com-20110819110719-r82nsaui8a2kk58i
2011-08-19 16:37:19 +05:30
Olivier Dony 8f3b055dca [MERGE] latest trunk
bzr revid: odo@openerp.com-20110818163008-tvj3hgqon269iwi2
2011-08-18 18:30:08 +02:00
Olivier Dony 8ac7724a67 [IMP] fields.function: don't wrap int values unless really needed
There was no need to wrap/cast int values for values less
than 2^31-1, which the highest XML-RPC int value.
Also, instead of wrapping them in strings, we can use
float values, which are 64bits based in the XMLRPC standard,
and closer to the real value (for comparisons, etc.).
Added note for integer_big, as a reminder of this possible
issue.

bzr revid: qdp-launchpad@openerp.com-20110818120550-ulvffm6ka9f3c5ym
2011-08-18 14:05:50 +02:00
Mayur Maheshwari (OpenERP) 29cb20313e [IMP]base:Added field Company registry after TaxID
bzr revid: mma@tinyerp.com-20110818085434-2upimzqd2ty1nysa
2011-08-18 14:24:34 +05:30
Vo Minh Thu ef542bf9a7 [REF] netsvc: removed no longer used method (the method was changed to a function in a previous commit).
bzr revid: vmt@openerp.com-20110818080709-8htdrn4ixl3gu8sf
2011-08-18 10:07:09 +02:00
gpa b2415915cd [FIX] Fixed problem of import translation do not work after another import
lp bug: https://launchpad.net/bugs/826623 fixed

bzr revid: gpa@tinyerp.com-20110818062326-bc0ti49g2p6e6z7w
2011-08-18 11:53:26 +05:30
gpa 5966666250 [FIX] Fixed problem of unlink tuple (5) in many2many
lp bug: https://launchpad.net/bugs/818189 fixed

bzr revid: gpa@tinyerp.com-20110817093542-bi6ges077dc7un3e
2011-08-17 15:05:42 +05:30
Vo Minh Thu c462ff9ad4 [REF] fields: removed osv_memory-related methods ({set,get,search}_memory()).
bzr revid: vmt@openerp.com-20110816110234-8jw4pxjklip4kf43
2011-08-16 13:02:34 +02:00
Vo Minh Thu ad716633bc [REF] osv: osv_memory is now TransientModel.
bzr revid: vmt@openerp.com-20110816104650-euix946m490dliqp
2011-08-16 12:46:50 +02:00
Vo Minh Thu fa41b78f64 [FIX] res_currency: changed super(osv,self) to super(res_currency,self).
bzr revid: vmt@openerp.com-20110816103531-8f6cj11jsgacfsdk
2011-08-16 12:35:31 +02:00
Vo Minh Thu 51117db344 [REF] osv: replace isinstance(m,osv_memory) by m.is_transient().
bzr revid: vmt@openerp.com-20110816095755-2g5cblolcvchtewx
2011-08-16 11:57:55 +02:00
Mustufa Rangwala (OpenERP) b20abc71a1 [MERGE] Merge from trunk server
bzr revid: mra@tinyerp.com-20110816091405-4d67naioc3sftp0r
2011-08-16 14:44:05 +05:30
Vo Minh Thu 7e9c72d041 [FIX] osv: super instead of self.
bzr revid: vmt@openerp.com-20110816080900-fg6g5kz40ulbvxbr
2011-08-16 10:09:00 +02:00
Vo Minh Thu f2a0eb22e6 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110816074516-hdkzgd5c5ffcwnc2
2011-08-16 09:45:16 +02:00
Vo Minh Thu 9964cd1d84 [REF] osv: previous diff makes unneccessary one of makeInstance/createInstance.
bzr revid: vmt@openerp.com-20110816074431-v16wfzcy55ojkhwi
2011-08-16 09:44:31 +02:00
fp 0676727e6e compat
bzr revid: fp@fp-laptop-20110815230906-46spht70zgk6nq4l
2011-08-16 01:09:06 +02:00
fp 04b7ce8425 imp
bzr revid: fp@fp-laptop-20110815153202-20pjs3u2vo28iqox
2011-08-15 17:32:02 +02:00
fp 8c2256b8fd [IMP] company configuration, report header and footer
bzr revid: fp@fp-laptop-20110815152825-n2njyvgmqoyuqwwi
2011-08-15 17:28:25 +02:00
fp 941496a321 [IMP] bank account management reviewed, improved groups name
bzr revid: fp@fp-laptop-20110815141643-ebg8rnuihkei6fni
2011-08-15 16:16:43 +02:00
Launchpad Translations on behalf of openerp 1f61d5c2e2 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20110814044430-2o7xhfo8phslwwbm
bzr revid: launchpad_translations_on_behalf_of_openerp-20110814044501-phnxu5mn3aex6dzp
2011-08-14 04:45:01 +00:00
Vo Minh Thu 83f10149d0 [REF] fields: renamed orm_template in orm (in the docstrings).
bzr revid: vmt@openerp.com-20110812143106-jk9ijbtc2yhal1sp
2011-08-12 16:31:06 +02:00
Vo Minh Thu 80f6562618 [REF] orm: merged orm_template inside orm.
Things could be re-ordered but this way the diff remains small.

bzr revid: vmt@openerp.com-20110812142814-6dbd0wodllw8xn37
2011-08-12 16:28:14 +02:00
Vo Minh Thu 7797702a9f [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110812130941-z2x2bjr310r4ynu8
2011-08-12 15:09:41 +02:00
Vo Minh Thu 5865633ffb [FIX] osv: forgot the "return" statement.
bzr revid: vmt@openerp.com-20110812130822-6q1qym3nww64zk4p
2011-08-12 15:08:22 +02:00
Vo Minh Thu ddd65ab5c1 [REF] osv: removed orm_memory, adapted the distinguished bits to osv_memory,
so yes, there are still two user-visible classes instead of a boolean flag.

bzr revid: vmt@openerp.com-20110812124128-43rr422swy6h2vs8
2011-08-12 14:41:28 +02:00
Vo Minh Thu 2f5e8d48b3 [REF] osv: moved (and adapted) vacuum code to osv_memory.
bzr revid: vmt@openerp.com-20110812113355-lylavdsc3mqjovrj
2011-08-12 13:33:55 +02:00
Xavier Morel 86a5de431b [FIX] don't use @string on filters inside fields in search view, use @help
bzr revid: xmo@openerp.com-20110812083820-tnk2yv7kkuylg9aw
2011-08-12 10:38:20 +02:00
Antony Lesuisse 2f9f557e18 [FIX] get rid of unsued menus and submenu
bzr revid: al@openerp.com-20110811181217-y2yxdz34uswijwza
2011-08-11 20:12:17 +02:00
Olivier Dony 8d8b620430 [FIX] ir.actions.server: make trigger actions work (based on ideas from F. Degrave)
lp bug: https://launchpad.net/bugs/819872 fixed

bzr revid: odo@openerp.com-20110811143434-2xm0tnzb04lgy12f
2011-08-11 16:34:34 +02:00
Yogesh (OpenERP) a54a00ea62 [MERGE] Merge with trunk server.
bzr revid: ysa@tinyerp.com-20110808044657-wdrsjtatkn0745zf
bzr revid: ysa@tinyerp.com-20110811110515-xnyrr12apnl2nphf
2011-08-11 16:35:15 +05:30
Vo Minh Thu 6251434cb9 [IMP] unaccent: support for the postgres unaccent contrib module.
OpenERP is now able to use the SQL unaccent() function when available,
and when the server is run with the --unaccent flag.

bzr revid: vmt@openerp.com-20110811110118-cyx2l6c3wk58083p
2011-08-11 13:01:18 +02:00
Vo Minh Thu d462db158e [REF] expression: comments, minor changes.
bzr revid: vmt@openerp.com-20110811093136-8whjybyvf3kf3t4y
2011-08-11 11:31:36 +02:00
Vo Minh Thu 5de1e1a367 [IMP] expression: some more tests pass with the correct semantic.
bzr revid: vmt@openerp.com-20110810143838-l5ujglk5w85mchv1
2011-08-10 16:38:38 +02:00
Vo Minh Thu 19a21de5e1 [FIX] expression: better semantic for in/not in w.r.t. null values:
In SQL, not in (2, 7, 9) will return only non-null records.
In OpenERP, a domain with not in [2, 7, 9] should return
every record whose value is not 2 or 7 or 9, including
the one with a null value.
This means that the union of (not in XXX) and (in XXX)
will return the whole set.

bzr revid: vmt@openerp.com-20110810130646-2y822a276igz2f1g
2011-08-10 15:06:46 +02:00
Vo Minh Thu 784a2d6add [REF] expression: normalize the operator w.r.t. the right operand so that it is done in one place.
bzr revid: vmt@openerp.com-20110810120057-ruijgl9w4zce1teg
2011-08-10 14:00:57 +02:00
Vo Minh Thu c7ccae6feb [REF] expression: unnecessary code in parse() because __leaf_to_sql() is already doing the work.
bzr revid: vmt@openerp.com-20110810102922-xe2oxkgorarco4vm
2011-08-10 12:29:22 +02:00
Vo Minh Thu a32476c6d9 [FIX] expression: the <> can be part of leaves (before normalization).
bzr revid: vmt@openerp.com-20110810092859-mzp9nmo81azxtq8s
2011-08-10 11:28:59 +02:00
Vo Minh Thu 44b3499a73 [FIX] expression: better handling of []/False with in/not in.
The newly added tests were wrong before the fix.
The change might break existing code if it was relying
on this broken behavior.
This also starts a better separation of concern between
parse() and __leaf_to_sql.

bzr revid: vmt@openerp.com-20110810085604-1f6ahwzuzfklj1b7
2011-08-10 10:56:04 +02:00
Vo Minh Thu 64346c63a4 [FIX] expression: perform a check on domain after the <> operator is removed.
bzr revid: vmt@openerp.com-20110810071910-ykz0ji9nz7fqteuj
2011-08-10 09:19:10 +02:00
Vo Minh Thu 187dc4c199 [REF]: expression: simplified <> into != in a pre-step,
put some warnings (which might get boring, we will see).

bzr revid: vmt@openerp.com-20110809174814-4uja94uo2spzcvm5
2011-08-09 19:48:14 +02:00
Olivier Dony c90c1a735d [MERGE] latest trunk
bzr revid: odo@openerp.com-20110809160953-i1yrg5knplw4jy9l
2011-08-09 18:09:53 +02:00