Merge lp://qastaging/~camptocamp/partner-contact-management/partner_firstname_vre_firstname_crm into lp://qastaging/~partner-contact-core-editors/partner-contact-management/7.0
Proposed by
Vincent Renaville@camptocamp
Status: | Needs review |
---|---|
Proposed branch: | lp://qastaging/~camptocamp/partner-contact-management/partner_firstname_vre_firstname_crm |
Merge into: | lp://qastaging/~partner-contact-core-editors/partner-contact-management/7.0 |
Diff against target: |
405 lines (+369/-0) 7 files modified
crm_firstname/__init__.py (+21/-0) crm_firstname/__openerp__.py (+42/-0) crm_firstname/crm.py (+196/-0) crm_firstname/crm_view.xml (+20/-0) crm_firstname/data.xml (+12/-0) crm_firstname/i18n/crm_firstname.pot (+39/-0) crm_firstname/i18n/fr.po (+39/-0) |
To merge this branch: | bzr merge lp://qastaging/~camptocamp/partner-contact-management/partner_firstname_vre_firstname_crm |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Lorenzo Battistini (community) | Needs Resubmitting | ||
Sandy Carter (http://www.savoirfairelinux.com) | pep8 | Needs Fixing | |
Yannick Vaucher @ Camptocamp | code review, no test | Approve | |
Alexandre Fayolle - camptocamp | code review, no test | Approve | |
Review via email: mp+213673@code.qastaging.launchpad.net |
Description of the change
This add the functionality :
- When a email is received , it will create the lead + the partner (Firstname and Lastname is discovered based on email address).
- The partner created is set as follower of the lead.
To post a comment you must log in.
Unmerged revisions
- 37. By Vincent Renaville@camptocamp
-
[FIX] Cleaning of unused field
- 36. By Vincent Renaville@camptocamp
-
[FIX] typo
- 35. By Vincent Renaville@camptocamp
-
[FIX] impve code readibility
- 34. By Vincent Renaville@camptocamp
-
[FIX] improve module name and description + remove unused section
- 33. By Vincent Renaville@camptocamp
-
[FIX] add missing context in browse and search, use the same contract_name function as specified in partner_firstname, remove un used variable
- 32. By Vincent Renaville@camptocamp
-
[FIX] author
- 31. By Vincent Renaville@camptocamp
-
[IMP] pep8 + translation
- 30. By Vincent Renaville@camptocamp
-
[ADD] Follower + add email in name in case no contact found
- 29. By Vincent Renaville@camptocamp
-
[FIX] change osv to orm
- 28. By Vincent Renaville@camptocamp
-
[FIX] remove pdb
Hello,
Thanks for this proposal. Here are few things to fix.
In _compute_ name_custom why not using the same way to construct the full name?
http:// bazaar. launchpad. net/~partner- contact- core-editors/ partner- contact- management/ 7.0/view/ head:/partner_ firstname/ partner. py#L43
ir.model.data is defined twice.
128 + obj_data = self.pool. get('ir. model.data' ) get('ir. model.data' )
129 + ## We search category for this contact :
130 + obj_data = self.pool.
131 + ##
By the way you can use list index
self.pool[ 'ir.model. data']
crm.py|111 col 1| F841 local variable 'create_context' is assigned to but never used
ll.133 - 139 missing context in search and browse