Merge lp:~wantellets/prestashoperpconnect/pricelist_shop_id into lp:~akretion-team/prestashoperpconnect/prestashoperpconnect_pricelist

Proposed by WANTELLET Sylvain
Status: Rejected
Rejected by: Sébastien BEAU - http://www.akretion.com
Proposed branch: lp:~wantellets/prestashoperpconnect/pricelist_shop_id
Merge into: lp:~akretion-team/prestashoperpconnect/prestashoperpconnect_pricelist
Diff against target: 12 lines (+1/-1)
1 file modified
prestashoperpconnect_pricelist/pricelist.py (+1/-1)
To merge this branch: bzr merge lp:~wantellets/prestashoperpconnect/pricelist_shop_id
Reviewer Review Type Date Requested Status
arthru Pending
Review via email: mp+185011@code.launchpad.net

Description of the change

Modif id in prestashop_id to work when old shops are deleted

To post a comment you must log in.
Revision history for this message
Sébastien BEAU - http://www.akretion.com (sebastien.beau) wrote :

The project has moved to Github https://github.com/OCA/connector-prestashop.
Please resubmit your MP on github using following procedure https://github.com/OCA/maintainers-tools/wiki/How-to-move-a-Merge-Proposal-to-GitHub.

I put this MP in rejected in the meanwhile.

Regards

Unmerged revisions

258. By WANTELLET Sylvain

Bad id reference instead of prestashop_id

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'prestashoperpconnect_pricelist/pricelist.py'
2--- prestashoperpconnect_pricelist/pricelist.py 2013-09-09 11:52:38 +0000
3+++ prestashoperpconnect_pricelist/pricelist.py 2013-09-11 10:48:26 +0000
4@@ -309,7 +309,7 @@
5
6 @mapping
7 def id_shop(self, record):
8- return {'id_shop': record.shop_id.id}
9+ return {'id_shop': record.shop_id.prestashop_id}
10
11 @mapping
12 def id_currency(self, record):

Subscribers

People subscribed via source and target branches