bzr revid: rde-aead5054311e63cbc86f06eb9bb1057d0037ceb6
This commit is contained in:
parent
68683ca04c
commit
39fd7891b8
|
@ -1,2 +0,0 @@
|
|||
import report
|
||||
import sale
|
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"name" : "Sale Order Line With Categories",
|
||||
"author" : "Tiny",
|
||||
"version" : "1.0",
|
||||
"category" : "Generic Modules/Sales & Purchases",
|
||||
"depends" : ["sale"],
|
||||
"demo_xml" : [],
|
||||
"update_xml" : ["sale_category_view.xml", "sale_category_report.xml"],
|
||||
"active": False,
|
||||
"installable": True
|
||||
}
|
|
@ -1,43 +0,0 @@
|
|||
##############################################################################
|
||||
#
|
||||
# Copyright (c) 2004-2006 TINY SPRL. (http://tiny.be) All Rights Reserved.
|
||||
#
|
||||
#
|
||||
# WARNING: This program as such is intended to be used by professional
|
||||
# programmers who take the whole responsability of assessing all potential
|
||||
# consequences resulting from its eventual inadequacies and bugs
|
||||
# End users who are looking for a ready-to-use solution with commercial
|
||||
# garantees and support are strongly adviced to contract a Free Software
|
||||
# Service Company
|
||||
#
|
||||
# This program is Free Software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# 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 General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
import time
|
||||
import netsvc
|
||||
from osv import fields, osv
|
||||
import ir
|
||||
from mx import DateTime
|
||||
from tools import config
|
||||
|
||||
class sale_order(osv.osv):
|
||||
_name='sale.order'
|
||||
_inherit='sale.order'
|
||||
_columns={
|
||||
'topnotes' : fields.text('Top Notes'),
|
||||
}
|
||||
|
||||
sale_order()
|
|
@ -1,11 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<terp>
|
||||
<data>
|
||||
<report id="sale_category_print"
|
||||
string="Sales Orders By Categories"
|
||||
model="sale.order"
|
||||
name="sale_category.print"
|
||||
rml="sale_category/report/sale_category_report.rml"
|
||||
auto="False"/>
|
||||
</data>
|
||||
</terp>
|
|
@ -1,18 +0,0 @@
|
|||
<?xml version="1.0"?>
|
||||
<terp>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="view_order_withtopnotes_form">
|
||||
<field name="name">sale_category.sale.order_withtopnotes.form.view</field>
|
||||
<field name="type">form</field>
|
||||
<field name="model">sale.order</field>
|
||||
<field name="inherit_id" ref="sale.view_order_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<separator string="Notes" colspan="4" position="replace">
|
||||
<separator string="Top notes" colspan="4"/>
|
||||
<field name="topnotes" colspan="4" nolabel="1"/>
|
||||
<separator string="Bottom notes" colspan="4"/>
|
||||
</separator>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</terp>
|
Loading…
Reference in New Issue