Yannick Vaucher
b5cabce286
Filename conventions
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
efb51adf4d
[PORT] partner_firstname to 9.0
- 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
9 years ago
David Beal
50498ce5ef
[FIX] _get_inverse_name in case of space in name
9 years ago
Jairo Llopis
21c63b4261
After all, this was just a workaround. Remove it.
The real fix was in #171 . I leave the tests.
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
3b6ff052d5
Inverse values of name if required at creation.
9 years ago
Jairo Llopis
eae67168f2
Fix #78 . Test it too.
9 years ago
Jairo Llopis
353c84ecd3
Prepare partner_firstname for partner_second_lastname
9 years ago
Adrien Peiffer (ACSONE)
181696ca9e
[IMP][partner_firstname] Update documentation according methods refactoring
9 years ago
Adrien Peiffer (ACSONE)
1a97ad9a57
[REF][partner_firstname] Method refactoring to use algorithms in other model
9 years ago
Jairo Llopis
e04623c793
Fix UI problem when lastname was u"".
It should be `False` to avoid `required` errors.
9 years ago
Jairo Llopis
e923247edc
Fix recursive onchange misbehavior & tests.
9 years ago
Jairo Llopis
6ffca482b2
Add new tests and fix the resulting bugs.
9 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.
9 years ago
Jairo Llopis
79e37f85c3
Better docstrings.
9 years ago
Jairo Llopis
299b4e2f5f
Rename methods to follow guidelines.
9 years ago
Jairo Llopis
4b9ab2dfaa
Execute _firstname_install when installing, and log it.
9 years ago
Jairo Llopis
4b125173f7
Split _name_inverse adding _name_clean_inverse.
Conflicts:
partner_firstname/models.py
9 years ago
Jairo Llopis
3ab7b801e6
Fix wrong comments.
9 years ago
Jairo Llopis
9a72a9efd0
Use unicode for code & tests.
9 years ago
Jairo Llopis
e4decaed79
Rename exception according to PEP8.
9 years ago
Jairo Llopis
1a58c2fa7d
Fix wrong naming.
9 years ago
Jairo Llopis
d9a7291ef0
Better partner_firstname. Merged rebase.
9 years ago