account_invoice.xml 819 B

12345678910111213141516
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <openerp>
  3. <data>
  4. <record id="view_order_invoice_form" model="ir.ui.view">
  5. <field name="model">account.invoice</field>
  6. <field name="inherit_id" ref="account.invoice_form" />
  7. <field name="arch" type="xml">
  8. <xpath expr="//notebook" position="inside">
  9. <page name="account_invoice_calendar_event" string="Reclamos de cobro">
  10. <field name="calendar_event_ids" context="{'default_partner_ids': message_follower_ids, 'default_name': name, 'default_start_datetime': time.strftime('%Y-%m-%d %H:00:00'), 'default_stop_datetime': time.strftime('%Y-%m-%d %H:00:00')}" />
  11. </page>
  12. </xpath>
  13. </field>
  14. </record>
  15. </data>
  16. </openerp>