Diana Rodríguez Martínez has proposed merging lp:~dr.clearcorp/openerp-ccorp-addons/6.1-purchase_order_supplier_domain into lp:openerp-ccorp-addons.
Requested reviews: CLEARCORP drivers (clearcorp-drivers) For more details, see: https://code.launchpad.net/~dr.clearcorp/openerp-ccorp-addons/6.1-purchase_order_supplier_domain/+merge/136793 [ADD] Add supplier filter in purchase order for select only the partners that are suppliers -- https://code.launchpad.net/~dr.clearcorp/openerp-ccorp-addons/6.1-purchase_order_supplier_domain/+merge/136793 Your team CLEARCORP development team is subscribed to branch lp:openerp-ccorp-addons.
=== added directory 'purchase_order_supplier_domain' === added file 'purchase_order_supplier_domain/__init__.py' --- purchase_order_supplier_domain/__init__.py 1970-01-01 00:00:00 +0000 +++ purchase_order_supplier_domain/__init__.py 2012-11-28 21:05:23 +0000 @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Addons modules by CLEARCORP S.A. +# Copyright (C) 2009-TODAY CLEARCORP S.A. (<http://clearcorp.co.cr>). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# 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/>. +# +############################################################################## + === added file 'purchase_order_supplier_domain/__openerp__.py' --- purchase_order_supplier_domain/__openerp__.py 1970-01-01 00:00:00 +0000 +++ purchase_order_supplier_domain/__openerp__.py 2012-11-28 21:05:23 +0000 @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Addons modules by CLEARCORP S.A. +# Copyright (C) 2009-TODAY CLEARCORP S.A. (<http://clearcorp.co.cr>). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# 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/>. +# +############################################################################## + +{ + 'name': 'Purchase Order Supplier Domain', + 'version': '1.0', + 'url': 'http://launchpad.net/openerp-ccorp-addons', + 'author': 'ClearCorp S.A.', + 'website': 'http://clearcorp.co.cr', + 'category': 'Purchase Management', + 'complexity': 'normal', + 'description': """This module modifies the supplier domain in purchase order """, + 'depends': [ + 'purchase', + ], + 'init_xml': [], + 'demo_xml': [], + 'update_xml': ['purchase_order_supplier_domain.xml',], + 'license': 'AGPL-3', + 'installable': True, + 'active': False, +} === added file 'purchase_order_supplier_domain/purchase_order_supplier_domain.xml' --- purchase_order_supplier_domain/purchase_order_supplier_domain.xml 1970-01-01 00:00:00 +0000 +++ purchase_order_supplier_domain/purchase_order_supplier_domain.xml 2012-11-28 21:05:23 +0000 @@ -0,0 +1,19 @@ +<?xml version="1.0"?> +<openerp> + <data> + <record id="purchase_order_form_inherit" model="ir.ui.view"> + <field name="name">purchase.order.form.inherit</field> + <field name="model">purchase.order</field> + <field name="type">form</field> + <field name="inherit_id" ref="purchase.purchase_order_form"/> + <field name="arch" type="xml"> + <data> + <field name="partner_id" position="replace"> + <field name="partner_id" domain="[('supplier','=',True)]" on_change="onchange_partner_id(partner_id)" context="{'search_default_supplier':1,'default_supplier':1,'default_customer':0}" options='{"quick_create": false}'/> + </field> + </data> + </field> + </record> + </data> +</openerp> +
_______________________________________________ Mailing list: https://launchpad.net/~clearcorp Post to : [email protected] Unsubscribe : https://launchpad.net/~clearcorp More help : https://help.launchpad.net/ListHelp

