Merge lp:~syleam/openobject-server/trunk-payment-address-type into lp:openobject-server

Proposed by Christophe CHAUVET
Status: Rejected
Rejected by: Fabien (Open ERP)
Proposed branch: lp:~syleam/openobject-server/trunk-payment-address-type
Merge into: lp:openobject-server
Diff against target: 13 lines (+2/-1)
1 file modified
bin/addons/base/res/partner/partner.py (+2/-1)
To merge this branch: bzr merge lp:~syleam/openobject-server/trunk-payment-address-type
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+15332@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Christophe CHAUVET (christophe-chauvet) wrote :

Add payment address type, usefull when send invoice to a customer in multicompany

Regards,

Christophe.

Revision history for this message
Mantavya Gajjar (Open ERP) (mga) wrote :

Hello Christophe Chauvet !

can we use invoice address type for the customer / supplier to send invoice ?

in which case payment address type will be use ?

I think invoice and payment both type are more or less same, is it ?

Regards
mga

Unmerged revisions

1907. By Christophe CHAUVET

[ADD] Add payment address, use on account invoice

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/addons/base/res/partner/partner.py'
2--- bin/addons/base/res/partner/partner.py 2009-11-25 06:18:57 +0000
3+++ bin/addons/base/res/partner/partner.py 2009-11-27 18:35:23 +0000
4@@ -279,7 +279,8 @@
5 _order = 'id'
6 _columns = {
7 'partner_id': fields.many2one('res.partner', 'Partner', ondelete='set null', select=True, help="Keep empty for a private address, not related to partner."),
8- 'type': fields.selection( [ ('default','Default'),('invoice','Invoice'), ('delivery','Delivery'), ('contact','Contact'), ('other','Other') ],'Address Type', help="Used to select automatically the right address according to the context in sales and purchases documents."),
9+ 'type': fields.selection( [ ('default','Default'),('invoice','Invoice'), ('delivery','Delivery'), ('contact','Contact'), ('payment','Payment'), ('other','Other') ],
10+ 'Address Type', help="Used to select automatically the right address according to the context in sales and purchases documents."),
11 'function': fields.many2one('res.partner.function', 'Function'),
12 'title': fields.selection(_contact_title_get, 'Title', size=32),
13 'name': fields.char('Contact Name', size=64),