2012-05-16 15:12:46 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<openerp>
|
2012-08-21 11:01:35 +00:00
|
|
|
<data noupdate="1">
|
2012-05-16 15:12:46 +00:00
|
|
|
|
2012-07-16 13:52:09 +00:00
|
|
|
<!-- Mail group for the company's news -->
|
2012-07-02 21:56:04 +00:00
|
|
|
<record id="company_news_feed" model="mail.group">
|
2012-08-21 11:01:35 +00:00
|
|
|
<field name="name">Company's news</field>
|
2012-09-17 10:07:06 +00:00
|
|
|
<field name="public">public</field>
|
2012-07-02 21:56:04 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="action_news" model="ir.actions.act_window">
|
|
|
|
<field name="name">News</field>
|
|
|
|
<field name="res_model">mail.group</field>
|
|
|
|
<field name="res_id" ref="company_news_feed"/>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
</record>
|
|
|
|
|
2012-08-13 13:38:27 +00:00
|
|
|
<!-- Mail group for the company's jobs -->
|
|
|
|
<record id="company_jobs" model="mail.group">
|
2012-08-13 15:26:04 +00:00
|
|
|
<field name="name">Company's jobs</field>
|
2012-09-17 10:07:06 +00:00
|
|
|
<field name="public">public</field>
|
2012-08-13 13:38:27 +00:00
|
|
|
</record>
|
|
|
|
|
|
|
|
<record id="action_jobs" model="ir.actions.act_window">
|
|
|
|
<field name="name">Jobs</field>
|
|
|
|
<field name="res_model">mail.group</field>
|
|
|
|
<field name="res_id" ref="company_jobs"/>
|
|
|
|
<field name="view_mode">form</field>
|
|
|
|
</record>
|
2012-10-24 13:15:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
<record id="paypal_acquirer" model="portal.payment.acquirer">
|
|
|
|
<field name="name">Paypal</field>
|
|
|
|
<field name="form_template"><![CDATA[
|
|
|
|
% if object.company_id.paypal_account:
|
2012-10-25 11:35:02 +00:00
|
|
|
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
|
|
|
|
<input type="hidden" name="cmd" value="_xclick"/>
|
|
|
|
<input type="hidden" name="business" value="${object.company_id.paypal_account}"/>
|
|
|
|
<input type="hidden" name="item_name" value="${object.company_id.name} ${kind.title()} ${reference}"/>
|
|
|
|
<input type="hidden" name="amount" value="${amount}"/>
|
|
|
|
<input type="hidden" name="currency_code" value="${currency.name}"/>
|
|
|
|
<input type="image" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif"/>
|
|
|
|
</form>
|
2012-10-24 13:15:54 +00:00
|
|
|
% endif
|
|
|
|
]]></field>
|
|
|
|
</record>
|
2012-08-13 13:38:27 +00:00
|
|
|
|
2012-05-16 15:12:46 +00:00
|
|
|
</data>
|
|
|
|
</openerp>
|