~openerp-community/openobject-server/pheller_address-localization

  • Committer: Phillip Heller
  • Date: 2010-05-07 21:25:03 UTC
  • mfrom: (2050.1.2 server-with-fixes)
  • Revision ID: pheller@me.com-20100507212503-0xm549bh6x9idsya
[IMP] Added address_format text field to res.country, and formatted_address functional field to res.partner, which renders a res.partner.address by evaling the related res.country address_format.  
[IMP] Added a field for a default format to res.company, and a getter function to populate that field, which can be edited from 'Administration/Users/Company's Structure/Comapnies/<Company Name>, "Configuration", "Default Address Format"'  

The Default is equivalent to what currently ships.  Additionally, a format for US addresses has been added to its res.country definition in base_data.xml.  To use this feature,one would simply use something like [[ o.partner_shipping_id.formatted_address ]] within rml files (e.g., addons/sale/report/order.rml).  This would replace the references to the individual address attributes within the rml file.  I will propose a separate merge for all applicable rml files, when I've fully converted and tested them all.
Filename Latest Rev Last Changed Committer Comment Size
..
OpenERPServerService.py 1556 15 years ago Stephane Wirtel [IMP] Update the copyright to 2009 3.9 KB Diff Download File
setup.py 1556 15 years ago Stephane Wirtel [IMP] Update the copyright to 2009 1.4 KB Diff Download File
start.bat 1072 15 years ago Stephane Wirtel Rename Tiny ERP to OpenERP Rename tinyerp to opene 125 bytes Diff Download File
stop.bat 1072 15 years ago Stephane Wirtel Rename Tiny ERP to OpenERP Rename tinyerp to opene 95 bytes Diff Download File