Skip to content

Commit

Permalink
Merge pull request #101 from vishu1993/feature/task-7694
Browse files Browse the repository at this point in the history
Take out the magento configuration buttons on the main screen #7694
  • Loading branch information
prakashpp committed May 8, 2015
2 parents 9735194 + 7ded38f commit f905ae2
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions view/sale_channel_form.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,14 @@
<field name="magento_taxes" colspan="8"/>
</page>
</notebook>
<group id="magento_buttons" col="3" colspan="4">
<button string="Configure Magento Connection" name="configure_magento_connection"/>
<button string="Import Magento Order States" name="import_magento_order_states"/>
<button string="Import Magento Carriers" name="import_magento_carriers"/>
</group>
</page>
</xpath>
<xpath expr="/form[@string='Sale Channel']" position="inside">
<group id="magento_buttons" col="3" colspan="6" states="{'invisible': Not(Eval('source') == 'magento')}">
<button string="Configure Magento Connection" name="configure_magento_connection"/>
<button string="Import Magento Order States" name="import_magento_order_states"/>
<button string="Import Magento Carriers" name="import_magento_carriers"/>
</group>
</xpath>
</data>

0 comments on commit f905ae2

Please sign in to comment.