[('all', 'Invoice the whole sales order'), ('percentage','Percentage'), ('fixed','Fixed price (deposit)'),
('lines', 'Some order lines')],
'What do you want to invoice?', required=True,
- help="""Use Invoice the whole sale order to create the final invoice.
- Use Percentage to invoice a percentage of the total amount.
- Use Fixed Price to invoice a specific amound in advance.
- Use Some Order Lines to invoice a selection of the sales order lines."""),
+ help="""Use Invoice the whole sale order to create the final invoice.\nUse Percentage to invoice a percentage of the total amount.\nUse Fixed Price to invoice a specific amount in advance.\nUse Some Order Lines to invoice a selection of the sales order lines."""),
'qtty': fields.float('Quantity', digits=(16, 2), required=True),
'product_id': fields.many2one('product.product', 'Advance Product',
domain=[('type', '=', 'service')],
- help="""Select a product of type service which is called 'Advance Product'.
- You may have to create it and set it as a default value on this field."""),
+ help="Select a product of type service which is called 'Advance Product'.\nYou may have to create it and set it as a default value on this field."),
'amount': fields.float('Advance Amount', digits_compute= dp.get_precision('Account'),
- help="The amount to be invoiced in advance."),
+ help="The amount to be invoiced in advance. \nTaxes are not taken into account for advance invoices."),
}
def _get_advance_product(self, cr, uid, context=None):