Yannick Vaucher
17d8619e01
Fix user form with firstname and lastname asking for a mandatory name
9 years ago
Yannick Vaucher
205ccfe44c
Add test for shipping address with empty name
9 years ago
Yannick Vaucher
854d6a3ee2
fixup constraint
9 years ago
Sebastien LANGE
49e71758dc
partner_firstname: Name is not mandatory if partner is an address
9 years ago
Yannick Vaucher
05015ef5ff
[PORT][9.0] Adapt tests to take new constraint raising IntegrityError
9 years ago
Yannick Vaucher
fb7d31d6dc
[PORT][9.0] partner_firstname - remove hack to be able to edit user view. Fixed in odoo/odoo#cf63d4d277ef1ba02ff4ebcdae8583332a1775b1
9 years ago
Jairo Llopis
df754ec2a1
PEP8 fix.
9 years ago
Jairo Llopis
24f15fa8c2
Fix test that was having sentences after return.
9 years ago
Jairo Llopis
2d8bf9b5b3
Fix flake8 error
9 years ago
Jairo Llopis
e7fe07072f
Fix bug #154 .
Conflicts:
partner_firstname/__openerp__.py
partner_firstname/tests/__init__.py
9 years ago
Jairo Llopis
6b194f3181
Allow creation of partners from *Create and Edit*.
This fixes #78 and adds new tests for it.
9 years ago
Jairo Llopis
eae67168f2
Fix #78 . Test it too.
9 years ago
Jairo Llopis
353c84ecd3
Prepare partner_firstname for partner_second_lastname
10 years ago
Jairo Llopis
1e666a0db8
Tests work with `mail` module installed now.
Sometimes, the only way is to just skip them.
10 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
ac719b66e8
Increase coverage.
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
d9a7291ef0
Better partner_firstname. Merged rebase.
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
Alex Comba
0f65e66c69
Fix pylint errors
10 years ago
Lorenzo Battistini
83539dfd7a
[FIX] partner_firstname - PEP8
11 years ago
Lorenzo Battistini
8dc056bd2a
[FIX] partner_firstname - some PEP8
11 years ago
Lorenzo Battistini
709daa4e43
[ADD] partner_firstname for v8
because it's working as is
11 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
```
11 years ago
Sandy Carter
43f85b72d9
Fix pep8
11 years ago
Olivier LAURENT
be00f74797
[FIX] some tests failed if user's language is not english
[CHG] improve some assertions
11 years ago
Jonathan Nemry
d6772ec4a6
Add more controls to avoid to update the name or the lastname fields only with whitespace
11 years ago
Jonathan Nemry
6205e32cf1
[CHG] Some Refactoring Of The Code
11 years ago
Jonathan Nemry
67204566a0
[ADD] Tests For partner-firstname
11 years ago