~openerp-community/openobject-addons/trunk-addons-community

« back to all changes in this revision

Viewing changes to product_loan/sale_view.xml

  • Committer: Alexis de Lattre
  • Date: 2014-02-06 16:17:58 UTC
  • Revision ID: alexis@via.ecp.fr-20140206161758-8uwsbpeo1oi6godr
Don't modifiy invoice_state any more : we write 'none' instead of 'loan' (data migration required)
Remove unused views
Move views related to stock to stock_view.xml

Show diffs side-by-side

added added

removed removed

Lines of Context:
162
162
            <field name="view_mode">tree,form,calendar</field>
163
163
        </record>
164
164
 
165
 
        <!-- >>> Menu : All Loaned Product in Company -->
166
 
        <record id="all_compagny_loaned_product_action" model="ir.actions.act_window">
167
 
            <field name="name">Loaned Products in Company</field>
168
 
            <field name="res_model">stock.production.lot</field>
169
 
            <field name="view_type">form</field>
170
 
            <field name="domain">[('loan_manager_id','!=',False),('last_location_id','=','loan_in')]</field>
171
 
            <field name="context">{'loan_search':True}</field>
172
 
            <field name="view_mode">tree,form,calendar</field>
173
 
        </record>
174
 
 
175
 
        <!-- >>> Menu : All Loaned Product in Customers -->
176
 
        <record id="all_customer_loaned_product_action" model="ir.actions.act_window">
177
 
            <field name="name">Loaned Products in Customers</field>
178
 
            <field name="res_model">stock.production.lot</field>
179
 
            <field name="view_type">form</field>
180
 
            <field name="domain">[('loan_manager_id','!=',False),('last_location_id','=','loan_out')]</field>
181
 
            <field name="context">{'loan_search':True}</field>
182
 
            <field name="view_mode">tree,form,calendar</field>
183
 
        </record>
184
 
 
185
 
 
186
165
 
187
166
        <!-- Parent Menu "Product Loans" -->
188
167
        <menuitem id="menu_root_product_loan" name="Product Loans" parent="base.menu_base_partner" sequence="3" />
190
169
        <menuitem icon="STOCK_JUSTIFY_FILL" action="product_loan_action" id="menu_action_product_loan"
191
170
             parent="menu_root_product_loan" sequence="10" />
192
171
 
193
 
        <!-- > Submenu "Loaned Products" -->
194
 
        <menuitem icon="STOCK_JUSTIFY_FILL" action="loaned_product_action" id="menu_loaned_product"
195
 
             parent="menu_root_product_loan" sequence="40" />
196
 
 
197
 
        <!-- >>> SubSubmenu "Products in Company" -->
198
 
        <menuitem icon="STOCK_JUSTIFY_FILL" action="all_compagny_loaned_product_action" 
199
 
            id="menu_all_compagny_loaned_product" parent="menu_loaned_product" />
200
 
 
201
 
        <!-- >>> SubSubmenu "Products in Customers" -->
202
 
        <menuitem icon="STOCK_JUSTIFY_FILL" action="all_customer_loaned_product_action" 
203
 
            id="menu_all_customer_loaned_product" parent="menu_loaned_product" />
204
 
 
205
 
 
206
172
    </data>
207
173
</openerp>