import product_images
Add module descriptions and dependencies

{
    'name': 'Genesis Product Multi-Image',
    'description': 'This module adds multiple product images (22 currently) into a tab in product.template in a tab called Product Images',
    'category': 'Website',
    'version': '1.0',
    'author': 'Luke Branch',
    'depends': ['website', 'website_sale'],
    'data': [
        'views/product_images.xml', 
    ],
    'application': True,
}
product_images.py

from openerp.osv import osv, fields

class theme_genesis(osv.Model):
    _inherit = 'product.template'
    
    _columns = {
        'x_product_image_1': fields.binary('Image #1'),
        'x_product_image_2': fields.binary('Image #2'),
        'x_product_image_3': fields.binary('Image #3'),
        'x_product_image_4': fields.binary('Image #4'),
        'x_product_image_5': fields.binary('Image #5'),
        'x_product_image_6': fields.binary('Image #6'),
        'x_product_image_7': fields.binary('Image #7'),
        'x_product_image_8': fields.binary('Image #8'),
        'x_product_image_9': fields.binary('Image #9'),
        'x_product_image_10': fields.binary('Image #10'),
        'x_product_image_11': fields.binary('Image #11'),
        'x_product_image_12': fields.binary('Image #12'),
        'x_product_image_13': fields.binary('Image #13'),
        'x_product_image_14': fields.binary('Image #14'),
        'x_product_image_15': fields.binary('Image #15'),
        'x_product_image_16': fields.binary('Image #16'),
        'x_product_image_17': fields.binary('Image #17'),
        'x_product_image_18': fields.binary('Image #18'),
        'x_product_image_19': fields.binary('Image #19'),
        'x_product_image_20': fields.binary('Image #20'),
        'x_product_image_21': fields.binary('Image #21'),
        'x_product_image_22': fields.binary('Image #22'),
        
    }
Create product_images.xml with 22 pictures in tab

<?xml version="1.0" encoding="utf-8"?>
<openerp>
    <data>
        <record id="product_product_template_only_form_view" model="ir.ui.view">
            <field name="model">product.template</field>
            <field name="inherit_id" ref="product.product_template_only_form_view"/>
            <field name="arch" type="xml">
                   <xpath expr="//page[@string='Accounting']" position="after">
                   <page string="Product Images">
                    <field name="x_product_image_1" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_2" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_3" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_4" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_5" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_6" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_7" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_8" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_9" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_10" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_11" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_12" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_13" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_14" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_15" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_16" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_17" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_18" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_19" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_20" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_21" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    <field name="x_product_image_22" widget="image" class="oe_avatar oe_left" modifiers="{}"/>
                    </page>
                    </xpath>
            </field>
        </record>
    </data>
</openerp>
Merge pull request #1 from lukebranch/8.0

8.0 Merge with master