~sebastien.beau/e-commerce-addons/e-commerce-addons-invoice-payment-method

« back to all changes in this revision

Viewing changes to base_sale_export_partner/wizard/export_partner.xml

  • Committer: Alexis de Lattre
  • Date: 2012-09-20 17:52:17 UTC
  • mto: (269.1.53 e-commerce-addons)
  • mto: This revision was merged to the branch mainline in revision 273.
  • Revision ID: alexis@via.ecp.fr-20120920175217-c7050n7h3ws31il4
Move the export_product wizard to a dedicated module "base_sale_export_product". The goal of this modification is to have fewer options (so less potential errors) for users that only import from the webshop to OpenERP and never export from OpenERP to the webshop.

Add a module "base_sale_export_partner" that has the same functionnality as the "base_sale_export_product" but for partners instead of products.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<openerp>
 
3
<data>
 
4
 
 
5
 
 
6
<record id="partner_export_wizard_form" model="ir.ui.view">
 
7
    <field name="name">partner.export.wizard.form</field>
 
8
    <field name="model">partner.export.wizard</field>
 
9
    <field name="type">form</field>
 
10
    <field name="arch" type="xml">
 
11
        <form>
 
12
            <label string="Select the shops to export to:" colspan="4"/>
 
13
            <field name="shop" nolabel="1" colspan="4"/>
 
14
            <button icon="gtk-cancel" special="cancel" string="Cancel" colspan="2"/>
 
15
            <button icon="gtk-ok" name="export_partner" string="Export Partner" type="object" colspan="2"/>
 
16
        </form>
 
17
    </field>
 
18
</record>
 
19
 
 
20
<record id="action_partner_export_wizard" model="ir.actions.act_window">
 
21
    <field name="name">Export Partner</field>
 
22
    <field name="res_model">partner.export.wizard</field>
 
23
    <field name="view_type">form</field>
 
24
    <field name="view_mode">form</field>
 
25
    <field name="target">new</field>
 
26
</record>
 
27
 
 
28
<record id="ir_values_partner_export_wizard" model="ir.values">
 
29
    <field name="key2">client_action_multi</field>
 
30
    <field name="model">res.partner</field>
 
31
    <field name="name">Export Partner</field>
 
32
    <field name="value" eval="'ir.actions.act_window,%d'%action_partner_export_wizard"/>
 
33
    <field name="object" eval="True"/>
 
34
</record>
 
35
 
 
36
 
 
37
</data>
 
38
</openerp>