Merge lp:~unifield-team/unifield-wm/us-77 into lp:unifield-wm

Proposed by jftempo
Status: Merged
Merged at revision: 2421
Proposed branch: lp:~unifield-team/unifield-wm/us-77
Merge into: lp:unifield-wm
Diff against target: 30 lines (+20/-0)
1 file modified
msf_partner/partner.py (+20/-0)
To merge this branch: bzr merge lp:~unifield-team/unifield-wm/us-77
Reviewer Review Type Date Requested Status
UniField Reviewer Team Pending
Review via email: mp+252722@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'msf_partner/partner.py'
2--- msf_partner/partner.py 2015-02-06 11:07:42 +0000
3+++ msf_partner/partner.py 2015-03-12 10:47:53 +0000
4@@ -215,6 +215,26 @@
5 view_load=True,
6 required=True,
7 help="This currency will be used, instead of the default one, for field orders to the current partner"),
8+ 'property_stock_customer': fields.property(
9+ 'stock.location',
10+ type='many2one',
11+ relation='stock.location',
12+ string='Customer Location',
13+ method=True,
14+ view_load=True,
15+ required=True,
16+ help="This stock location will be used, instead of the default one, as the destination location for goods you send to this partner.",
17+ ),
18+ 'property_stock_supplier': fields.property(
19+ 'stock.location',
20+ type='many2one',
21+ relation='stock.location',
22+ string='Supplier Location',
23+ method=True,
24+ view_load=True,
25+ required=True,
26+ help="This stock location will be used, instead of the default one, as the source location for goods you receive from the current partner.",
27+ ),
28 'price_unit': fields.function(_get_price_info, method=True, type='float', string='Unit price', multi='info'),
29 'valide_until_date' : fields.function(_get_price_info, method=True, type='char', string='Valid until date', multi='info'),
30 'price_currency': fields.function(_get_price_info, method=True, type='many2one', relation='res.currency', string='Currency', multi='info'),

Subscribers

People subscribed via source and target branches