Jairo Llopis
1e666a0db8
Tests work with `mail` module installed now.
Sometimes, the only way is to just skip them.
9 years ago
Jairo Llopis
ba74af5c9b
Use new() to create onchange records. Reduce redundancy in tests.
10 years ago
Jairo Llopis
e04623c793
Fix UI problem when lastname was u"".
It should be `False` to avoid `required` errors.
10 years ago
Jairo Llopis
e923247edc
Fix recursive onchange misbehavior & tests.
10 years ago
Jairo Llopis
bf13a1c267
Add docs to test modules.
10 years ago
Jairo Llopis
feab390178
New tests, some fail.
10 years ago
Jairo Llopis
6ffca482b2
Add new tests and fix the resulting bugs.
10 years ago
Jairo Llopis
24948156e3
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.
10 years ago
Jairo Llopis
87171bb663
Workaround https://github.com/odoo/odoo/issues/6324 .
10 years ago
Jairo Llopis
79e37f85c3
Better docstrings.
10 years ago
Jairo Llopis
299b4e2f5f
Rename methods to follow guidelines.
10 years ago
Jairo Llopis
4b9ab2dfaa
Execute _firstname_install when installing, and log it.
10 years ago
Jairo Llopis
2dcb159bdd
Add args to exception to display the correct message in the UI.
10 years ago
Jairo Llopis
ac719b66e8
Increase coverage.
10 years ago
Jairo Llopis
40af0327b0
Credits to last translator.
10 years ago
Jairo Llopis
4d99869a37
Preserve old view names.
10 years ago
Jairo Llopis
f371c6c428
Remove license header in XML files.
10 years ago
Jairo Llopis
4b125173f7
Split _name_inverse adding _name_clean_inverse.
Conflicts:
partner_firstname/models.py
10 years ago
Jairo Llopis
3ab7b801e6
Fix wrong comments.
10 years ago
Jairo Llopis
9a72a9efd0
Use unicode for code & tests.
10 years ago
Jairo Llopis
3c8be01571
Add test for whitespace trimming.
10 years ago
Jairo Llopis
49626e192a
Reduce tests' redundancy.
10 years ago
Jairo Llopis
e4decaed79
Rename exception according to PEP8.
10 years ago
Jairo Llopis
1dbb1e0f87
Remove subclassing of exception, since there is only one.
10 years ago
Jairo Llopis
1a58c2fa7d
Fix wrong naming.
10 years ago
Jairo Llopis
d9a7291ef0
Better partner_firstname. Merged rebase.
10 years ago
Hans Henrik Gabelgaard
09bec1b1b9
Danish translation of partner_firstname
10 years ago
Leonardo Donelli
7e956487df
[ADD] Italian translation
10 years ago
Ronald Portier (Therp BV)
a95939c0b7
[FIX] cannot create user due to required name.
10 years ago
Pedro M. Baeza
06cd872ee2
[FIX] partner_firstname: Better practices in views
10 years ago
Alexandre Fayolle
de1b5b2f16
Add OCA as author of OCA addons
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.
10 years ago
Sylvain Van Hoof
efca594b74
[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.
10 years ago
Sylvain Van Hoof
ab2f5f157d
[FIX] partner_firstname: Change _id by id in the method copy_data to avoid problem with the new API
10 years ago
Antonio Espinosa
4dbe875e88
Spanish translation
10 years ago
Alex Comba
0f65e66c69
Fix pylint errors
10 years ago
Sandy Carter
9db6903f8a
Fix pep8 (line length)
10 years ago
Lorenzo Battistini
c792e1bcbb
[IMP] _set_default_value_on_column avoiding useless queries
10 years ago
Lorenzo Battistini
83539dfd7a
[FIX] partner_firstname - PEP8
10 years ago
Lorenzo Battistini
8dc056bd2a
[FIX] partner_firstname - some PEP8
10 years ago
Lorenzo Battistini
ae4c47d9ed
[FIX] IntegrityError: column "lastname" contains null values
10 years ago
Lorenzo Battistini
74426b41ec
[FIX] PEP8
10 years ago
Lorenzo Battistini
032c07cc9d
[IMP] partner_firstname - logging
10 years ago
Lorenzo Battistini
94979df572
[FIX] IntegrityError: column "lastname" contains null values
when creating or copying users
10 years ago
Lorenzo Battistini
709daa4e43
[ADD] partner_firstname for v8
because it's working as is
10 years ago
Sandy Carter
c4f88dbf7a
Move partner_last name to unported due to failed install
```
ERROR openerp_test openerp.sql_db: bad query: ALTER TABLE "res_partner" ALTER COLUMN "lastname" SET NOT NULL
Traceback (most recent call last):
File "openerp/sql_db.py", line 230, in execute
res = self._obj.execute(query, params)
IntegrityError: column "lastname" contains null values
```
10 years ago
Sandy Carter
5166eda505
Fix imports in partner_firstname
10 years ago
Sandy Carter
43f85b72d9
Fix pep8
10 years ago
Alexis de Lattre
acb266f7da
Make the function of the 'name' field inheritable.
11 years ago
unknown
f186be5056
Adapt user form to look like partner form
* Name field replaced by Firstname and Lastname
11 years ago
Sandy Carter
473ffe06ea
Adapt user form to display first name and last name like partner form
11 years ago