or view
</span>
- <span attrs="{'invisible': [('fix_price_to_invoice','<>',0.0)]}" class="oe_grey">
+ <span attrs="{'invisible': ['|',('fix_price_to_invoice','<>',0.0 ),('partner_id','=',False)]}" class="oe_grey">
No order to invoice, create
- </span>
- <button name="%(action_sales_order)d" string="Sale Orders"
+ <button name="%(action_sales_order)d" string="Sale Orders"
type="action"
class="oe_link"
context="{'default_partner_id': [partner_id], 'search_default_partner_id': [partner_id],'search_default_project_id': [active_id],'default_project_id': [active_id]}"
- />
+ /></span>
</td>
</tr><tr>
<td class="oe_timesheet_grey">
partner = account.partner_id
if (not partner) or not (account.pricelist_id):
raise osv.except_osv(_('Analytic Account incomplete !'),
- _('Please fill in the Partner or Customer and Sale Pricelist fields in the Analytic Account:\n%s.') % (account.name,))
+ _('Contract form incomplete. Please fill in the Customer and Pricelist fields the contract form'))