← Back to team overview

openerp-expert-production team mailing list archive

Re: [Openerp-expert-accounting] delivery module: add net weight to pickings?

 

On Montag 30 August 2010 18:26:15 Borja López Soilán (Pexego) wrote:

we have added these fields which are necessary to handle (outgoing ) bulk 
shipments.

class stock_picking(osv.osv):
    _inherit = "stock.picking"
    _columns = {
          'date_weighing'  : fields.datetime('Date Weighing',),
          'consignment_note':fields.char    ('Consignement Note Number', 
size=32, help="Number of Consignement Note (AWB,CIM,CMR,CDT,MDT)  
http://www.tis-gdv.de/tis/bedingungen/trpdoku/inhalt.htm#1";),
          'number_weighing': fields.char    ('Number Weighing', size=16),
          'tractor_number' : fields.char    ('License Number Tractor', 
size=16),
          'trailer_number' : fields.char    ('License Number Trailer', 
size=16),
          'tractor_gross'  : fields.float   ('Tractor Gross Weight', 
digits=(5,0)),
          'tractor_net'    : fields.float   ('Tractor Net Weight', 
digits=(5,0)),
          'tractor_tare'   : fields.float   ('Tractor Tare Weight', 
digits=(5,0)),
          'trailer_gross'  : fields.float   ('Trailer Gross 
Weight',digits=(5,0)),
          'trailer_net'    : fields.float   ('Trailer Net Weight', 
digits=(5,0)),
          'trailer_tare'   : fields.float   ('Trailer Tare Weight', 
digits=(5,0)),
          'total_net'      : fields.float   ('Total Net', digits=(5,0)),
          'total_gross'    : fields.float   ('Total Gross', digits=(5,0)),
          'seal'           : fields.char    ('Seals', size=32),
          'sample'         : fields.char    ('Sample Number', size=32),
    }

> Raphaël Valyi wrote:
> > Hello,
> > 
> > 
> > for the Brazilian localization, we need to to get the net weight of
> > expedition pickings and report those weights in the invoices made from
> > those picking (a legal requirement).
> > 
> > Currently, in the delivery module, there is a picking weight field
> > that is computed by adding the weight of the picking moves.
> > However it uses the total weight of the products, not their net weight.
> > 
> > What do you think about adding such a field adding the total net
> > weight directly in the delivery module for v6, would that make sense?
> > 
> > NB: as for the total picking weight, we already had to add a picking
> > package weight (which is different from the product packaging weight
> > eventually as you could group several moves into the same packages)
> > for some projects, may be we could do something here too although this
> > is more exceptional and this can be overriden.
> > 
> > 
> > Thoughts?
> 
> I would add the field (net weight), might be useful.
> 
> You may want to take a look to the report_intrastat module. I haven't
> reviewed it, but the Intrastat requires European countries to register
> the movements of goods between countries, including the net weight, so
> the legal requirement may be similar...

Best Regards

ChriCar Beteiligungs- und Beratungs- GmbH
http://www.chricar.at/ChriCar/index.html
Dr. Ferdinand Gassauer
Official Tiny Partner



Follow ups

References