[REM] purchase wizard view and misc changes
bzr revid: mra@mra-laptop-20100623112415-1y11p2k0j3ylm7o9
This commit is contained in:
@@ -28,9 +28,9 @@ class company(osv.osv):
|
||||
help="This is the leads/security time for each purchase order."),
|
||||
}
|
||||
_defaults = {
|
||||
'po_lead': lambda *a: 1.0,
|
||||
'po_lead': 1.0,
|
||||
}
|
||||
|
||||
company()
|
||||
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
@@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
@@ -15,7 +15,7 @@
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
@@ -27,17 +27,14 @@ class res_partner(osv.osv):
|
||||
_columns = {
|
||||
'property_product_pricelist_purchase': fields.property(
|
||||
'product.pricelist',
|
||||
type='many2one',
|
||||
relation='product.pricelist',
|
||||
type='many2one',
|
||||
relation='product.pricelist',
|
||||
domain=[('type','=','purchase')],
|
||||
string="Purchase Pricelist",
|
||||
string="Purchase Pricelist",
|
||||
method=True,
|
||||
view_load=True,
|
||||
help="This pricelist will be used, instead of the default one, for purchases from the current partner"),
|
||||
}
|
||||
res_partner()
|
||||
|
||||
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
|
||||
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
|
||||
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<!--
|
||||
<wizard id="purchase_order_merge"
|
||||
model="purchase.order"
|
||||
multi="True"
|
||||
keyword="client_action_multi"
|
||||
name="purchase.order.merge"
|
||||
string="Merge purchases"/>
|
||||
-->
|
||||
</data>
|
||||
</openerp>
|
||||
@@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
##############################################################################
|
||||
#
|
||||
#
|
||||
# OpenERP, Open Source Management Solution
|
||||
# Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
|
||||
#
|
||||
@@ -15,7 +15,7 @@
|
||||
# GNU Affero General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
@@ -29,7 +29,7 @@ class stock_move(osv.osv):
|
||||
readonly=True),
|
||||
}
|
||||
_defaults = {
|
||||
'purchase_line_id': lambda *a:False
|
||||
'purchase_line_id': False
|
||||
}
|
||||
stock_move()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user