Display the recompute button only after saving the settings if the order hase changed. Once the recompute is done, the buttons desapears.
Bedore this change it was not possible to recompute the partner names order since the button was only displayed after changing the order value but before saving the changes. When clicked, an error message was displayed since the action will force the reload of the page before saving the values...
* Add index to first and last name in order to allow for quicker searches - fixing an incredibly slow update time with large dbs
[IMP] partner_firstname: Only run install function on update
* Remove yml data file for install and move method to init hook
* Bump version
- add missing authors
- use reduced license header
- move models in models directory
- adapt views
- show firstname, lastname only in edit mode
- use company_type in views instead of is_company
- adapt constraint on contacts
[PORT][9.0] partner_firstname - remove hack to be able to edit user view. Fixed in odoo/odoo#cf63d4d277ef1ba02ff4ebcdae8583332a1775b1
[PORT][9.0] partner_firstname - Format of string in __openerp__.py
[PORT][9.0] Adapt tests to take new constraint raising IntegrityError
partner_firstname: Name is not mandatory if partner is an address
[FIX] Ensure default values are computed for res.users
Add test for shipping address with empty name
partner_firstname: fix user creation
User name field is required what is stoping to create a new user
Fix user form with firstname and lastname asking for a mandatory name
Conflicts:
partner_firstname/__openerp__.py
partner_firstname/tests/__init__.py
Fix flake8 error
After all, this was just a workaround. Remove it.
The real fix was in #171. I leave the tests.
Fix test that was having sentences after return.
PEP8 fix.
Fix wrong naming.
Remove subclassing of exception, since there is only one.
Rename exception according to PEP8.
Reduce tests' redundancy.
Add test for whitespace trimming.
Use unicode for code & tests.
Fix wrong comments.
Split _name_inverse adding _name_clean_inverse.
Conflicts:
partner_firstname/models.py
Remove license header in XML files.
Preserve old view names.
Credits to last translator.
Increase coverage.
Add args to exception to display the correct message in the UI.
Execute _firstname_install when installing, and log it.
Rename methods to follow guidelines.
Better docstrings.
Workaround https://github.com/odoo/odoo/issues/6324.
Fix users not being able to create companies.
This happened because the invert method was not being called when using
the UI, and because lastname & firstname fields were required while
hidden.
Add new tests and fix the resulting bugs.
New tests, some fail.
Add docs to test modules.
Fix recursive onchange misbehavior & tests.
Fix UI problem when lastname was u"".
It should be `False` to avoid `required` errors.
Use new() to create onchange records. Reduce redundancy in tests.
Tests work with `mail` module installed now.
Sometimes, the only way is to just skip them.
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
[FIX] partner_firstname : Remove the value checks in tests. With Odoo v8, the value checks in tests raise a Warning "2015-02-05 08:59:44,867 4590 WARNING 00846-develop-v8-9743ea-all openerp.modules.module: Found deprecated fast_suite or checks attribute in test module openerp.addons.partner_firstname.tests. These have no effect in or after version 8.0."
With Runbot, we cannot have any Warning.