[FIX] Use human name and english category name for manifest
[IMP] multi line notes, unprefix names, pep8 py files
[IMP] whitespace cleanup in templates
[FIX] base models get _name, custom get _inherit
add missing spaces
[IMP] prototype: no more bug when no icon, commented no implemented page in the view.
[IMP] prototype: better management of special cases.
[IMP] prototype: prototype.py removed print statement and shadowing of "fields".
[IMP] prototype -> module_prototyper
[IMP] module_prototyper: gathered menuitems that is helpfull to create a prototype under the menu 'Module Prototypes'
[IMP] module_prototyper: more comment and docstrings.
[IMP] module_prototyper: translations.
[FIX] module_prototyper: pep8
[IMP] update module_prototyper:
* pump up the version of the module to 0.3
* replace ir.ui.model by ir.ui.view in generated xml views
* improve pep8 compatibility of generation of models
[IMP] update module_prototyper: update of README with versions.
[IMP] Add OCA as an author
[IMP] Add Bug Tracker section in description
[IMP] Update description template
[ADD] Initial version of prototype
[IMP] Add wizard for API version and templates. Update translation file
[ADD] Security template files
[ADD] Filters for data and demo data
[FIX] other licenses, return lines as well
[FIX] license not shown in __oe__
[FIX] unprefix more names, try to get _name/_inherit right [IMP] group by module in zip
[FIX] fix category and summary being on same line
[FIX] fix export test
[IMP] add tabs for reports/security/workflow/data + partial data/demo generation
unprefix model names in __init__
[FIX] fix data file names in __openerp__.py
[IMP] move Data&Demo after Interface in view
[FIX] unprefix view file names
[IMP] remove prefixes from field attrs in views
[FIX] encode files in zip to utf-8, remove trailing comma in menu groups
remove unused variable in tests
remove AGPL3 or later from license choices: not in base module choices
10 years ago
Maxime Chambreuil - http://www.savoirfairelinux.com
[FIX] Use human name and english category name for manifest
[IMP] multi line notes, unprefix names, pep8 py files
[IMP] whitespace cleanup in templates
[FIX] base models get _name, custom get _inherit
flake fix
add missing spaces
prevent crash on menus with no action
switch GPL-2 to LGPL-3
generate license headers with license name
fix pep/flake errors in generated files
add m2m and relation field options in fields
[IMP] prototype: no more bug when no icon, commented no implemented page in the view.
[IMP] prototype: better management of special cases.
[IMP] prototype: prototype.py removed print statement and shadowing of "fields".
[IMP] prototype -> module_prototyper
[IMP] module_prototyper: gathered menuitems that is helpfull to create a prototype under the menu 'Module Prototypes'
[IMP] module_prototyper: more comment and docstrings.
[IMP] module_prototyper: translations.
[FIX] module_prototyper: pep8
[FIX] module_prototyper: fix typo in tests.
[IMP] update module_prototyper:
* pump up the version of the module to 0.3
* replace ir.ui.model by ir.ui.view in generated xml views
* improve pep8 compatibility of generation of models
[IMP] update module_prototyper: update of README with versions.
This module is intended to disable the indexation of data on the
ir.attachment model.
Attachment model has a field called 'index_content' where the content
of the attachment is read and stored directly in the database. This field is
useful in order to search content of a file. But most of cases it is not used,
so, you can install this module in order to:
- **Avoid Duplicating Data:** Because indexation extracts text content
from files and put it on the database in order it could be searched, but
this implies you have the file data in your `filestore` directory, and
also part (or sometimes all) of that data in your database too.
- **Improve Performance:** Since not all indexed files are plain text, they
require extra process to read them.
Maybe you could try to uninstall modules like `document` in order to
disable its indexation features, but you could face the uninstallation of other
modules that could be useful for you (e.g, `hr_recruitment` depends on that).
But even if you don't have `document` installed, you'd still have
plain text content indexation by default.
Using this module you will not require to uninstall any module to
disable the attachment content indexation, because we directly disable it at
`ir.attachment` base.
The goal of the modified method is to create or remove the relationship
(in the M2m relation tabel) between the tested model (such as
sale_order) and the exception rules. When the ORM writes on
ExceptionRule.sale_ids (using the example of sale_exception), it will
first proceeds with these updates:
* an UPDATE on exception_rule to set the write_date
* INSERT or DELETE on the relation table
* but then, as "write" is called on the exception rule, the ORM will
trigger the api.depends to recompute all the "main_exception_ids"
of the records (sales, ...) related to it, leading to an UPDATE
for each sale order
We end up with RowExclusiveLock on such records:
* All the records of the relation table added / deleted for the current
sale order
* All the records of exception_rule matching the current sale order
* All the records of sale_order related to the exception rules matching
the current sale order
The first one is expected, the next 2 are not. We can remove the lock on
the exception_rule table by removing `_log_access`, however in any case,
the main_exception_ids computed field will continue to lock many sale
orders, effectively preventing 2 sales orders with the same exception
to be confirmed at the same time.
Reversing the write by writing on SaleOrder instead of ExceptionRule
fixes the 2 unexpected locks. It should not result in more queries: the
"to remove" part generates a DELETE on the relation table for the rule
to remove and the "to add" part generates an INSERT for the rule to add,
both will be exactly the same in both cases.
Related to #1642
Replaces #1638