<form string="Bill Payment" version="7.0">
<group col="6">
<field name="partner_id" required="1" on_change="onchange_partner_id(partner_id, journal_id, amount, currency_id, type, date, context)" string="Supplier" context="{'default_customer': 0, 'search_default_supplier': 1, 'default_supplier': 1, 'invoice_currency': currency_id}"/>
+ <field name="state" invisible="1"/>
+ <field name="company_id" invisible="1"/>
<field name="amount" on_change="onchange_amount(amount, payment_rate, partner_id, journal_id, currency_id, type, date, payment_rate_currency_id, company_id, context)"/>
<field name="journal_id"
domain="[('type','in',['bank', 'cash'])]"
</notebook>
</sheet>
<div class="oe_chatter">
- <field name="message_ids" widget="mail_thread"/>
<field name="message_follower_ids" widget="mail_followers"/>
+ <field name="message_ids" widget="mail_thread"/>
</div>
</form>
</field>
</record>
<record id="action_vendor_payment" model="ir.actions.act_window">
- <field name="name">Supplier Payment</field>
+ <field name="name">Supplier Payments</field>
<field name="res_model">account.voucher</field>
<field name="view_type">form</field>
<field name="domain">[('journal_id.type', 'in', ['bank', 'cash']), ('type','=','payment')]</field>
<p class="oe_view_nocontent_create">
Click to create a new supplier payment.
</p><p>
- OpenERP helps you easily track payments you do and remining
- balance to pay to your supplier.
+ OpenERP helps you easily track payments you make and the remaining balances you need to pay your suppliers.
</p>
</field>
</record>
</notebook>
</sheet>
<div class="oe_chatter" invisible="context.get('line_type', False)">
- <field name="message_ids" widget="mail_thread"/>
<field name="message_follower_ids" widget="mail_followers"/>
+ <field name="message_ids" widget="mail_thread"/>
</div>
</form>
</field>
</record>
<record id="action_vendor_receipt" model="ir.actions.act_window">
- <field name="name">Customer Payment</field>
+ <field name="name">Customer Payments</field>
<field name="res_model">account.voucher</field>
<field name="view_type">form</field>
<field name="domain">[('journal_id.type', 'in', ['bank', 'cash']), ('type','=','receipt')]</field>