Merge lp:~agilebg/openerp-product-attributes/7.0-product-customer-code-extraction-improvements into lp:~akretion-team/openerp-product-attributes/7.0-product-customer-code-extraction

Proposed by Nicola Malcontenti - Agile BG
Status: Merged
Merged at revision: 268
Proposed branch: lp:~agilebg/openerp-product-attributes/7.0-product-customer-code-extraction-improvements
Merge into: lp:~akretion-team/openerp-product-attributes/7.0-product-customer-code-extraction
Diff against target: 34 lines (+4/-4)
2 files modified
product_customer_code/product.py (+2/-2)
product_customer_code/product_customer_code.py (+2/-2)
To merge this branch: bzr merge lp:~agilebg/openerp-product-attributes/7.0-product-customer-code-extraction-improvements
Reviewer Review Type Date Requested Status
Lorenzo Battistini (community) code review Approve
Product Core Editors Pending
Review via email: mp+202899@code.launchpad.net

This proposal supersedes a proposal from 2014-01-21.

Description of the change

Replaced every reference to 'osv' with 'orm'

To post a comment you must log in.
Revision history for this message
Lorenzo Battistini (elbati) wrote : Posted in a previous version of this proposal
review: Needs Resubmitting
Revision history for this message
Lorenzo Battistini (elbati) :
review: Approve (code review)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'product_customer_code/product.py'
2--- product_customer_code/product.py 2013-12-13 12:33:11 +0000
3+++ product_customer_code/product.py 2014-01-23 17:11:50 +0000
4@@ -23,11 +23,11 @@
5 # along with this program. If not, see <http://www.gnu.org/licenses/>.
6 #
7 ##############################################################################
8-from openerp.osv import osv, fields
9+from openerp.osv import orm, fields
10 from openerp.tools.translate import _
11
12
13-class product_product(osv.Model):
14+class product_product(orm.Model):
15 _inherit = "product.product"
16
17 _columns = {
18
19=== modified file 'product_customer_code/product_customer_code.py'
20--- product_customer_code/product_customer_code.py 2013-12-13 12:32:53 +0000
21+++ product_customer_code/product_customer_code.py 2014-01-23 17:11:50 +0000
22@@ -23,11 +23,11 @@
23 # along with this program. If not, see <http://www.gnu.org/licenses/>.
24 #
25 ##############################################################################
26-from openerp.osv import osv, fields
27+from openerp.osv import orm, fields
28 from openerp.tools.translate import _
29
30
31-class product_customer_code(osv.Model):
32+class product_customer_code(orm.Model):
33 _name = "product.customer.code"
34 _description = "Add manies Code of Customer's"
35

Subscribers

People subscribed via source and target branches