res_config_settings_views.xml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="res_config_settings_view_form" model="ir.ui.view">
  4. <field name="name">res.config.settings.view.form.inherit.snailmail.account</field>
  5. <field name="model">res.config.settings</field>
  6. <field name="priority" eval="100"/>
  7. <field name="inherit_id" ref="account.res_config_settings_view_form"/>
  8. <field name="arch" type="xml">
  9. <xpath expr="//div[@id='send_default']" position="inside">
  10. <div attrs="{'invisible': [('module_snailmail_account', '=', False)]}">
  11. <field name="invoice_is_snailmail"/>
  12. <label for="invoice_is_snailmail"/>
  13. <span class="fa fa-lg fa-building-o" title="Values set here are company-specific."/>
  14. </div>
  15. </xpath>
  16. <div id="snailmail_settings" position="inside">
  17. <div class="mt16" attrs="{'invisible': [('module_snailmail_account', '=', False)]}">
  18. <div>
  19. <field name="snailmail_color"/>
  20. <label for="snailmail_color"/>
  21. <span class="fa fa-lg fa-building-o" title="Values set here are company-specific."/>
  22. </div>
  23. <div>
  24. <field name="snailmail_duplex"/>
  25. <label for="snailmail_duplex"/>
  26. <span class="fa fa-lg fa-building-o" title="Values set here are company-specific."/>
  27. </div>
  28. <div>
  29. <field name="snailmail_cover"/>
  30. <label for="snailmail_cover"/>
  31. <span class="fa fa-lg fa-building-o" title="Values set here are company-specific."/>
  32. </div>
  33. </div>
  34. <widget name="iap_buy_more_credits" service_name="snailmail"/>
  35. </div>
  36. </field>
  37. </record>
  38. </odoo>