[IMP]:improved title Origin by Source everywhere
bzr revid: ssu@tinyerp.com-20120504123202-an1zb5evaiaazwrf
This commit is contained in:
parent
ffe8d715b0
commit
8ac820486c
|
@ -1310,7 +1310,7 @@ class account_invoice_line(osv.osv):
|
||||||
_description = "Invoice Line"
|
_description = "Invoice Line"
|
||||||
_columns = {
|
_columns = {
|
||||||
'name': fields.char('Description', size=256, required=True),
|
'name': fields.char('Description', size=256, required=True),
|
||||||
'origin': fields.char('Origin', size=256, help="Reference of the document that produced this invoice."),
|
'origin': fields.char('Source', size=256, help="Reference of the document that produced this invoice."),
|
||||||
'invoice_id': fields.many2one('account.invoice', 'Invoice Reference', ondelete='cascade', select=True),
|
'invoice_id': fields.many2one('account.invoice', 'Invoice Reference', ondelete='cascade', select=True),
|
||||||
'uos_id': fields.many2one('product.uom', 'Unit of Measure', ondelete='set null'),
|
'uos_id': fields.many2one('product.uom', 'Unit of Measure', ondelete='set null'),
|
||||||
'product_id': fields.many2one('product.product', 'Product', ondelete='set null'),
|
'product_id': fields.many2one('product.product', 'Product', ondelete='set null'),
|
||||||
|
|
|
@ -191,7 +191,7 @@
|
||||||
<para style="terp_tblheader_General_Centre">Invoice Date</para>
|
<para style="terp_tblheader_General_Centre">Invoice Date</para>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<para style="terp_tblheader_General_Centre">Origin</para>
|
<para style="terp_tblheader_General_Centre">Source</para>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<para style="terp_tblheader_General_Centre">Customer Code</para>
|
<para style="terp_tblheader_General_Centre">Customer Code</para>
|
||||||
|
|
|
@ -228,7 +228,7 @@
|
||||||
<para style="terp_tblheader_General_Centre">Invoice Date</para>
|
<para style="terp_tblheader_General_Centre">Invoice Date</para>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<para style="terp_tblheader_General_Centre">Origin</para>
|
<para style="terp_tblheader_General_Centre">Source</para>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<para style="terp_tblheader_General_Centre">Customer Code</para>
|
<para style="terp_tblheader_General_Centre">Customer Code</para>
|
||||||
|
|
|
@ -232,7 +232,7 @@
|
||||||
<para style="terp_tblheader_General_Centre">Invoice Date</para>
|
<para style="terp_tblheader_General_Centre">Invoice Date</para>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<para style="terp_tblheader_General_Centre">Origin</para>
|
<para style="terp_tblheader_General_Centre">Source</para>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<para style="terp_tblheader_General_Centre">Your Reference</para>
|
<para style="terp_tblheader_General_Centre">Your Reference</para>
|
||||||
|
|
|
@ -257,7 +257,7 @@ class event_registration(osv.osv):
|
||||||
_inherit = ['mail.thread','res.partner']
|
_inherit = ['mail.thread','res.partner']
|
||||||
_columns = {
|
_columns = {
|
||||||
'id': fields.integer('ID'),
|
'id': fields.integer('ID'),
|
||||||
'origin': fields.char('Origin', size=124,readonly=True,help="Name of the sale order which create the registration"),
|
'origin': fields.char('Source', size=124,readonly=True,help="Name of the sale order which create the registration"),
|
||||||
'nb_register': fields.integer('Number of Participants', required=True, readonly=True, states={'draft': [('readonly', False)]}),
|
'nb_register': fields.integer('Number of Participants', required=True, readonly=True, states={'draft': [('readonly', False)]}),
|
||||||
'event_id': fields.many2one('event.event', 'Event', required=True, readonly=True, states={'draft': [('readonly', False)]}),
|
'event_id': fields.many2one('event.event', 'Event', required=True, readonly=True, states={'draft': [('readonly', False)]}),
|
||||||
'partner_id': fields.many2one('res.partner', 'Partner', states={'done': [('readonly', True)]}),
|
'partner_id': fields.many2one('res.partner', 'Partner', states={'done': [('readonly', True)]}),
|
||||||
|
|
|
@ -231,7 +231,7 @@
|
||||||
<group expand="0" string="Group By...">
|
<group expand="0" string="Group By...">
|
||||||
<filter string="Supplier" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
|
<filter string="Supplier" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
|
||||||
<separator orientation="vertical"/>
|
<separator orientation="vertical"/>
|
||||||
<filter string="Origin" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'origin'}"/>
|
<filter string="Source" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'origin'}"/>
|
||||||
<filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
|
<filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
|
||||||
<separator orientation="vertical"/>
|
<separator orientation="vertical"/>
|
||||||
<filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date_order'}"/>
|
<filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date_order'}"/>
|
||||||
|
@ -267,7 +267,7 @@
|
||||||
<group expand="0" string="Group By...">
|
<group expand="0" string="Group By...">
|
||||||
<filter string="Supplier" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
|
<filter string="Supplier" icon="terp-partner" domain="[]" context="{'group_by':'partner_id'}"/>
|
||||||
<separator orientation="vertical"/>
|
<separator orientation="vertical"/>
|
||||||
<filter string="Origin" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'origin'}"/>
|
<filter string="Source" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'origin'}"/>
|
||||||
<filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
|
<filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
|
||||||
<separator orientation="vertical"/>
|
<separator orientation="vertical"/>
|
||||||
<filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date_order'}"/>
|
<filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date_order'}"/>
|
||||||
|
|
|
@ -33,7 +33,7 @@ class purchase_requisition(osv.osv):
|
||||||
_description="Purchase Requisition"
|
_description="Purchase Requisition"
|
||||||
_columns = {
|
_columns = {
|
||||||
'name': fields.char('Requisition Reference', size=32,required=True),
|
'name': fields.char('Requisition Reference', size=32,required=True),
|
||||||
'origin': fields.char('Origin', size=32),
|
'origin': fields.char('Source', size=32),
|
||||||
'date_start': fields.datetime('Requisition Date'),
|
'date_start': fields.datetime('Requisition Date'),
|
||||||
'date_end': fields.datetime('Requisition Deadline'),
|
'date_end': fields.datetime('Requisition Deadline'),
|
||||||
'user_id': fields.many2one('res.users', 'Responsible'),
|
'user_id': fields.many2one('res.users', 'Responsible'),
|
||||||
|
|
|
@ -149,7 +149,7 @@
|
||||||
<group expand="0" string="Group By...">
|
<group expand="0" string="Group By...">
|
||||||
<filter string="Responsible" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
|
<filter string="Responsible" icon="terp-personal" domain="[]" context="{'group_by':'user_id'}"/>
|
||||||
<separator orientation="vertical"/>
|
<separator orientation="vertical"/>
|
||||||
<filter string="Origin" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'origin'}"/>
|
<filter string="Source" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'origin'}"/>
|
||||||
<filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
|
<filter string="Status" icon="terp-stock_effects-object-colorize" domain="[]" context="{'group_by':'state'}"/>
|
||||||
<separator orientation="vertical"/>
|
<separator orientation="vertical"/>
|
||||||
<filter string="Start Date" icon="terp-go-month" domain="[]" context="{'group_by':'date_start'}"/>
|
<filter string="Start Date" icon="terp-go-month" domain="[]" context="{'group_by':'date_start'}"/>
|
||||||
|
|
|
@ -148,7 +148,7 @@
|
||||||
<para style="terp_tblheader_General_Centre">Type</para>
|
<para style="terp_tblheader_General_Centre">Type</para>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<para style="terp_tblheader_General_Centre">Origin</para>
|
<para style="terp_tblheader_General_Centre">Source</para>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</blockTable>
|
</blockTable>
|
||||||
|
|
|
@ -617,7 +617,7 @@ class stock_picking(osv.osv):
|
||||||
|
|
||||||
_columns = {
|
_columns = {
|
||||||
'name': fields.char('Reference', size=64, select=True),
|
'name': fields.char('Reference', size=64, select=True),
|
||||||
'origin': fields.char('Origin', size=64, help="Reference of the document that produced this picking.", select=True),
|
'origin': fields.char('Source', size=64, help="Reference of the document that produced this picking.", select=True),
|
||||||
'backorder_id': fields.many2one('stock.picking', 'Back Order of', help="If this picking was split this field links to the picking that contains the other part that has been processed already.", select=True),
|
'backorder_id': fields.many2one('stock.picking', 'Back Order of', help="If this picking was split this field links to the picking that contains the other part that has been processed already.", select=True),
|
||||||
'type': fields.selection([('out', 'Sending Goods'), ('in', 'Getting Goods'), ('internal', 'Internal')], 'Shipping Type', required=True, select=True, help="Shipping type specify, goods coming in or going out."),
|
'type': fields.selection([('out', 'Sending Goods'), ('in', 'Getting Goods'), ('internal', 'Internal')], 'Shipping Type', required=True, select=True, help="Shipping type specify, goods coming in or going out."),
|
||||||
'note': fields.text('Notes'),
|
'note': fields.text('Notes'),
|
||||||
|
@ -1637,7 +1637,7 @@ class stock_move(osv.osv):
|
||||||
'price_currency_id': fields.many2one('res.currency', 'Currency for average price', help="Technical field used to record the currency chosen by the user during a picking confirmation (when average price costing method is used)"),
|
'price_currency_id': fields.many2one('res.currency', 'Currency for average price', help="Technical field used to record the currency chosen by the user during a picking confirmation (when average price costing method is used)"),
|
||||||
'company_id': fields.many2one('res.company', 'Company', required=True, select=True),
|
'company_id': fields.many2one('res.company', 'Company', required=True, select=True),
|
||||||
'backorder_id': fields.related('picking_id','backorder_id',type='many2one', relation="stock.picking", string="Back Order", select=True),
|
'backorder_id': fields.related('picking_id','backorder_id',type='many2one', relation="stock.picking", string="Back Order", select=True),
|
||||||
'origin': fields.related('picking_id','origin',type='char', size=64, relation="stock.picking", string="Origin", store=True),
|
'origin': fields.related('picking_id','origin',type='char', size=64, relation="stock.picking", string="Source", store=True),
|
||||||
|
|
||||||
# used for colors in tree views:
|
# used for colors in tree views:
|
||||||
'scrapped': fields.related('location_dest_id','scrap_location',type='boolean',relation='stock.location',string='Scrapped', readonly=True),
|
'scrapped': fields.related('location_dest_id','scrap_location',type='boolean',relation='stock.location',string='Scrapped', readonly=True),
|
||||||
|
|
|
@ -1312,7 +1312,7 @@
|
||||||
<filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
|
<filter string="Order Date" icon="terp-go-month" domain="[]" context="{'group_by':'date'}"/>
|
||||||
<filter string="Expected Date" icon="terp-go-month" domain="[]" context="{'group_by':'min_date'}"/>
|
<filter string="Expected Date" icon="terp-go-month" domain="[]" context="{'group_by':'min_date'}"/>
|
||||||
<separator orientation="vertical"/>
|
<separator orientation="vertical"/>
|
||||||
<filter string="Origin" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'origin'}"/>
|
<filter string="Source" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'origin'}"/>
|
||||||
<separator orientation="vertical" />
|
<separator orientation="vertical" />
|
||||||
<filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'stock_journal_id'}"/>
|
<filter string="Journal" icon="terp-folder-orange" domain="[]" context="{'group_by':'stock_journal_id'}"/>
|
||||||
</group>
|
</group>
|
||||||
|
|
Loading…
Reference in New Issue