[MERGE] sync with trunk

bzr revid: odo@openerp.com-20120905231537-se2zg2uocbjmfww9
This commit is contained in:
Olivier Dony 2012-09-06 01:15:37 +02:00
commit db3336c092
5 changed files with 18 additions and 8 deletions

View File

@ -14,6 +14,7 @@ pads (by default, http://ietherpad.com/).
'website': 'http://openerp.com',
'depends': ['base'],
'data': ['res_company.xml'],
'demo': ['pad_demo.xml'],
'installable': True,
'auto_install': False,
'web': True,

9
addons/pad/pad_demo.xml Normal file
View File

@ -0,0 +1,9 @@
<openerp>
<data noupdate="1">
<record id="base.main_company" model="res.company">
<field name="pad_server">pad.openerp.com</field>
</record>
</data>
</openerp>

View File

@ -7,11 +7,12 @@
<field name="arch" type="xml">
<xpath expr="//group[@name='account_grp']" position="after">
<group string="Pads">
<field name="pad_server" placeholder="e.g. beta.primarypad.org"/>
<field name="pad_server" placeholder="e.g. beta.primarypad.com"/>
<field name="pad_key"/>
</group>
</xpath>
</field>
</record>
</data>
</openerp>

View File

@ -11,7 +11,6 @@
</div>
</t>
<t t-name="FieldPad.unconfigured">
Please configure your etherpad server.<br/>
OpenERP Entreprise customers may safely use pad.openerp.com<br/>
You must configure the etherpad through the menu Setting > Companies > Companies, in the configuration tab of your company.<br/>
</t>
</templates>

View File

@ -269,18 +269,18 @@
groups="base.group_user"
on_change="product_id_change(parent.pricelist_id, product_id, product_uom_qty, product_uom, product_uos_qty, product_uos, name, parent.partner_id, False, True, parent.date_order, False, parent.fiscal_position, False, context)"/>
<field name="name"/>
<field name="type"/>
<field name="type" invisible="1"/>
<field name="product_uom_qty"
context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'shop':parent.shop_id, 'uom':product_uom}"
on_change="product_id_change(parent.pricelist_id, product_id, product_uom_qty, product_uom, product_uos_qty, product_uos, name, parent.partner_id, False, False, parent.date_order, False, parent.fiscal_position, True, context)"/>
<field name="product_uom"
on_change="product_uom_change(parent.pricelist_id, product_id, product_uom_qty, product_uom, product_uos_qty, product_uos, name, parent.partner_id, False, False, parent.date_order, context)"
groups="product.group_uom" options='{"no_open": true}'/>
<field name="product_uos_qty" groups="product.group_uos"/>
<field name="product_uos" string="UoS" groups="product.group_uos"/>
<field name="discount" groups="sale.group_discount_per_so_line"/>
<field name="price_unit"/>
<field name="product_uos_qty" groups="product.group_uos" invisible="1"/>
<field name="product_uos" string="UoS" groups="product.group_uos" invisible="1"/>
<field name="tax_id" widget="many2many_tags" domain="[('parent_id','=',False),('type_tax_use','&lt;&gt;','purchase')]"/>
<field name="price_unit"/>
<field name="discount" groups="sale.group_discount_per_so_line"/>
<field name="price_subtotal"/>
</tree>
</field>