Merge lp:~unifield-team/unifield-server/us-1567 into lp:unifield-server
Proposed by
jftempo
Status: | Merged |
---|---|
Merged at revision: | 4083 |
Proposed branch: | lp:~unifield-team/unifield-server/us-1567 |
Merge into: | lp:unifield-server |
Diff against target: |
46 lines (+26/-0) 1 file modified
bin/addons/product_attributes/product_attributes.py (+26/-0) |
To merge this branch: | bzr merge lp:~unifield-team/unifield-server/us-1567 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
UniField Reviewer Team | Pending | ||
Review via email: mp+311282@code.launchpad.net |
This proposal supersedes a proposal from 2016-11-18.
To post a comment you must log in.
(diff not generated by launchpad ...)
Does not work if default_code contains a comma, please retrieve xmlid_code from ir.model.data only in sync context.
In update_ existing_ translations, could you test this to prevent the iteration on all fields ? search( cr, uid, [
('res_id' , '=', 0),
('xml_id' , '=', xmlid),
('type' , '=', 'model'),
('name' , '=like', '%s,%%' % (model,)),
], context=context)
trans_ids = trans_obj.