Merge lp:~jfb-tempo-consulting/unifield-server/us-3808 into lp:~julie-w/unifield-server/US-3808
Proposed by
jftempo
on 2018-02-02
Status: | Needs review |
---|---|
Proposed branch: | lp:~jfb-tempo-consulting/unifield-server/us-3808 |
Merge into: | lp:~julie-w/unifield-server/US-3808 |
Diff against target: |
63 lines (+11/-20) 1 file modified
bin/addons/msf_partner/partner.py (+11/-20) |
To merge this branch: | bzr merge lp:~jfb-tempo-consulting/unifield-server/us-3808 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julie Nuguet | 2018-02-02 | Pending | |
Review via email:
|
To post a comment you must log in.
jftempo (jfb-tempo-consulting) wrote : | # |
jftempo (jfb-tempo-consulting) wrote : | # |
Last point: the check is done on creation (as requested in the ticket), but also on modification.
It can result in an error msg if a process tries to write something in a duplicated partner (for example Action "Reconciliation: Go to Next Partner" from JI form view).
Julie,
Here is a proposal to change the code: ][0][2]
- test condition after write / creation so we don't have to play with vals['address'
- do not change the context (active_test) as it can be used in the following code.
Do you agree ?