~camptocamp/account-invoicing/correct_payment_term_balance_mdh

« back to all changes in this revision

Viewing changes to account_invoice_shipping_address/invoice.py

  • Committer: Andrea Cometa
  • Date: 2013-09-11 14:16:15 UTC
  • mto: This revision was merged to the branch mainline in revision 22.
  • Revision ID: info@andreacometa.it-20130911141615-93grfjelm9crx1de
[fix] pep8 style

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    _inherit = "account.invoice"
28
28
 
29
29
    _columns = {
30
 
        'address_shipping_id':
31
 
            fields.many2one('res.partner', 'Shipping Address', readonly=True,
32
 
                            states={'draft': [('readonly', False)],
33
 
                                    'sent': [('readonly', False)]},
34
 
                            help="Delivery address for current invoice."),
 
30
        'address_shipping_id': fields.many2one(
 
31
            'res.partner',
 
32
            'Shipping Address',
 
33
            readonly=True,
 
34
            states={
 
35
                'draft': [('readonly', False)],
 
36
                'sent': [('readonly', False)]
 
37
            },
 
38
            help="Delivery address for current invoice."),
35
39
    }