shipcloud.io integration to odoo (as delivery carrier)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
odoo_shipcloud/views/res_config.xml

53 lines
2.0 KiB

<openerp>
<data>
<record id="view_website_shipcloud_config_setting" model="ir.ui.view">
<field name="name">website.sc.config.settings</field>
<field name="model">website.sc.config.settings</field>
<field name="arch" type="xml">
<form string="shipcloud Settings" class="oe_form_configuration">
<sheet>
<group string="shipcloud Credentials">
<field name="sc_api_key_sandbox" class="oe_inline"/>
<field name="sc_api_key_prod" class="oe_inline"/>
<field name="sc_api_use_prod" class="oe_inline"/>
</group>
</sheet>
<footer>
<button string="Apply" type="object" name="execute" class="oe_highlight"/>
<button string="Cancel" class="oe_link" special="cancel"/>
</footer>
</form>
</field>
</record>
<record id="action_module_website_shipcloud_configuration" model="ir.actions.act_window">
<field name="name">shipcloud Configuration</field>
<field name="res_model">website.sc.config.settings</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<record id="wk_inherit_website_access_sc" model="ir.ui.view">
<field name="name">website.sc.inherited.config.settings</field>
<field name="model">website.config.settings</field>
<field name="inherit_id" ref="odoo_shipping_service_apps.wk_inherit_website_acess"/>
<field name="arch" type="xml">
<xpath expr="//group[@string='Shipping Service']" position="inside">
<label for="module_sc_delivery_carrier" string=""/>
<div name="module_sc_delivery_carrier" string="">
<div class="oe_inline">
<button type="action" name="%(odoo_shipcloud.action_module_website_shipcloud_configuration)d" string="shipcloud Configuration" class="oe_link oe_inline"/>
</div>
</div>
</xpath>
</field>
</record>
<record id="shipcloud_configuration_installer_todo" model="ir.actions.todo">
<field name="action_id" ref="action_module_website_shipcloud_configuration"/>
<field name="sequence">15</field>
<field name="type">automatic</field>
</record>
</data>
</openerp>