11ba4689b1
Some tests (e.g. mail) have expensive and significant DB setup for a number of small and cheap tests. Using a TransactionCase, the DB setup far dominates the tests themselves, by up to 10x (mail unit tests take ~130s on my machine, the tests themselves take ~15s). The SavepointCase introduced here is an hybrid of SingleTransactionCase and TransactionCase: it uses a single transaction for all tests in a class, but each test case is isolated by a rollbacked savepoint. This allows a common DB setup (via setUpClass) while keeping independent tests. TransactionCase should remain the primary test case superclass, but SavepointCase can be a fair optimisation when setup costs far dominate. |
||
---|---|---|
.. | ||
controllers | ||
data | ||
doc | ||
i18n | ||
report | ||
security | ||
static | ||
tests | ||
views | ||
wizard | ||
README.md | ||
__init__.py | ||
__openerp__.py | ||
ir_attachment.py | ||
mail_alias.py | ||
mail_alias_view.xml | ||
mail_followers.py | ||
mail_followers_view.xml | ||
mail_group.py | ||
mail_group_menu.py | ||
mail_group_view.xml | ||
mail_mail.py | ||
mail_mail_view.xml | ||
mail_message.py | ||
mail_message_subtype.py | ||
mail_message_subtype.xml | ||
mail_message_view.xml | ||
mail_thread.py | ||
mail_thread_view.xml | ||
mail_vote.py | ||
res_config.py | ||
res_config_view.xml | ||
res_partner.py | ||
res_partner_view.xml | ||
res_users.py | ||
res_users_view.xml | ||
update.py |
README.md
Odoo Enterprise Social Network
Connect with experts, follow what interests you, share documents and promote best practices with Odoo Enterprise Social Network. Get work done with effective collaboration across departments, geographies, documents and business applications. All of this while decreasing email overload.
Connect with experts
Next time you have a question for the marketing, sales, R&D or any other department, don't send an email blast-post the question to Odoo and get answers from the right persons.
Follow what interests you
Want to get informed about new product features, hot deals, bottlenecks in projects or any other event? Just follow what interests you to get the information you need what you need; no more, no less.
Get Things Done
You can process (not only read) the inbox and easily mark messages for future actions. Start feeling the pleasure of having an empty inbox every day; no more overload of information.
Promote best practices
Cut back on meetings and email chains by working together in groups of interests. Create a group to let people share files, discuss ideas, and vote to promote best practices.
Improve Access to Information and Expertise
Break down information silos. Search across your existing systems to find the answers and expertise you need to complete projects quickly.
Collaborate securely
Set the right security policy; public, private or on invitation only -- according to the information sensitivity.
A Twitter-like Network For Your Company
Make every employee feel more connected and engaged with twitter-like features for your own company. Follow people, share best practices, 'like' top ideas, etc.