Merge lp:~openerp-dev/openobject-addons/trunk-review-charfield-size-jar into lp:openobject-addons

Proposed by Jaydeep Barot(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-review-charfield-size-jar
Merge into: lp:openobject-addons
Diff against target: 6355 lines (+771/-756)
206 files modified
account/account.py (+50/-51)
account/account_analytic_line.py (+1/-1)
account/account_bank_statement.py (+4/-4)
account/account_financial_report.py (+5/-5)
account/account_invoice.py (+9/-9)
account/account_move_line.py (+3/-3)
account/company.py (+1/-1)
account/installer.py (+2/-2)
account/partner.py (+1/-1)
account/project/project.py (+2/-2)
account/report/account_entries_report.py (+5/-5)
account/report/account_invoice_report.py (+2/-2)
account/report/account_report.py (+12/-12)
account/res_config.py (+1/-1)
account/wizard/account_automatic_reconcile.py (+1/-1)
account/wizard/account_chart.py (+1/-1)
account/wizard/account_financial_report.py (+2/-2)
account/wizard/account_fiscalyear_close.py (+1/-1)
account/wizard/account_invoice_refund.py (+2/-2)
account/wizard/account_reconcile.py (+1/-1)
account/wizard/account_report_aged_partner_balance.py (+1/-1)
account/wizard/account_report_common.py (+2/-2)
account/wizard/account_report_common_account.py (+1/-1)
account/wizard/account_report_common_partner.py (+1/-1)
account/wizard/account_report_general_ledger.py (+1/-1)
account/wizard/account_report_partner_balance.py (+1/-1)
account/wizard/account_report_partner_ledger.py (+1/-1)
account/wizard/account_report_print_journal.py (+1/-1)
account/wizard/account_tax_chart.py (+1/-1)
account/wizard/account_vat.py (+1/-1)
account/wizard/pos_box.py (+2/-2)
account_analytic_analysis/account_analytic_analysis.py (+1/-1)
account_analytic_plans/account_analytic_plans.py (+3/-3)
account_asset/account_asset.py (+10/-10)
account_asset/report/account_asset_report.py (+2/-2)
account_asset/wizard/account_asset_change_duration.py (+1/-1)
account_bank_statement_extensions/account_bank_statement.py (+3/-3)
account_budget/account_budget.py (+3/-3)
account_check_writing/account.py (+1/-1)
account_check_writing/account_voucher.py (+2/-2)
account_followup/account_followup.py (+1/-1)
account_payment/account_payment.py (+8/-8)
account_sequence/account_sequence.py (+1/-1)
account_sequence/account_sequence_installer.py (+3/-3)
account_test/account_test.py (+1/-1)
account_voucher/account_voucher.py (+10/-10)
account_voucher/report/account_voucher_sales_receipt.py (+4/-4)
analytic/analytic.py (+4/-4)
anonymization/anonymization.py (+8/-8)
auth_ldap/users_ldap.py (+5/-5)
base_action_rule/base_action_rule.py (+3/-3)
base_action_rule/test_models.py (+2/-2)
base_gengo/ir_translation.py (+2/-2)
base_gengo/wizard/base_gengo_translations.py (+1/-1)
base_import/models.py (+3/-3)
base_import/test_models.py (+7/-7)
base_report_designer/installer.py (+2/-2)
base_setup/base_setup.py (+1/-1)
board/board.py (+1/-1)
crm/base_partner_merge.py (+1/-1)
crm/crm.py (+8/-8)
crm/crm_lead.py (+13/-13)
crm/crm_phonecall.py (+5/-5)
crm/crm_segmentation.py (+6/-6)
crm/report/crm_lead_report.py (+2/-2)
crm/report/crm_phonecall_report.py (+2/-2)
crm/wizard/crm_lead_to_opportunity.py (+2/-2)
crm/wizard/crm_partner_binding.py (+1/-1)
crm/wizard/crm_phonecall_to_phonecall.py (+4/-4)
crm_claim/crm_claim.py (+7/-7)
crm_claim/report/crm_claim_report.py (+4/-4)
crm_helpdesk/crm_helpdesk.py (+3/-3)
crm_helpdesk/report/crm_helpdesk_report.py (+4/-4)
crm_partner_assign/crm_partner_assign.py (+2/-2)
crm_partner_assign/report/crm_lead_report.py (+3/-3)
crm_partner_assign/wizard/crm_forward_to_partner.py (+1/-1)
crm_profiling/crm_profiling.py (+3/-3)
decimal_precision/decimal_precision.py (+1/-1)
delivery/delivery.py (+10/-10)
delivery/stock.py (+1/-1)
document/document.py (+8/-8)
document/report/document_report.py (+1/-1)
email_template/email_template.py (+1/-1)
event/event.py (+8/-8)
event_sale/event_sale.py (+1/-1)
fetchmail/fetchmail.py (+7/-7)
fleet/fleet.py (+13/-13)
gamification/models/badge.py (+1/-0)
gamification/models/challenge.py (+4/-3)
gamification/models/goal.py (+4/-1)
google_drive/google_drive.py (+3/-3)
hr/hr.py (+14/-14)
hr_attendance/hr_attendance.py (+3/-3)
hr_contract/hr_contract.py (+6/-6)
hr_evaluation/hr_evaluation.py (+1/-1)
hr_evaluation/report/hr_evaluation_report.py (+3/-3)
hr_expense/hr_expense.py (+4/-4)
hr_expense/report/hr_expense_report.py (+2/-2)
hr_holidays/report/hr_holidays_report.py (+2/-2)
hr_holidays/wizard/hr_holidays_summary_department.py (+1/-1)
hr_holidays/wizard/hr_holidays_summary_employees.py (+1/-1)
hr_payroll/hr_payroll.py (+18/-18)
hr_recruitment/hr_recruitment.py (+10/-10)
hr_recruitment/report/hr_recruitment_report.py (+1/-1)
hr_timesheet/wizard/hr_timesheet_sign_in_out.py (+3/-3)
hr_timesheet_invoice/hr_timesheet_invoice.py (+2/-2)
hr_timesheet_invoice/report/hr_timesheet_invoice_report.py (+8/-8)
hr_timesheet_invoice/report/report_analytic.py (+3/-3)
hr_timesheet_sheet/hr_timesheet_sheet.py (+3/-3)
hr_timesheet_sheet/report/hr_timesheet_report.py (+1/-1)
hr_timesheet_sheet/report/timesheet_report.py (+4/-4)
hr_timesheet_sheet/res_config.py (+1/-1)
im_livechat/im_livechat.py (+4/-4)
l10n_be/wizard/l10n_be_account_vat_declaration.py (+2/-2)
l10n_be/wizard/l10n_be_partner_vat_listing.py (+3/-3)
l10n_be/wizard/l10n_be_vat_intra.py (+5/-5)
l10n_be_coda/wizard/account_coda_import.py (+1/-1)
l10n_be_hr_payroll/l10n_be_hr_payroll.py (+1/-1)
l10n_be_invoice_bba/invoice.py (+2/-2)
l10n_be_invoice_bba/partner.py (+2/-2)
l10n_br/account.py (+2/-2)
l10n_fr/l10n_fr.py (+5/-5)
l10n_fr_hr_payroll/l10n_fr_hr_payroll.py (+6/-6)
l10n_fr_rib/bank.py (+1/-1)
l10n_in_hr_payroll/l10n_in_hr_payroll.py (+4/-4)
l10n_in_hr_payroll/report/payment_advice_report.py (+6/-6)
l10n_in_hr_payroll/report/payslip_report.py (+4/-4)
l10n_ma/l10n_ma.py (+3/-3)
l10n_multilang/account.py (+12/-12)
l10n_ro/res_partner.py (+1/-1)
lunch/lunch.py (+5/-5)
lunch/report/report_lunch_order.py (+2/-2)
mail/mail_alias.py (+2/-2)
mail/mail_followers.py (+1/-1)
mail/mail_group.py (+2/-2)
mail/mail_mail.py (+1/-1)
mail/mail_message.py (+1/-1)
mail/res_partner.py (+1/-1)
mail/wizard/invite.py (+1/-1)
marketing_campaign/marketing_campaign.py (+12/-12)
marketing_campaign/report/campaign_analysis.py (+2/-2)
mass_mailing/models/mass_mailing.py (+2/-2)
membership/report/report_membership.py (+2/-2)
mrp/mrp.py (+13/-13)
mrp/report/mrp_report.py (+2/-2)
mrp/wizard/mrp_product_produce.py (+1/-1)
mrp/wizard/mrp_workcenter_load.py (+2/-2)
mrp_byproduct/mrp_byproduct.py (+1/-1)
mrp_operations/mrp_operations.py (+4/-3)
mrp_operations/report/mrp_workorder_analysis.py (+1/-1)
mrp_repair/mrp_repair.py (+7/-7)
payment/models/payment_acquirer.py (+4/-3)
payment_ogone/models/ogone.py (+2/-2)
plugin_outlook/plugin_outlook.py (+2/-2)
plugin_thunderbird/plugin_thunderbird.py (+2/-2)
point_of_sale/point_of_sale.py (+10/-10)
point_of_sale/report/pos_order_report.py (+1/-1)
point_of_sale/wizard/pos_payment.py (+1/-1)
point_of_sale/wizard/pos_session_opening.py (+1/-1)
portal/wizard/portal_wizard.py (+1/-1)
procurement/procurement.py (+4/-4)
product/pricelist.py (+7/-7)
product/product.py (+6/-6)
product_manufacturer/product_manufacturer.py (+4/-4)
product_margin/wizard/product_margin.py (+1/-1)
project/project.py (+9/-8)
project/report/project_report.py (+3/-3)
project/wizard/project_task_delegate.py (+3/-3)
project_issue/project_issue.py (+4/-4)
project_issue/report/project_issue_report.py (+1/-1)
project_timesheet/report/task_report.py (+3/-3)
purchase/purchase.py (+6/-6)
purchase/report/purchase_report.py (+1/-1)
purchase/res_config.py (+1/-1)
purchase_analytic_plans/purchase_analytic_plans_view.xml (+1/-1)
purchase_requisition/purchase_requisition.py (+4/-4)
report_intrastat/report_intrastat.py (+6/-6)
report_webkit/header.py (+5/-5)
resource/resource.py (+6/-6)
sale/report/sale_report.py (+1/-1)
sale/sale.py (+6/-6)
sale/wizard/sale_make_invoice_advance.py (+1/-1)
sale_journal/sale_journal.py (+2/-2)
sale_stock/report/sale_report.py (+1/-1)
sale_stock/res_config.py (+1/-1)
sale_stock/sale_stock.py (+2/-2)
share/wizard/share_wizard.py (+8/-8)
stock/procurement.py (+1/-1)
stock/product.py (+5/-5)
stock/stock.py (+36/-28)
stock_account/stock.py (+5/-5)
stock_account/wizard/stock_invoice_onshipping.py (+1/-1)
stock_landed_costs/product.py (+1/-1)
stock_landed_costs/stock_landed_costs.py (+5/-5)
stock_picking_wave/stock_picking_wave.py (+1/-1)
subscription/subscription.py (+3/-3)
survey/survey.py (+6/-6)
survey/wizard/survey_email_compose_message.py (+1/-1)
warning/warning.py (+6/-6)
web_linkedin/web_linkedin.py (+4/-4)
website/models/website.py (+1/-1)
website_blog/models/website_blog.py (+1/-1)
website_event_track/models/event.py (+1/-1)
website_forum/models/forum.py (+3/-3)
website_forum/models/gamification.py (+1/-1)
website_quote/models/order.py (+2/-2)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-review-charfield-size-jar
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+217873@code.launchpad.net

Description of the change

Hello,

Task: Review Size on char fields

Addons :

 * In lot of char fields, there is a useless size attribute.
 * remove useless size attribute in lot of char fields.
 * add max size on selection field.

Thank You.

To post a comment you must log in.
9401. By Fabien (Open ERP)

[IMP] website images: allow no max_width (default), faster loading if no resize

9402. By Antony Lesuisse (OpenERP)

[MERGE] saas-4 up to 9398 <email address hidden>

9403. By Antony Lesuisse (OpenERP)

[MERGE] saas-4 report_webkit missing dependency on report

9404. By Fabien (Open ERP)

[IMP] Lossless PNG compression. Reduced size by 3 with pngquant

9405. By Antony Lesuisse (OpenERP)

[FIX] website controller, correctly resolve last merge about images
fix fp commit to use debian compatible werkzeug api data instead of set_data

9406. By Antony Lesuisse (OpenERP)

[FIX] website_event missing javascript asset

9407. By Fabien Meghazi (OpenERP)

[FIX] edi, calendar webclient bootstrap

9408. By Géry Debongnie

[MERGE] converts buttons in form views into 'stat buttons'

This branch converts pretty much every buttons in 'stat buttons',
which means buttons that can display any kind of information. Right
now, it is mostly used to display a numerical information (such as a
number, for example 9 Calls). Also, look at the invoices button in
Customers form view for an example of a functional field, displaying
the total amount invoiced.

The stat buttons also supports sub widgets, for example a mini pie chart
or a mini bar chart. Examples of such sub widgets can be found in
marketing/mass mailings form views (not ready yet)

9409. By Fabien (Open ERP)

[IMP] Certification Template

9410. By Raphael Collet (OpenERP)

[FIX] event: move definition of fields track_ids and count_tracks to the right module

9411. By Fabien Meghazi (OpenERP)

[IMP] website: load website.xml templates only in editable mode

9412. By Fabien Meghazi (OpenERP)

[ADD] base_import_module test module, static asset in backend bundle

9413. By jke-openerp

[MERGE] Merge with trunk-cal-V8-jke. - Change field datetime into date or datetime according to that event type is in all day or not...

9414. By Fabien Meghazi (OpenERP)

[REM] preprocess_request from website

The method is still there with only a pass statement
Will completetly remove once chm merges his branch

9415. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9416. By Fabien Meghazi (OpenERP)

[FIX] jQuery.ui - boostrap conflict

9417. By Fabien Meghazi (OpenERP)

[REM] Removed addons.web#html_template usage

9418. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9419. By Xavier (Open ERP)

[IMP] mail: type fixes

* _get_tracked_fields should return a dict even when there's no tracked field
  (return an empty dict)

* in write, only call _get_tracked_fields once, initialize to None instead of
  a list (especially since it should be a dict in the first place)

9420. By Géry Debongnie

Large cleanups in addons

The code I merged in my branch stat buttons was sadly not up to our
standing... This branch improves the situation by removing harmful
try/excpet/pass statements, by using search_count when appropriate, by
removing unused one2many fields and by correcting some bugs

9421. By Antony Lesuisse (OpenERP)

[MERGE] trunk-websit-al-refactor by chm
- allow fiscal position change on sale orders
- public user on website
- simplify website_sale sale.order and shopping cart code
- remove preprocess_request

9422. By Fabien Meghazi (OpenERP)

[REM] QWeb does not self close empty divs anymore

See web Rev#4011

9423. By Christophe Simonis (OpenERP)

[MERGE] forward port of branch saas-4 up to revid 9410 <email address hidden>

9424. By Fabien Meghazi (OpenERP)

[REM] completetly removed website#preprocess_request()

9425. By Quentin (OpenERP) <email address hidden>

[REV] partial revert of revision 9408 <email address hidden> where we wrongly beleive than stock depends on crm_claim... :( That code will probably be back _in the right module_

9426. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9427. By Géry Debongnie

[MERGE] merge trunk-claimcount-fix-ged

Add the claim_count_out field to its correct place (in addon claim_from_delivery). The field was removed because it was incorrectly added to stock.py instead of the addon claim_from_delivery. (note: it was renamed from claim_count to claim_count_out)

9428. By Quentin (OpenERP) <email address hidden>

[MERGE] trunk-wms branch which include a lot of freaking features. Check the diff by yourself :-)

9429. By Mahendra Barad(OpenERP)

[MERGE] [IMP] crm, hr_recruitment, project, project_issue: use the newly-introduced widgets for the kanban state and the priority management.

This branch comes with a web branch holding those new widgets for form and kanban views.

9430. By Launchpad Translations on behalf of openerp

Launchpad automatic translations update.

9431. By Martin Trigaux (OpenERP)

[FIX] product: get_history_price recieves ids instead of a browse record for product template

9432. By Cedric Snauwaert (OpenERP)

[FIX]purchase_requisition: put js file in a bundle

9433. By Quentin (OpenERP) <email address hidden>

[FIX] claim_from_delivery: fixed error in delivery view

9434. By Jitendra Prajapati(OpenERP)

[MERGE] [IMP] mail, report_webkit: view improvements + better name_get for mail and aliases.

9435. By Fabien Meghazi (OpenERP)

[FIX] is_multilang_url by checking against werkzeug's routing map using query string too

9436. By Fabien Meghazi (OpenERP)

[ADD] alternate hreflang links in head for search engines

cf: https://support.google.com/webmasters/answer/189077?hl=en

9437. By Fabien (Open ERP)

[IMP] removing static style

9438. By Fabien (Open ERP)

[IMP] clean sitemap, enumerate pages + fixes

9439. By Fabien (Open ERP)

[IMP] Sitemap

9440. By Fabien (Open ERP)

[IMP] sitemap cleaning: events

9441. By Fabien (Open ERP)

[FIX] better handling of '/'. / is the first menu and not the first menu is /. Allows to move the first menu in another position

9442. By Fabien (Open ERP)

[FIX] css edit menu alignment and fix of / handling

9443. By Martin Trigaux (OpenERP)

Forward-port of latest saas-4, up to revision 9416 (rev-id <email address hidden>)

9444. By Xavier (Open ERP)

[IMP] mail docs

* fill-paragraph
* remove sections referring to removed methods with no obvious replacement

9445. By Martin Trigaux (OpenERP)

[IMP] gamification: improve the name of some m2m relations

9446. By Xavier (Open ERP)

[IMP] mail, base_import: context key disabling history tracking

* added a ``tracking_disable`` context key used by mail to completely disable
  subscriptions setup and events generation during create and write operations
* added import option to optionally set up that context key and speed up
  imports at the cost of not setting up subscriptions and not sending
  create/update events

9447. By Olivier Dony (Odoo)

[FIX] mass_mailing,website*,survey: leftover calls to website.get_public_user()

This method was (partially) removed at rev.9421
rev-id <email address hidden>

9448. By Fabien Meghazi (OpenERP)

[ADD] website.menu editable list in website config

9449. By Cedric Snauwaert (OpenERP)

[FIX]sale_report: change type of field date from date to datetime to match field date on sale_order

9450. By Fabien Meghazi (OpenERP)

[FIX] Do not display language choice if multilang=False

9451. By Jaydeep Barot(OpenERP)

[IMP] resize of selection field and remove size in char field

Unmerged revisions

9451. By Jaydeep Barot(OpenERP)

[IMP] resize of selection field and remove size in char field

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'account/account.py'
2--- account/account.py 2014-04-24 13:45:33 +0000
3+++ account/account.py 2014-05-12 18:39:30 +0000
4@@ -59,7 +59,7 @@
5 _name = "account.payment.term"
6 _description = "Payment Term"
7 _columns = {
8- 'name': fields.char('Payment Term', size=64, translate=True, required=True),
9+ 'name': fields.char('Payment Term', translate=True, required=True),
10 'active': fields.boolean('Active', help="If the active field is set to False, it will allow you to hide the payment term without removing it."),
11 'note': fields.text('Description', translate=True),
12 'line_ids': fields.one2many('account.payment.term.line', 'payment_id', 'Terms'),
13@@ -106,7 +106,7 @@
14 _columns = {
15 'value': fields.selection([('procent', 'Percent'),
16 ('balance', 'Balance'),
17- ('fixed', 'Fixed Amount')], 'Computation',
18+ ('fixed', 'Fixed Amount')], 'Computation', size=7,
19 required=True, help="""Select here the kind of valuation related to this payment term line. Note that you should have your last line with the type 'Balance' to ensure that the whole amount will be treated."""),
20
21 'value_amount': fields.float('Amount To Pay', digits_compute=dp.get_precision('Payment Term'), help="For percent enter a ratio between 0-1."),
22@@ -180,9 +180,9 @@
23 return obj_financial_report.write(cr, uid, [financial_report_ref[field_value].id], {'account_type_ids': [(4, account_type_id)]})
24
25 _columns = {
26- 'name': fields.char('Account Type', size=64, required=True, translate=True),
27+ 'name': fields.char('Account Type', required=True, translate=True),
28 'code': fields.char('Code', size=32, required=True, select=True),
29- 'close_method': fields.selection([('none', 'None'), ('balance', 'Balance'), ('detail', 'Detail'), ('unreconciled', 'Unreconciled')], 'Deferral Method', required=True, help="""Set here the method that will be used to generate the end of year journal entries for all the accounts of this type.
30+ 'close_method': fields.selection([('none', 'None'), ('balance', 'Balance'), ('detail', 'Detail'), ('unreconciled', 'Unreconciled')], 'Deferral Method', size=12, required=True, help="""Set here the method that will be used to generate the end of year journal entries for all the accounts of this type.
31
32 'None' means that nothing will be done.
33 'Balance' will generally be used for cash accounts.
34@@ -193,7 +193,7 @@
35 ('income', _('Profit & Loss (Income account)')),
36 ('expense', _('Profit & Loss (Expense account)')),
37 ('asset', _('Balance Sheet (Asset account)')),
38- ('liability', _('Balance Sheet (Liability account)'))], help="This field is used to generate legal reports: profit and loss, balance sheet.", required=True),
39+ ('liability', _('Balance Sheet (Liability account)'))], size=9, help="This field is used to generate legal reports: profit and loss, balance sheet.", required=True),
40 'note': fields.text('Description'),
41 }
42 _defaults = {
43@@ -444,7 +444,7 @@
44 return True
45
46 _columns = {
47- 'name': fields.char('Name', size=256, required=True, select=True),
48+ 'name': fields.char('Name', required=True, select=True),
49 'currency_id': fields.many2one('res.currency', 'Secondary Currency', help="Forces all moves for this account to have this secondary currency."),
50 'code': fields.char('Code', size=64, required=True, select=1),
51 'type': fields.selection([
52@@ -455,7 +455,7 @@
53 ('liquidity','Liquidity'),
54 ('consolidation', 'Consolidation'),
55 ('closed', 'Closed'),
56- ], 'Internal Type', required=True, help="The 'Internal Type' is used for features available on "\
57+ ], 'Internal Type', size=13, required=True, help="The 'Internal Type' is used for features available on "\
58 "different types of accounts: view can not have journal items, consolidation are accounts that "\
59 "can have children accounts for multi-company consolidations, payable/receivable are for "\
60 "partners accounts (for debit/credit computations), closed for depreciated accounts."),
61@@ -478,7 +478,7 @@
62 help="Value of Loss or Gain due to changes in exchange rate when doing multi-currency transactions."),
63 'reconcile': fields.boolean('Allow Reconciliation', help="Check this box if this account allows reconciliation of journal items."),
64 'exchange_rate': fields.related('currency_id', 'rate', type='float', string='Exchange Rate', digits=(12,6)),
65- 'shortcut': fields.char('Shortcut', size=12),
66+ 'shortcut': fields.char('Shortcut'),
67 'tax_ids': fields.many2many('account.tax', 'account_account_tax_default_rel',
68 'account_id', 'tax_id', 'Default Taxes'),
69 'note': fields.text('Internal Notes'),
70@@ -488,7 +488,7 @@
71
72 'parent_left': fields.integer('Parent Left', select=1),
73 'parent_right': fields.integer('Parent Right', select=1),
74- 'currency_mode': fields.selection([('current', 'At Date'), ('average', 'Average Rate')], 'Outgoing Currencies Rate',
75+ 'currency_mode': fields.selection([('current', 'At Date'), ('average', 'Average Rate')], 'Outgoing Currencies Rate', size=7,
76 help=
77 'This will select how the current currency rate for outgoing transactions is computed. '\
78 'In most countries the legal method is "average" but only a few software systems are able to '\
79@@ -708,9 +708,9 @@
80 _description = "Journal"
81 _columns = {
82 'with_last_closing_balance' : fields.boolean('Opening With Last Closing Balance'),
83- 'name': fields.char('Journal Name', size=64, required=True),
84+ 'name': fields.char('Journal Name', required=True),
85 'code': fields.char('Code', size=5, required=True, help="The code will be displayed on reports."),
86- 'type': fields.selection([('sale', 'Sale'),('sale_refund','Sale Refund'), ('purchase', 'Purchase'), ('purchase_refund','Purchase Refund'), ('cash', 'Cash'), ('bank', 'Bank and Checks'), ('general', 'General'), ('situation', 'Opening/Closing Situation')], 'Type', size=32, required=True,
87+ 'type': fields.selection([('sale', 'Sale'),('sale_refund','Sale Refund'), ('purchase', 'Purchase'), ('purchase_refund','Purchase Refund'), ('cash', 'Cash'), ('bank', 'Bank and Checks'), ('general', 'General'), ('situation', 'Opening/Closing Situation')], 'Type', size=15, required=True,
88 help="Select 'Sale' for customer invoices journals."\
89 " Select 'Purchase' for supplier invoices journals."\
90 " Select 'Cash' or 'Bank' for journals that are used in customer or supplier payments."\
91@@ -852,13 +852,13 @@
92 _name = "account.fiscalyear"
93 _description = "Fiscal Year"
94 _columns = {
95- 'name': fields.char('Fiscal Year', size=64, required=True),
96+ 'name': fields.char('Fiscal Year', required=True),
97 'code': fields.char('Code', size=6, required=True),
98 'company_id': fields.many2one('res.company', 'Company', required=True),
99 'date_start': fields.date('Start Date', required=True),
100 'date_stop': fields.date('End Date', required=True),
101 'period_ids': fields.one2many('account.period', 'fiscalyear_id', 'Periods'),
102- 'state': fields.selection([('draft','Open'), ('done','Closed')], 'Status', readonly=True),
103+ 'state': fields.selection([('draft','Open'), ('done','Closed')], 'Status', size=5, readonly=True),
104 }
105 _defaults = {
106 'state': 'draft',
107@@ -945,14 +945,13 @@
108 _name = "account.period"
109 _description = "Account period"
110 _columns = {
111- 'name': fields.char('Period Name', size=64, required=True),
112+ 'name': fields.char('Period Name', required=True),
113 'code': fields.char('Code', size=12),
114- 'special': fields.boolean('Opening/Closing Period', size=12,
115- help="These periods can overlap."),
116+ 'special': fields.boolean('Opening/Closing Period',help="These periods can overlap."),
117 'date_start': fields.date('Start of Period', required=True, states={'done':[('readonly',True)]}),
118 'date_stop': fields.date('End of Period', required=True, states={'done':[('readonly',True)]}),
119 'fiscalyear_id': fields.many2one('account.fiscalyear', 'Fiscal Year', required=True, states={'done':[('readonly',True)]}, select=True),
120- 'state': fields.selection([('draft','Open'), ('done','Closed')], 'Status', readonly=True,
121+ 'state': fields.selection([('draft','Open'), ('done','Closed')], 'Status', size=5, readonly=True,
122 help='When monthly periods are created. The status is \'Draft\'. At the end of monthly period it is in \'Done\' status.'),
123 'company_id': fields.related('fiscalyear_id', 'company_id', type='many2one', relation='res.company', string='Company', store=True, readonly=True)
124 }
125@@ -1085,12 +1084,12 @@
126 return result
127
128 _columns = {
129- 'name': fields.char('Journal-Period Name', size=64, required=True),
130+ 'name': fields.char('Journal-Period Name', required=True),
131 'journal_id': fields.many2one('account.journal', 'Journal', required=True, ondelete="cascade"),
132 'period_id': fields.many2one('account.period', 'Period', required=True, ondelete="cascade"),
133- 'icon': fields.function(_icon_get, string='Icon', type='char', size=32),
134+ 'icon': fields.function(_icon_get, string='Icon', type='char'),
135 'active': fields.boolean('Active', help="If the active field is set to False, it will allow you to hide the journal period without removing it."),
136- 'state': fields.selection([('draft','Draft'), ('printed','Printed'), ('done','Done')], 'Status', required=True, readonly=True,
137+ 'state': fields.selection([('draft','Draft'), ('printed','Printed'), ('done','Done')], 'Status', size=7, required=True, readonly=True,
138 help='When journal period is created. The status is \'Draft\'. If a report is printed it comes to \'Printed\' status. When all transactions are done, it comes in \'Done\' status.'),
139 'fiscalyear_id': fields.related('period_id', 'fiscalyear_id', string='Fiscal Year', type='many2one', relation='account.fiscalyear'),
140 'company_id': fields.related('journal_id', 'company_id', type='many2one', relation='res.company', string='Company', store=True, readonly=True)
141@@ -1228,11 +1227,11 @@
142 return [line.move_id.id for line in line_obj.browse(cr, uid, ids, context=context)]
143
144 _columns = {
145- 'name': fields.char('Number', size=64, required=True),
146- 'ref': fields.char('Reference', size=64),
147+ 'name': fields.char('Number', required=True),
148+ 'ref': fields.char('Reference'),
149 'period_id': fields.many2one('account.period', 'Period', required=True, states={'posted':[('readonly',True)]}),
150 'journal_id': fields.many2one('account.journal', 'Journal', required=True, states={'posted':[('readonly',True)]}),
151- 'state': fields.selection([('draft','Unposted'), ('posted','Posted')], 'Status', required=True, readonly=True,
152+ 'state': fields.selection([('draft','Unposted'), ('posted','Posted')], 'Status', size=6, required=True, readonly=True,
153 help='All manually created new journal entries are usually in the status \'Unposted\', but you can set the option to skip that status on the related journal. In that case, they will behave as journal entries automatically created by the system on document validation (invoices, bank statements...) and will be created in \'Posted\' status.'),
154 'line_id': fields.one2many('account.move.line', 'move_id', 'Entries', states={'posted':[('readonly',True)]}),
155 'to_check': fields.boolean('To Review', help='Check this box if you are unsure of that journal entry and if you want to note it as \'to be reviewed\' by an accounting expert.'),
156@@ -1622,8 +1621,8 @@
157 _name = "account.move.reconcile"
158 _description = "Account Reconciliation"
159 _columns = {
160- 'name': fields.char('Name', size=64, required=True),
161- 'type': fields.char('Type', size=16, required=True),
162+ 'name': fields.char('Name', required=True),
163+ 'type': fields.char('Type', required=True),
164 'line_id': fields.one2many('account.move.line', 'reconcile_id', 'Entry Lines'),
165 'line_partial_ids': fields.one2many('account.move.line', 'reconcile_partial_id', 'Partial Entry lines'),
166 'create_date': fields.date('Creation date', readonly=True),
167@@ -1780,7 +1779,7 @@
168 _description = 'Tax Code'
169 _rec_name = 'code'
170 _columns = {
171- 'name': fields.char('Tax Case Name', size=64, required=True, translate=True),
172+ 'name': fields.char('Tax Case Name', required=True, translate=True),
173 'code': fields.char('Case Code', size=64),
174 'info': fields.text('Description'),
175 'sum': fields.function(_sum_year, string="Year Sum"),
176@@ -1869,15 +1868,15 @@
177 _name = 'account.tax'
178 _description = 'Tax'
179 _columns = {
180- 'name': fields.char('Tax Name', size=64, required=True, translate=True, help="This name will be displayed on reports"),
181+ 'name': fields.char('Tax Name', required=True, translate=True, help="This name will be displayed on reports"),
182 'sequence': fields.integer('Sequence', required=True, help="The sequence field is used to order the tax lines from the lowest sequences to the higher ones. The order is important if you have a tax with several tax children. In this case, the evaluation order is important."),
183 'amount': fields.float('Amount', required=True, digits_compute=get_precision_tax(), help="For taxes of type percentage, enter % ratio between 0-1."),
184 'active': fields.boolean('Active', help="If the active field is set to False, it will allow you to hide the tax without removing it."),
185- 'type': fields.selection( [('percent','Percentage'), ('fixed','Fixed Amount'), ('none','None'), ('code','Python Code'), ('balance','Balance')], 'Tax Type', required=True,
186+ 'type': fields.selection( [('percent','Percentage'), ('fixed','Fixed Amount'), ('none','None'), ('code','Python Code'), ('balance','Balance')], 'Tax Type', size=7, required=True,
187 help="The computation method for the tax amount."),
188- 'applicable_type': fields.selection( [('true','Always'), ('code','Given by Python Code')], 'Applicability', required=True,
189+ 'applicable_type': fields.selection( [('true','Always'), ('code','Given by Python Code')], 'Applicability', size=4, required=True,
190 help="If not applicable (computed through a Python code), the tax won't appear on the invoice."),
191- 'domain':fields.char('Domain', size=32, help="This field is only used if you develop your own module allowing developers to create specific taxes in a custom domain."),
192+ 'domain':fields.char('Domain', help="This field is only used if you develop your own module allowing developers to create specific taxes in a custom domain."),
193 'account_collected_id':fields.many2one('account.account', 'Invoice Tax Account', help="Set the account that will be set by default on invoice tax lines for invoices. Leave empty to use the expense account."),
194 'account_paid_id':fields.many2one('account.account', 'Refund Tax Account', help="Set the account that will be set by default on invoice tax lines for refunds. Leave empty to use the expense account."),
195 'account_analytic_collected_id':fields.many2one('account.analytic.account', 'Invoice Tax Analytic Account', help="Set the analytic account that will be used by default on the invoice tax lines for invoices. Leave empty if you don't want to use an analytic account on the invoice tax lines by default."),
196@@ -1907,7 +1906,7 @@
197 'company_id': fields.many2one('res.company', 'Company', required=True),
198 'description': fields.char('Tax Code'),
199 'price_include': fields.boolean('Tax Included in Price', help="Check this if the price you use on the product and invoices includes this tax."),
200- 'type_tax_use': fields.selection([('sale','Sale'),('purchase','Purchase'),('all','All')], 'Tax Application', required=True)
201+ 'type_tax_use': fields.selection([('sale','Sale'),('purchase','Purchase'),('all','All')], 'Tax Application', size=8, required=True)
202
203 }
204 _sql_constraints = [
205@@ -2253,7 +2252,7 @@
206 _name = "account.model"
207 _description = "Account Model"
208 _columns = {
209- 'name': fields.char('Model Name', size=64, required=True, help="This is a model for recurring accounting entries"),
210+ 'name': fields.char('Model Name', required=True, help="This is a model for recurring accounting entries"),
211 'journal_id': fields.many2one('account.journal', 'Journal', required=True),
212 'company_id': fields.related('journal_id', 'company_id', type='many2one', relation='res.company', string='Company', store=True, readonly=True),
213 'lines_id': fields.one2many('account.model.line', 'model_id', 'Model Entries'),
214@@ -2360,7 +2359,7 @@
215 _name = "account.model.line"
216 _description = "Account Model Entries"
217 _columns = {
218- 'name': fields.char('Name', size=64, required=True),
219+ 'name': fields.char('Name', required=True),
220 'sequence': fields.integer('Sequence', required=True, help="The sequence field is used to order the resources from lower sequences to higher ones."),
221 'quantity': fields.float('Quantity', digits_compute=dp.get_precision('Account'), help="The optional quantity on entries."),
222 'debit': fields.float('Debit', digits_compute=dp.get_precision('Account')),
223@@ -2371,7 +2370,7 @@
224 'amount_currency': fields.float('Amount Currency', help="The amount expressed in an optional other currency."),
225 'currency_id': fields.many2one('res.currency', 'Currency'),
226 'partner_id': fields.many2one('res.partner', 'Partner'),
227- 'date_maturity': fields.selection([('today','Date of the day'), ('partner','Partner Payment Term')], 'Maturity Date', help="The maturity date of the generated entries for this model. You can choose between the creation date or the creation date of the entries plus the partner payment terms."),
228+ 'date_maturity': fields.selection([('today','Date of the day'), ('partner','Partner Payment Term')], 'Maturity Date', size=7, help="The maturity date of the generated entries for this model. You can choose between the creation date or the creation date of the entries plus the partner payment terms."),
229 }
230 _order = 'sequence'
231 _sql_constraints = [
232@@ -2388,14 +2387,14 @@
233 _name = "account.subscription"
234 _description = "Account Subscription"
235 _columns = {
236- 'name': fields.char('Name', size=64, required=True),
237- 'ref': fields.char('Reference', size=16),
238+ 'name': fields.char('Name', required=True),
239+ 'ref': fields.char('Reference'),
240 'model_id': fields.many2one('account.model', 'Model', required=True),
241 'date_start': fields.date('Start Date', required=True),
242 'period_total': fields.integer('Number of Periods', required=True),
243 'period_nbr': fields.integer('Period', required=True),
244- 'period_type': fields.selection([('day','days'),('month','month'),('year','year')], 'Period Type', required=True),
245- 'state': fields.selection([('draft','Draft'),('running','Running'),('done','Done')], 'Status', required=True, readonly=True),
246+ 'period_type': fields.selection([('day','days'),('month','month'),('year','year')], 'Period Type', size=5, required=True),
247+ 'state': fields.selection([('draft','Draft'),('running','Running'),('done','Done')], 'Status', size=7, required=True, readonly=True),
248 'lines_id': fields.one2many('account.subscription.line', 'subscription_id', 'Subscription Lines')
249 }
250 _defaults = {
251@@ -2493,7 +2492,7 @@
252 _description ='Templates for Accounts'
253
254 _columns = {
255- 'name': fields.char('Name', size=256, required=True, select=True),
256+ 'name': fields.char('Name', required=True, select=True),
257 'currency_id': fields.many2one('res.currency', 'Secondary Currency', help="Forces all moves for this account to have this secondary currency."),
258 'code': fields.char('Code', size=64, required=True, select=1),
259 'type': fields.selection([
260@@ -2504,7 +2503,7 @@
261 ('liquidity','Liquidity'),
262 ('other','Regular'),
263 ('closed','Closed'),
264- ], 'Internal Type', required=True,help="This type is used to differentiate types with "\
265+ ], 'Internal Type', size=13, required=True,help="This type is used to differentiate types with "\
266 "special effects in OpenERP: view can not have entries, consolidation are accounts that "\
267 "can have children accounts for multi-company consolidations, payable/receivable are for "\
268 "partners accounts (for debit/credit computations), closed for depreciated accounts."),
269@@ -2513,7 +2512,7 @@
270 "about the account and its specificities."),
271 'financial_report_ids': fields.many2many('account.financial.report', 'account_template_financial_report', 'account_template_id', 'report_line_id', 'Financial Reports'),
272 'reconcile': fields.boolean('Allow Reconciliation', help="Check this option if you want the user to reconcile entries in this account."),
273- 'shortcut': fields.char('Shortcut', size=12),
274+ 'shortcut': fields.char('Shortcut'),
275 'note': fields.text('Note'),
276 'parent_id': fields.many2one('account.account.template', 'Parent Account Template', ondelete='cascade', domain=[('type','=','view')]),
277 'child_parent_ids':fields.one2many('account.account.template', 'parent_id', 'Children'),
278@@ -2674,7 +2673,7 @@
279 _order = 'code'
280 _rec_name = 'code'
281 _columns = {
282- 'name': fields.char('Tax Case Name', size=64, required=True),
283+ 'name': fields.char('Tax Case Name', required=True),
284 'code': fields.char('Case Code', size=64),
285 'info': fields.text('Description'),
286 'parent_id': fields.many2one('account.tax.code.template', 'Parent Code', select=True),
287@@ -2744,7 +2743,7 @@
288 _description= "Templates for Account Chart"
289
290 _columns={
291- 'name': fields.char('Name', size=64, required=True),
292+ 'name': fields.char('Name', required=True),
293 'parent_id': fields.many2one('account.chart.template', 'Parent Chart Template'),
294 'code_digits': fields.integer('# of Digits', required=True, help="No. of Digits to use for account code"),
295 'visible': fields.boolean('Can be Visible?', help="Set this to False if you don't want this template to be used actively in the wizard that generate Chart of Accounts from templates, this is useful when you want to generate accounts of this template only when loading its child template."),
296@@ -2778,12 +2777,12 @@
297
298 _columns = {
299 'chart_template_id': fields.many2one('account.chart.template', 'Chart Template', required=True),
300- 'name': fields.char('Tax Name', size=64, required=True),
301+ 'name': fields.char('Tax Name', required=True),
302 'sequence': fields.integer('Sequence', required=True, help="The sequence field is used to order the taxes lines from lower sequences to higher ones. The order is important if you have a tax that has several tax children. In this case, the evaluation order is important."),
303 'amount': fields.float('Amount', required=True, digits_compute=get_precision_tax(), help="For Tax Type percent enter % ratio between 0-1."),
304- 'type': fields.selection( [('percent','Percent'), ('fixed','Fixed'), ('none','None'), ('code','Python Code'), ('balance','Balance')], 'Tax Type', required=True),
305- 'applicable_type': fields.selection( [('true','True'), ('code','Python Code')], 'Applicable Type', required=True, help="If not applicable (computed through a Python code), the tax won't appear on the invoice."),
306- 'domain':fields.char('Domain', size=32, help="This field is only used if you develop your own module allowing developers to create specific taxes in a custom domain."),
307+ 'type': fields.selection( [('percent','Percent'), ('fixed','Fixed'), ('none','None'), ('code','Python Code'), ('balance','Balance')], 'Tax Type', size=7, required=True),
308+ 'applicable_type': fields.selection( [('true','True'), ('code','Python Code')], 'Applicable Type', size=4, required=True, help="If not applicable (computed through a Python code), the tax won't appear on the invoice."),
309+ 'domain':fields.char('Domain', help="This field is only used if you develop your own module allowing developers to create specific taxes in a custom domain."),
310 'account_collected_id':fields.many2one('account.account.template', 'Invoice Tax Account'),
311 'account_paid_id':fields.many2one('account.account.template', 'Refund Tax Account'),
312 'parent_id':fields.many2one('account.tax.template', 'Parent Tax Account', select=True),
313@@ -2808,7 +2807,7 @@
314 'ref_tax_sign': fields.float('Refund Tax Code Sign', help="Usually 1 or -1."),
315 'include_base_amount': fields.boolean('Include in Base Amount', help="Set if the amount of tax must be included in the base amount before computing the next taxes."),
316 'description': fields.char('Internal Name'),
317- 'type_tax_use': fields.selection([('sale','Sale'),('purchase','Purchase'),('all','All')], 'Tax Use In', required=True,),
318+ 'type_tax_use': fields.selection([('sale','Sale'),('purchase','Purchase'),('all','All')], 'Tax Use In', size=8, required=True,),
319 'price_include': fields.boolean('Tax Included in Price', help="Check this if the price you use on the product and invoices includes this tax."),
320 }
321
322@@ -2907,7 +2906,7 @@
323 _description = 'Template for Fiscal Position'
324
325 _columns = {
326- 'name': fields.char('Fiscal Position Template', size=64, required=True),
327+ 'name': fields.char('Fiscal Position Template', required=True),
328 'chart_template_id': fields.many2one('account.chart.template', 'Chart Template', required=True),
329 'account_ids': fields.one2many('account.fiscal.position.account.template', 'position_id', 'Account Mapping'),
330 'tax_ids': fields.one2many('account.fiscal.position.tax.template', 'position_id', 'Tax Mapping'),
331@@ -3539,10 +3538,10 @@
332 _name='account.bank.accounts.wizard'
333
334 _columns = {
335- 'acc_name': fields.char('Account Name.', size=64, required=True),
336+ 'acc_name': fields.char('Account Name.', required=True),
337 'bank_account_id': fields.many2one('wizard.multi.charts.accounts', 'Bank Account', required=True, ondelete='cascade'),
338 'currency_id': fields.many2one('res.currency', 'Secondary Currency', help="Forces all moves for this account to have this secondary currency."),
339- 'account_type': fields.selection([('cash','Cash'), ('check','Check'), ('bank','Bank')], 'Account Type', size=32),
340+ 'account_type': fields.selection([('cash','Cash'), ('check','Check'), ('bank','Bank')], 'Account Type', size=5),
341 }
342
343
344
345=== modified file 'account/account_analytic_line.py'
346--- account/account_analytic_line.py 2013-10-27 12:31:04 +0000
347+++ account/account_analytic_line.py 2014-05-12 18:39:30 +0000
348@@ -33,7 +33,7 @@
349 'move_id': fields.many2one('account.move.line', 'Move Line', ondelete='cascade', select=True),
350 'journal_id': fields.many2one('account.analytic.journal', 'Analytic Journal', required=True, ondelete='restrict', select=True),
351 'code': fields.char('Code', size=8),
352- 'ref': fields.char('Ref.', size=64),
353+ 'ref': fields.char('Ref.'),
354 'currency_id': fields.related('move_id', 'currency_id', type='many2one', relation='res.currency', string='Account Currency', store=True, help="The related account currency if not equal to the company one.", readonly=True),
355 'amount_currency': fields.related('move_id', 'amount_currency', type='float', string='Amount Currency', store=True, help="The amount expressed in the related account currency if not equal to the company one.", readonly=True),
356 }
357
358=== modified file 'account/account_bank_statement.py'
359--- account/account_bank_statement.py 2014-02-10 06:46:42 +0000
360+++ account/account_bank_statement.py 2014-05-12 18:39:30 +0000
361@@ -97,7 +97,7 @@
362 _description = "Bank Statement"
363 _inherit = ['mail.thread']
364 _columns = {
365- 'name': fields.char('Reference', size=64, required=True, states={'draft': [('readonly', False)]}, readonly=True, help='if you give the Name other then /, its created Accounting Entries Move will be with same name as statement name. This allows the statement entries to have the same references than the statement itself'), # readonly for account_cash_statement
366+ 'name': fields.char('Reference', required=True, states={'draft': [('readonly', False)]}, readonly=True, help='if you give the Name other then /, its created Accounting Entries Move will be with same name as statement name. This allows the statement entries to have the same references than the statement itself'), # readonly for account_cash_statement
367 'date': fields.date('Date', required=True, states={'confirm': [('readonly', True)]}, select=True),
368 'journal_id': fields.many2one('account.journal', 'Journal', required=True,
369 readonly=True, states={'draft':[('readonly',False)]}),
370@@ -122,7 +122,7 @@
371 'state': fields.selection([('draft', 'New'),
372 ('open','Open'), # used by cash statements
373 ('confirm', 'Closed')],
374- 'Status', required=True, readonly="1",
375+ 'Status', required=True, readonly="1", size=7,
376 help='When new statement is created the status will be \'Draft\'.\n'
377 'And after getting confirmation from the bank it will be in \'Confirmed\' status.'),
378 'currency': fields.function(_currency, string='Currency',
379@@ -558,7 +558,7 @@
380 ('supplier','Supplier'),
381 ('customer','Customer'),
382 ('general','General')
383- ], 'Type', required=True),
384+ ], 'Type', size=8, required=True),
385 'partner_id': fields.many2one('res.partner', 'Partner'),
386 'account_id': fields.many2one('account.account','Account',
387 required=True),
388@@ -569,7 +569,7 @@
389 'move_ids': fields.many2many('account.move',
390 'account_bank_statement_line_move_rel', 'statement_line_id','move_id',
391 'Moves'),
392- 'ref': fields.char('Reference', size=32),
393+ 'ref': fields.char('Reference'),
394 'note': fields.text('Notes'),
395 'sequence': fields.integer('Sequence', select=True, help="Gives the sequence order when displaying a list of bank statement lines."),
396 'company_id': fields.related('statement_id', 'company_id', type='many2one', relation='res.company', string='Company', store=True, readonly=True),
397
398=== modified file 'account/account_financial_report.py'
399--- account/account_financial_report.py 2013-10-27 12:31:04 +0000
400+++ account/account_financial_report.py 2014-05-12 18:39:30 +0000
401@@ -97,7 +97,7 @@
402 return res
403
404 _columns = {
405- 'name': fields.char('Report Name', size=128, required=True, translate=True),
406+ 'name': fields.char('Report Name', required=True, translate=True),
407 'parent_id': fields.many2one('account.financial.report', 'Parent'),
408 'children_ids': fields.one2many('account.financial.report', 'parent_id', 'Account Report'),
409 'sequence': fields.integer('Sequence'),
410@@ -110,16 +110,16 @@
411 ('accounts','Accounts'),
412 ('account_type','Account Type'),
413 ('account_report','Report Value'),
414- ],'Type'),
415+ ],'Type', size=14),
416 'account_ids': fields.many2many('account.account', 'account_account_financial_report', 'report_line_id', 'account_id', 'Accounts'),
417 'account_report_id': fields.many2one('account.financial.report', 'Report Value'),
418 'account_type_ids': fields.many2many('account.account.type', 'account_account_financial_report_type', 'report_id', 'account_type_id', 'Account Types'),
419- 'sign': fields.selection([(-1, 'Reverse balance sign'), (1, 'Preserve balance sign')], 'Sign on Reports', required=True, help='For accounts that are typically more debited than credited and that you would like to print as negative amounts in your reports, you should reverse the sign of the balance; e.g.: Expense account. The same applies for accounts that are typically more credited than debited and that you would like to print as positive amounts in your reports; e.g.: Income account.'),
420+ 'sign': fields.selection([(-1, 'Reverse balance sign'), (1, 'Preserve balance sign')], 'Sign on Reports', size=1, required=True, help='For accounts that are typically more debited than credited and that you would like to print as negative amounts in your reports, you should reverse the sign of the balance; e.g.: Expense account. The same applies for accounts that are typically more credited than debited and that you would like to print as positive amounts in your reports; e.g.: Income account.'),
421 'display_detail': fields.selection([
422 ('no_detail','No detail'),
423 ('detail_flat','Display children flat'),
424 ('detail_with_hierarchy','Display children with hierarchy')
425- ], 'Display details'),
426+ ], 'Display details', size=21),
427 'style_overwrite': fields.selection([
428 (0, 'Automatic formatting'),
429 (1,'Main Title 1 (bold, underlined)'),
430@@ -128,7 +128,7 @@
431 (4,'Normal Text'),
432 (5,'Italic Text (smaller)'),
433 (6,'Smallest Text'),
434- ],'Financial Report Style', help="You can set up here the format you want this record to be displayed. If you leave the automatic formatting, it will be computed based on the financial reports hierarchy (auto-computed field 'level')."),
435+ ],'Financial Report Style', size=1, help="You can set up here the format you want this record to be displayed. If you leave the automatic formatting, it will be computed based on the financial reports hierarchy (auto-computed field 'level')."),
436 }
437
438 _defaults = {
439
440=== modified file 'account/account_invoice.py'
441--- account/account_invoice.py 2014-05-07 17:01:12 +0000
442+++ account/account_invoice.py 2014-05-12 18:39:30 +0000
443@@ -226,8 +226,8 @@
444 },
445 }
446 _columns = {
447- 'name': fields.char('Reference/Description', size=64, select=True, readonly=True, states={'draft':[('readonly',False)]}),
448- 'origin': fields.char('Source Document', size=64, help="Reference of the document that produced this invoice.", readonly=True, states={'draft':[('readonly',False)]}),
449+ 'name': fields.char('Reference/Description', select=True, readonly=True, states={'draft':[('readonly',False)]}),
450+ 'origin': fields.char('Source Document', help="Reference of the document that produced this invoice.", readonly=True, states={'draft':[('readonly',False)]}),
451 'supplier_invoice_number': fields.char('Supplier Invoice Number', size=64, help="The reference of this invoice as provided by the supplier.", readonly=True, states={'draft':[('readonly',False)]}),
452 'type': fields.selection([
453 ('out_invoice','Customer Invoice'),
454@@ -237,10 +237,10 @@
455 ],'Type', readonly=True, select=True, change_default=True, track_visibility='always'),
456
457 'number': fields.related('move_id','name', type='char', readonly=True, size=64, relation='account.move', store=True, string='Number'),
458- 'internal_number': fields.char('Invoice Number', size=32, readonly=True, help="Unique number of the invoice, computed automatically when the invoice is created."),
459- 'reference': fields.char('Invoice Reference', size=64, help="The partner reference of this invoice."),
460+ 'internal_number': fields.char('Invoice Number', readonly=True, help="Unique number of the invoice, computed automatically when the invoice is created."),
461+ 'reference': fields.char('Invoice Reference', help="The partner reference of this invoice."),
462 'reference_type': fields.selection(_get_reference_type, 'Payment Reference',
463- required=True, readonly=True, states={'draft':[('readonly',False)]}),
464+ size=4, required=True, readonly=True, states={'draft':[('readonly',False)]}),
465 'comment': fields.text('Additional Information'),
466
467 'state': fields.selection([
468@@ -250,7 +250,7 @@
469 ('open','Open'),
470 ('paid','Paid'),
471 ('cancel','Cancelled'),
472- ],'Status', select=True, readonly=True, track_visibility='onchange',
473+ ],'Status', select=True, size=9, readonly=True, track_visibility='onchange',
474 help=' * The \'Draft\' status is used when a user is encoding a new and unconfirmed Invoice. \
475 \n* The \'Pro-forma\' when invoice is in Pro-forma status,invoice does not have an invoice number. \
476 \n* The \'Open\' status is used when user create invoice,a invoice number is generated.Its in open status till user does not pay invoice. \
477@@ -317,7 +317,7 @@
478 },
479 help="Remaining amount due."),
480 'payment_ids': fields.function(_compute_lines, relation='account.move.line', type="many2many", string='Payments'),
481- 'move_name': fields.char('Journal Entry', size=64, readonly=True, states={'draft':[('readonly',False)]}),
482+ 'move_name': fields.char('Journal Entry', readonly=True, states={'draft':[('readonly',False)]}),
483 'user_id': fields.many2one('res.users', 'Salesperson', readonly=True, track_visibility='onchange', states={'draft':[('readonly',False)]}),
484 'fiscal_position': fields.many2one('account.fiscal.position', 'Fiscal Position', readonly=True, states={'draft':[('readonly',False)]}),
485 'commercial_partner_id': fields.related('partner_id', 'commercial_partner_id', string='Commercial Entity', type='many2one',
486@@ -1413,7 +1413,7 @@
487 _order = "invoice_id,sequence,id"
488 _columns = {
489 'name': fields.text('Description', required=True),
490- 'origin': fields.char('Source Document', size=256, help="Reference of the document that produced this invoice."),
491+ 'origin': fields.char('Source Document', help="Reference of the document that produced this invoice."),
492 'sequence': fields.integer('Sequence', help="Gives the sequence of this line when displaying the invoice."),
493 'invoice_id': fields.many2one('account.invoice', 'Invoice Reference', ondelete='cascade', select=True),
494 'uos_id': fields.many2one('product.uom', 'Unit of Measure', ondelete='set null', select=True),
495@@ -1658,7 +1658,7 @@
496
497 _columns = {
498 'invoice_id': fields.many2one('account.invoice', 'Invoice Line', ondelete='cascade', select=True),
499- 'name': fields.char('Tax Description', size=64, required=True),
500+ 'name': fields.char('Tax Description', required=True),
501 'account_id': fields.many2one('account.account', 'Tax Account', required=True, domain=[('type','<>','view'),('type','<>','income'), ('type', '<>', 'closed')]),
502 'account_analytic_id': fields.many2one('account.analytic.account', 'Analytic account'),
503 'base': fields.float('Base', digits_compute=dp.get_precision('Account')),
504
505=== modified file 'account/account_move_line.py'
506--- account/account_move_line.py 2014-05-07 17:01:12 +0000
507+++ account/account_move_line.py 2014-05-12 18:39:30 +0000
508@@ -445,7 +445,7 @@
509
510
511 _columns = {
512- 'name': fields.char('Name', size=64, required=True),
513+ 'name': fields.char('Name', required=True),
514 'quantity': fields.float('Quantity', digits=(16,2), help="The optional quantity expressed by this line, eg: number of product sold. The quantity is not a legal requirement but is very useful for some reports."),
515 'product_uom_id': fields.many2one('product.uom', 'Unit of Measure'),
516 'product_id': fields.many2one('product.product', 'Product'),
517@@ -454,7 +454,7 @@
518 'account_id': fields.many2one('account.account', 'Account', required=True, ondelete="cascade", domain=[('type','<>','view'), ('type', '<>', 'closed')], select=2),
519 'move_id': fields.many2one('account.move', 'Journal Entry', ondelete="cascade", help="The move of this entry line.", select=2, required=True),
520 'narration': fields.related('move_id','narration', type='text', relation='account.move', string='Internal Note'),
521- 'ref': fields.related('move_id', 'ref', string='Reference', type='char', size=64, store=True),
522+ 'ref': fields.related('move_id', 'ref', string='Reference', type='char', store=True),
523 'statement_id': fields.many2one('account.bank.statement', 'Statement', help="The bank statement used for bank reconciliation", select=1),
524 'reconcile_id': fields.many2one('account.move.reconcile', 'Reconcile', readonly=True, ondelete='set null', select=2),
525 'reconcile_partial_id': fields.many2one('account.move.reconcile', 'Partial Reconcile', readonly=True, ondelete='set null', select=2),
526@@ -483,7 +483,7 @@
527 'analytic_lines': fields.one2many('account.analytic.line', 'move_id', 'Analytic lines'),
528 'centralisation': fields.selection([('normal','Normal'),('credit','Credit Centralisation'),('debit','Debit Centralisation'),('currency','Currency Adjustment')], 'Centralisation', size=8),
529 'balance': fields.function(_balance, fnct_search=_balance_search, string='Balance'),
530- 'state': fields.selection([('draft','Unbalanced'), ('valid','Balanced')], 'Status', readonly=True),
531+ 'state': fields.selection([('draft','Unbalanced'), ('valid','Balanced')], 'Status', size=5, readonly=True),
532 'tax_code_id': fields.many2one('account.tax.code', 'Tax Account', help="The Account can either be a base tax code or a tax code account."),
533 'tax_amount': fields.float('Tax/Base Amount', digits_compute=dp.get_precision('Account'), select=True, help="If the Tax account is a tax code account, this field will contain the taxed amount.If the tax account is base tax code, "\
534 "this field will contain the basic amount(without tax)."),
535
536=== modified file 'account/company.py'
537--- account/company.py 2013-10-27 12:31:04 +0000
538+++ account/company.py 2014-05-12 18:39:30 +0000
539@@ -28,7 +28,7 @@
540 'tax_calculation_rounding_method': fields.selection([
541 ('round_per_line', 'Round per Line'),
542 ('round_globally', 'Round Globally'),
543- ], 'Tax Calculation Rounding Method',
544+ ], 'Tax Calculation Rounding Method', size=14,
545 help="If you select 'Round per Line' : for each tax, the tax amount will first be computed and rounded for each PO/SO/invoice line and then these rounded amounts will be summed, leading to the total amount for that tax. If you select 'Round Globally': for each tax, the tax amount will be computed for each PO/SO/invoice line, then these amounts will be summed and eventually this total tax amount will be rounded. If you sell with tax included, you should choose 'Round per line' because you certainly want the sum of your tax-included line subtotals to be equal to the total amount with taxes."),
546 'paypal_account': fields.char("Paypal Account", size=128, help="Paypal username (usually email) for receiving online payments."),
547 'overdue_msg': fields.text('Overdue Payments Message', translate=True),
548
549=== modified file 'account/installer.py'
550--- account/installer.py 2014-04-10 10:36:38 +0000
551+++ account/installer.py 2014-05-12 18:39:30 +0000
552@@ -72,13 +72,13 @@
553 _columns = {
554 # Accounting
555 'charts': fields.selection(_get_charts, 'Accounting Package',
556- required=True,
557+ required=True, size=32,
558 help="Installs localized accounting charts to match as closely as "
559 "possible the accounting needs of your company based on your "
560 "country."),
561 'date_start': fields.date('Start Date', required=True),
562 'date_stop': fields.date('End Date', required=True),
563- 'period': fields.selection([('month', 'Monthly'), ('3months', '3 Monthly')], 'Periods', required=True),
564+ 'period': fields.selection([('month', 'Monthly'), ('3months', '3 Monthly')], 'Periods', size=7, required=True),
565 'company_id': fields.many2one('res.company', 'Company', required=True),
566 'has_default_company': fields.boolean('Has Default Company', readonly=True),
567 }
568
569=== modified file 'account/partner.py'
570--- account/partner.py 2014-05-07 18:29:17 +0000
571+++ account/partner.py 2014-05-12 18:39:30 +0000
572@@ -28,7 +28,7 @@
573 _name = 'account.fiscal.position'
574 _description = 'Fiscal Position'
575 _columns = {
576- 'name': fields.char('Fiscal Position', size=64, required=True),
577+ 'name': fields.char('Fiscal Position', required=True),
578 'active': fields.boolean('Active', help="By unchecking the active field, you may hide a fiscal position without deleting it."),
579 'company_id': fields.many2one('res.company', 'Company'),
580 'account_ids': fields.one2many('account.fiscal.position.account', 'position_id', 'Account Mapping'),
581
582=== modified file 'account/project/project.py'
583--- account/project/project.py 2013-10-27 12:31:04 +0000
584+++ account/project/project.py 2014-05-12 18:39:30 +0000
585@@ -25,10 +25,10 @@
586 _name = 'account.analytic.journal'
587 _description = 'Analytic Journal'
588 _columns = {
589- 'name': fields.char('Journal Name', size=64, required=True),
590+ 'name': fields.char('Journal Name', required=True),
591 'code': fields.char('Journal Code', size=8),
592 'active': fields.boolean('Active', help="If the active field is set to False, it will allow you to hide the analytic journal without removing it."),
593- 'type': fields.selection([('sale','Sale'), ('purchase','Purchase'), ('cash','Cash'), ('general','General'), ('situation','Situation')], 'Type', size=32, required=True, help="Gives the type of the analytic journal. When it needs for a document (eg: an invoice) to create analytic entries, OpenERP will look for a matching journal of the same type."),
594+ 'type': fields.selection([('sale','Sale'), ('purchase','Purchase'), ('cash','Cash'), ('general','General'), ('situation','Situation')], 'Type', size=9, required=True, help="Gives the type of the analytic journal. When it needs for a document (eg: an invoice) to create analytic entries, OpenERP will look for a matching journal of the same type."),
595 'line_ids': fields.one2many('account.analytic.line', 'journal_id', 'Lines'),
596 'company_id': fields.many2one('res.company', 'Company', required=True),
597 }
598
599=== modified file 'account/report/account_entries_report.py'
600--- account/report/account_entries_report.py 2014-04-09 10:30:45 +0000
601+++ account/report/account_entries_report.py 2014-05-12 18:39:30 +0000
602@@ -32,7 +32,7 @@
603 'date': fields.date('Effective Date', readonly=True),
604 'date_created': fields.date('Date Created', readonly=True),
605 'date_maturity': fields.date('Date Maturity', readonly=True),
606- 'ref': fields.char('Reference', size=64, readonly=True),
607+ 'ref': fields.char('Reference', readonly=True),
608 'nbr': fields.integer('# of Items', readonly=True),
609 'debit': fields.float('Debit', readonly=True),
610 'credit': fields.float('Credit', readonly=True),
611@@ -44,15 +44,15 @@
612 'amount_currency': fields.float('Amount Currency', digits_compute=dp.get_precision('Account'), readonly=True),
613 'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'),
614 ('05','May'), ('06','June'), ('07','July'), ('08','August'), ('09','September'),
615- ('10','October'), ('11','November'), ('12','December')], 'Month', readonly=True),
616+ ('10','October'), ('11','November'), ('12','December')], 'Month', size=2, readonly=True),
617 'period_id': fields.many2one('account.period', 'Period', readonly=True),
618 'account_id': fields.many2one('account.account', 'Account', readonly=True),
619 'journal_id': fields.many2one('account.journal', 'Journal', readonly=True),
620 'fiscalyear_id': fields.many2one('account.fiscalyear', 'Fiscal Year', readonly=True),
621 'product_id': fields.many2one('product.product', 'Product', readonly=True),
622 'product_uom_id': fields.many2one('product.uom', 'Product Unit of Measure', readonly=True),
623- 'move_state': fields.selection([('draft','Unposted'), ('posted','Posted')], 'Status', readonly=True),
624- 'move_line_state': fields.selection([('draft','Unbalanced'), ('valid','Valid')], 'State of Move Line', readonly=True),
625+ 'move_state': fields.selection([('draft','Unposted'), ('posted','Posted')], 'Status', size=6, readonly=True),
626+ 'move_line_state': fields.selection([('draft','Unbalanced'), ('valid','Valid')], 'State of Move Line', size=5, readonly=True),
627 'reconcile_id': fields.many2one('account.move.reconcile', readonly=True),
628 'partner_id': fields.many2one('res.partner','Partner', readonly=True),
629 'analytic_account_id': fields.many2one('account.analytic.account', 'Analytic Account', readonly=True),
630@@ -66,7 +66,7 @@
631 ('consolidation', 'Consolidation'),
632 ('other', 'Regular'),
633 ('closed', 'Closed'),
634- ], 'Internal Type', readonly=True, help="This type is used to differentiate types with "\
635+ ], 'Internal Type', readonly=True, size=13, help="This type is used to differentiate types with "\
636 "special effects in OpenERP: view can not have entries, consolidation are accounts that "\
637 "can have children accounts for multi-company consolidations, payable/receivable are for "\
638 "partners accounts (for debit/credit computations), closed for depreciated accounts."),
639
640=== modified file 'account/report/account_invoice_report.py'
641--- account/report/account_invoice_report.py 2014-01-29 16:03:48 +0000
642+++ account/report/account_invoice_report.py 2014-05-12 18:39:30 +0000
643@@ -79,7 +79,7 @@
644 ('in_invoice','Supplier Invoice'),
645 ('out_refund','Customer Refund'),
646 ('in_refund','Supplier Refund'),
647- ],'Type', readonly=True),
648+ ],'Type', readonly=True, size=11),
649 'state': fields.selection([
650 ('draft','Draft'),
651 ('proforma','Pro-forma'),
652@@ -87,7 +87,7 @@
653 ('open','Open'),
654 ('paid','Done'),
655 ('cancel','Cancelled')
656- ], 'Invoice Status', readonly=True),
657+ ], 'Invoice Status', size=9, readonly=True),
658 'date_due': fields.date('Due Date', readonly=True),
659 'account_id': fields.many2one('account.account', 'Account',readonly=True),
660 'account_line_id': fields.many2one('account.account', 'Account Line',readonly=True),
661
662=== modified file 'account/report/account_report.py'
663--- account/report/account_report.py 2013-10-27 12:31:04 +0000
664+++ account/report/account_report.py 2014-05-12 18:39:30 +0000
665@@ -39,7 +39,7 @@
666 _auto = False
667 _columns = {
668 'name': fields.char('Week of Year', size=7, readonly=True),
669- 'type': fields.selection(_code_get, 'Account Type', required=True),
670+ 'type': fields.selection(_code_get, 'Account Type', size=32, required=True),
671 'balance':fields.float('Balance', readonly=True),
672 'debit':fields.float('Debit', readonly=True),
673 'credit':fields.float('Credit', readonly=True),
674@@ -73,7 +73,7 @@
675 _description = 'A Temporary table used for Dashboard view'
676
677 _columns = {
678- 'name': fields.char('Range',size=64)
679+ 'name': fields.char('Range')
680 }
681
682
683@@ -112,7 +112,7 @@
684 return res
685
686 _columns = {
687- 'name': fields.char('Month Range', size=7, readonly=True),
688+ 'name': fields.char('Month Range', size=24, readonly=True),
689 'balance': fields.function(_calc_bal, string='Balance', readonly=True),
690 }
691
692@@ -151,14 +151,14 @@
693 _description = "Report of Invoices Created within Last 15 days"
694 _auto = False
695 _columns = {
696- 'name': fields.char('Description', size=64, readonly=True),
697+ 'name': fields.char('Description', readonly=True),
698 'type': fields.selection([
699 ('out_invoice','Customer Invoice'),
700 ('in_invoice','Supplier Invoice'),
701 ('out_refund','Customer Refund'),
702 ('in_refund','Supplier Refund'),
703- ],'Type', readonly=True),
704- 'number': fields.char('Invoice Number', size=32, readonly=True),
705+ ],'Type', readonly=True, size=11),
706+ 'number': fields.char('Invoice Number', readonly=True),
707 'partner_id': fields.many2one('res.partner', 'Partner', readonly=True),
708 'amount_untaxed': fields.float('Untaxed', readonly=True),
709 'amount_total': fields.float('Total', readonly=True),
710@@ -173,8 +173,8 @@
711 ('open','Open'),
712 ('paid','Done'),
713 ('cancel','Cancelled')
714- ],'Status', readonly=True),
715- 'origin': fields.char('Source Document', size=64, readonly=True, help="Reference of the document that generated this invoice report."),
716+ ],'Status', size=9, readonly=True),
717+ 'origin': fields.char('Source Document', readonly=True, help="Reference of the document that generated this invoice report."),
718 'create_date': fields.datetime('Create Date', readonly=True)
719 }
720 _order = 'create_date'
721@@ -203,7 +203,7 @@
722 _description = "Report of the Sales by Account Type"
723 _auto = False
724 _columns = {
725- 'name': fields.char('Year', size=64, required=False, readonly=True),
726+ 'name': fields.char('Year', required=False, readonly=True),
727 'period_id': fields.many2one('account.period', 'Force Period', readonly=True),
728 'product_id': fields.many2one('product.product', 'Product', readonly=True),
729 'quantity': fields.float('Quantity', readonly=True),
730@@ -211,7 +211,7 @@
731 'amount_total': fields.float('Total', readonly=True),
732 'currency_id': fields.many2one('res.currency', 'Currency', readonly=True),
733 'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'), ('05','May'), ('06','June'),
734- ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')], 'Month', readonly=True),
735+ ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')], 'Month', size=2, readonly=True),
736 }
737 _order = 'name desc,amount_total desc'
738
739@@ -244,7 +244,7 @@
740 _description = "Report of the Sales by Account"
741 _auto = False
742 _columns = {
743- 'name': fields.char('Year', size=64, required=False, readonly=True, select=True),
744+ 'name': fields.char('Year', required=False, readonly=True, select=True),
745 'period_id': fields.many2one('account.period', 'Force Period', readonly=True),
746 'product_id': fields.many2one('product.product', 'Product', readonly=True),
747 'quantity': fields.float('Quantity', readonly=True),
748@@ -252,7 +252,7 @@
749 'amount_total': fields.float('Total', readonly=True),
750 'currency_id': fields.many2one('res.currency', 'Currency', readonly=True),
751 'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'), ('05','May'), ('06','June'),
752- ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')], 'Month', readonly=True),
753+ ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')], 'Month', size=2, readonly=True),
754 }
755 _order = 'name desc'
756
757
758=== modified file 'account/res_config.py'
759--- account/res_config.py 2014-04-23 11:40:53 +0000
760+++ account/res_config.py 2014-05-12 18:39:30 +0000
761@@ -64,7 +64,7 @@
762 'has_fiscal_year': fields.boolean('Company has a fiscal year'),
763 'date_start': fields.date('Start date', required=True),
764 'date_stop': fields.date('End date', required=True),
765- 'period': fields.selection([('month', 'Monthly'), ('3months','3 Monthly')], 'Periods', required=True),
766+ 'period': fields.selection([('month', 'Monthly'), ('3months','3 Monthly')], 'Periods', size=7, required=True),
767
768 'sale_journal_id': fields.many2one('account.journal', 'Sale journal'),
769 'sale_sequence_prefix': fields.related('sale_journal_id', 'sequence_id', 'prefix', type='char', string='Invoice sequence'),
770
771=== modified file 'account/wizard/account_automatic_reconcile.py'
772--- account/wizard/account_automatic_reconcile.py 2013-10-27 12:31:04 +0000
773+++ account/wizard/account_automatic_reconcile.py 2014-05-12 18:39:30 +0000
774@@ -34,7 +34,7 @@
775 'journal_id': fields.many2one('account.journal', 'Journal'),
776 'period_id': fields.many2one('account.period', 'Period'),
777 'max_amount': fields.float('Maximum write-off amount'),
778- 'power': fields.selection([(p, str(p)) for p in range(2, 5)], 'Power', required=True, help='Number of partial amounts that can be combined to find a balance point can be chosen as the power of the automatic reconciliation'),
779+ 'power': fields.selection([(p, str(p)) for p in range(2, 5)], 'Power', size=1, required=True, help='Number of partial amounts that can be combined to find a balance point can be chosen as the power of the automatic reconciliation'),
780 'reconciled': fields.integer('Reconciled transactions', readonly=True),
781 'unreconciled': fields.integer('Not reconciled transactions', readonly=True),
782 'allow_write_off': fields.boolean('Allow write off')
783
784=== modified file 'account/wizard/account_chart.py'
785--- account/wizard/account_chart.py 2013-10-27 12:31:04 +0000
786+++ account/wizard/account_chart.py 2014-05-12 18:39:30 +0000
787@@ -35,7 +35,7 @@
788 'period_to': fields.many2one('account.period', 'End period'),
789 'target_move': fields.selection([('posted', 'All Posted Entries'),
790 ('all', 'All Entries'),
791- ], 'Target Moves', required=True),
792+ ], 'Target Moves', size=6, required=True),
793 }
794
795 def _get_fiscalyear(self, cr, uid, context=None):
796
797=== modified file 'account/wizard/account_financial_report.py'
798--- account/wizard/account_financial_report.py 2014-05-02 13:03:10 +0000
799+++ account/wizard/account_financial_report.py 2014-05-12 18:39:30 +0000
800@@ -30,9 +30,9 @@
801 _columns = {
802 'enable_filter': fields.boolean('Enable Comparison'),
803 'account_report_id': fields.many2one('account.financial.report', 'Account Reports', required=True),
804- 'label_filter': fields.char('Column Label', size=32, help="This label will be displayed on report to show the balance computed for the given comparison filter."),
805+ 'label_filter': fields.char('Column Label', help="This label will be displayed on report to show the balance computed for the given comparison filter."),
806 'fiscalyear_id_cmp': fields.many2one('account.fiscalyear', 'Fiscal Year', help='Keep empty for all open fiscal year'),
807- 'filter_cmp': fields.selection([('filter_no', 'No Filters'), ('filter_date', 'Date'), ('filter_period', 'Periods')], "Filter by", required=True),
808+ 'filter_cmp': fields.selection([('filter_no', 'No Filters'), ('filter_date', 'Date'), ('filter_period', 'Periods')], "Filter by", size=13, required=True),
809 'period_from_cmp': fields.many2one('account.period', 'Start Period'),
810 'period_to_cmp': fields.many2one('account.period', 'End Period'),
811 'date_from_cmp': fields.date("Start Date"),
812
813=== modified file 'account/wizard/account_fiscalyear_close.py'
814--- account/wizard/account_fiscalyear_close.py 2014-01-15 21:44:54 +0000
815+++ account/wizard/account_fiscalyear_close.py 2014-05-12 18:39:30 +0000
816@@ -35,7 +35,7 @@
817 'New Fiscal Year', required=True),
818 'journal_id': fields.many2one('account.journal', 'Opening Entries Journal', domain="[('type','=','situation')]", required=True, help='The best practice here is to use a journal dedicated to contain the opening entries of all fiscal years. Note that you should define it with default debit/credit accounts, of type \'situation\' and with a centralized counterpart.'),
819 'period_id': fields.many2one('account.period', 'Opening Entries Period', required=True),
820- 'report_name': fields.char('Name of new entries',size=64, required=True, help="Give name of the new entries"),
821+ 'report_name': fields.char('Name of new entries', required=True, help="Give name of the new entries"),
822 }
823 _defaults = {
824 'report_name': lambda self, cr, uid, context: _('End of Fiscal Year Entry'),
825
826=== modified file 'account/wizard/account_invoice_refund.py'
827--- account/wizard/account_invoice_refund.py 2014-04-15 10:14:27 +0000
828+++ account/wizard/account_invoice_refund.py 2014-05-12 18:39:30 +0000
829@@ -34,8 +34,8 @@
830 'date': fields.date('Date', help='This date will be used as the invoice date for credit note and period will be chosen accordingly!'),
831 'period': fields.many2one('account.period', 'Force period'),
832 'journal_id': fields.many2one('account.journal', 'Refund Journal', help='You can select here the journal to use for the credit note that will be created. If you leave that field empty, it will use the same journal as the current invoice.'),
833- 'description': fields.char('Reason', size=128, required=True),
834- 'filter_refund': fields.selection([('refund', 'Create a draft refund'), ('cancel', 'Cancel: create refund and reconcile'),('modify', 'Modify: create refund, reconcile and create a new draft invoice')], "Refund Method", required=True, help='Refund base on this type. You can not Modify and Cancel if the invoice is already reconciled'),
835+ 'description': fields.char('Reason', required=True),
836+ 'filter_refund': fields.selection([('refund', 'Create a draft refund'), ('cancel', 'Cancel: create refund and reconcile'),('modify', 'Modify: create refund, reconcile and create a new draft invoice')], "Refund Method", size=6, required=True, help='Refund base on this type. You can not Modify and Cancel if the invoice is already reconciled'),
837 }
838
839 def _get_journal(self, cr, uid, context=None):
840
841=== modified file 'account/wizard/account_reconcile.py'
842--- account/wizard/account_reconcile.py 2014-01-29 18:47:03 +0000
843+++ account/wizard/account_reconcile.py 2014-05-12 18:39:30 +0000
844@@ -107,7 +107,7 @@
845 'journal_id': fields.many2one('account.journal','Write-Off Journal', required=True),
846 'writeoff_acc_id': fields.many2one('account.account','Write-Off account', required=True),
847 'date_p': fields.date('Date'),
848- 'comment': fields.char('Comment', size= 64, required=True),
849+ 'comment': fields.char('Comment', required=True),
850 'analytic_id': fields.many2one('account.analytic.account', 'Analytic Account', domain=[('parent_id', '!=', False)]),
851 }
852 _defaults = {
853
854=== modified file 'account/wizard/account_report_aged_partner_balance.py'
855--- account/wizard/account_report_aged_partner_balance.py 2014-05-02 13:03:10 +0000
856+++ account/wizard/account_report_aged_partner_balance.py 2014-05-12 18:39:30 +0000
857@@ -35,7 +35,7 @@
858 'period_length':fields.integer('Period Length (days)', required=True),
859 'direction_selection': fields.selection([('past','Past'),
860 ('future','Future')],
861- 'Analysis Direction', required=True),
862+ 'Analysis Direction', size=6, required=True),
863 'journal_ids': fields.many2many('account.journal', 'account_aged_trial_balance_journal_rel', 'account_id', 'journal_id', 'Journals', required=True),
864 }
865 _defaults = {
866
867=== modified file 'account/wizard/account_report_common.py'
868--- account/wizard/account_report_common.py 2013-10-27 12:31:04 +0000
869+++ account/wizard/account_report_common.py 2014-05-12 18:39:30 +0000
870@@ -44,7 +44,7 @@
871 'chart_account_id': fields.many2one('account.account', 'Chart of Account', help='Select Charts of Accounts', required=True, domain = [('parent_id','=',False)]),
872 'company_id': fields.related('chart_account_id', 'company_id', type='many2one', relation='res.company', string='Company', readonly=True),
873 'fiscalyear_id': fields.many2one('account.fiscalyear', 'Fiscal Year', help='Keep empty for all open fiscal year'),
874- 'filter': fields.selection([('filter_no', 'No Filters'), ('filter_date', 'Date'), ('filter_period', 'Periods')], "Filter by", required=True),
875+ 'filter': fields.selection([('filter_no', 'No Filters'), ('filter_date', 'Date'), ('filter_period', 'Periods')], "Filter by", size=13, required=True),
876 'period_from': fields.many2one('account.period', 'Start Period'),
877 'period_to': fields.many2one('account.period', 'End Period'),
878 'journal_ids': fields.many2many('account.journal', string='Journals', required=True),
879@@ -52,7 +52,7 @@
880 'date_to': fields.date("End Date"),
881 'target_move': fields.selection([('posted', 'All Posted Entries'),
882 ('all', 'All Entries'),
883- ], 'Target Moves', required=True),
884+ ], 'Target Moves', size=6, required=True),
885
886 }
887
888
889=== modified file 'account/wizard/account_report_common_account.py'
890--- account/wizard/account_report_common_account.py 2013-10-27 12:31:04 +0000
891+++ account/wizard/account_report_common_account.py 2014-05-12 18:39:30 +0000
892@@ -28,7 +28,7 @@
893 _columns = {
894 'display_account': fields.selection([('all','All'), ('movement','With movements'),
895 ('not_zero','With balance is not equal to 0'),
896- ],'Display Accounts', required=True),
897+ ],'Display Accounts', size=8, required=True),
898
899 }
900 _defaults = {
901
902=== modified file 'account/wizard/account_report_common_partner.py'
903--- account/wizard/account_report_common_partner.py 2013-10-27 12:31:04 +0000
904+++ account/wizard/account_report_common_partner.py 2014-05-12 18:39:30 +0000
905@@ -29,7 +29,7 @@
906 'result_selection': fields.selection([('customer','Receivable Accounts'),
907 ('supplier','Payable Accounts'),
908 ('customer_supplier','Receivable and Payable Accounts')],
909- "Partner's", required=True),
910+ "Partner's", size=17, required=True),
911 }
912
913 _defaults = {
914
915=== modified file 'account/wizard/account_report_general_ledger.py'
916--- account/wizard/account_report_general_ledger.py 2014-05-02 13:03:10 +0000
917+++ account/wizard/account_report_general_ledger.py 2014-05-12 18:39:30 +0000
918@@ -32,7 +32,7 @@
919 'initial_balance': fields.boolean('Include Initial Balances',
920 help='If you selected to filter by date or period, this field allow you to add a row to display the amount of debit/credit/balance that precedes the filter you\'ve set.'),
921 'amount_currency': fields.boolean("With Currency", help="It adds the currency column on report if the currency differs from the company currency."),
922- 'sortby': fields.selection([('sort_date', 'Date'), ('sort_journal_partner', 'Journal & Partner')], 'Sort by', required=True),
923+ 'sortby': fields.selection([('sort_date', 'Date'), ('sort_journal_partner', 'Journal & Partner')], 'Sort by', size=20, required=True),
924 'journal_ids': fields.many2many('account.journal', 'account_report_general_ledger_journal_rel', 'account_id', 'journal_id', 'Journals', required=True),
925 }
926 _defaults = {
927
928=== modified file 'account/wizard/account_report_partner_balance.py'
929--- account/wizard/account_report_partner_balance.py 2014-05-02 13:03:10 +0000
930+++ account/wizard/account_report_partner_balance.py 2014-05-12 18:39:30 +0000
931@@ -31,7 +31,7 @@
932 _description = 'Print Account Partner Balance'
933 _columns = {
934 'display_partner': fields.selection([('non-zero_balance', 'With balance is not equal to 0'), ('all', 'All Partners')]
935- ,'Display Partners'),
936+ ,'Display Partners', size=16),
937 'journal_ids': fields.many2many('account.journal', 'account_partner_balance_journal_rel', 'account_id', 'journal_id', 'Journals', required=True),
938 }
939
940
941=== modified file 'account/wizard/account_report_partner_ledger.py'
942--- account/wizard/account_report_partner_ledger.py 2014-05-02 13:03:10 +0000
943+++ account/wizard/account_report_partner_ledger.py 2014-05-12 18:39:30 +0000
944@@ -33,7 +33,7 @@
945 _columns = {
946 'initial_balance': fields.boolean('Include Initial Balances',
947 help='If you selected to filter by date or period, this field allow you to add a row to display the amount of debit/credit/balance that precedes the filter you\'ve set.'),
948- 'filter': fields.selection([('filter_no', 'No Filters'), ('filter_date', 'Date'), ('filter_period', 'Periods'), ('unreconciled', 'Unreconciled Entries')], "Filter by", required=True),
949+ 'filter': fields.selection([('filter_no', 'No Filters'), ('filter_date', 'Date'), ('filter_period', 'Periods'), ('unreconciled', 'Unreconciled Entries')], "Filter by", size=13, required=True),
950 'page_split': fields.boolean('One Partner Per Page', help='Display Ledger Report with One partner per page'),
951 'amount_currency': fields.boolean("With Currency", help="It adds the currency column on report if the currency differs from the company currency."),
952 'journal_ids': fields.many2many('account.journal', 'account_partner_ledger_journal_rel', 'account_id', 'journal_id', 'Journals', required=True),
953
954=== modified file 'account/wizard/account_report_print_journal.py'
955--- account/wizard/account_report_print_journal.py 2014-05-02 13:03:10 +0000
956+++ account/wizard/account_report_print_journal.py 2014-05-12 18:39:30 +0000
957@@ -31,7 +31,7 @@
958 _columns = {
959 'sort_selection': fields.selection([('l.date', 'Date'),
960 ('am.name', 'Journal Entry Number'),],
961- 'Entries Sorted by', required=True),
962+ 'Entries Sorted by', size=7, required=True),
963 'journal_ids': fields.many2many('account.journal', 'account_print_journal_journal_rel', 'account_id', 'journal_id', 'Journals', required=True),
964 }
965
966
967=== modified file 'account/wizard/account_tax_chart.py'
968--- account/wizard/account_tax_chart.py 2013-10-27 12:31:04 +0000
969+++ account/wizard/account_tax_chart.py 2014-05-12 18:39:30 +0000
970@@ -33,7 +33,7 @@
971 ),
972 'target_move': fields.selection([('posted', 'All Posted Entries'),
973 ('all', 'All Entries'),
974- ], 'Target Moves', required=True),
975+ ], 'Target Moves', size=6, required=True),
976 }
977
978 def _get_period(self, cr, uid, context=None):
979
980=== modified file 'account/wizard/account_vat.py'
981--- account/wizard/account_vat.py 2014-05-02 13:03:10 +0000
982+++ account/wizard/account_vat.py 2014-05-12 18:39:30 +0000
983@@ -29,7 +29,7 @@
984 _columns = {
985 'based_on': fields.selection([('invoices', 'Invoices'),
986 ('payments', 'Payments'),],
987- 'Based on', required=True),
988+ 'Based on', size=8, required=True),
989 'chart_tax_id': fields.many2one('account.tax.code', 'Chart of Tax', help='Select Charts of Taxes', required=True, domain = [('parent_id','=', False)]),
990 'display_detail': fields.boolean('Display Detail'),
991 }
992
993=== modified file 'account/wizard/pos_box.py'
994--- account/wizard/pos_box.py 2013-12-27 15:35:17 +0000
995+++ account/wizard/pos_box.py 2014-05-12 18:39:30 +0000
996@@ -5,7 +5,7 @@
997 class CashBox(osv.osv_memory):
998 _register = False
999 _columns = {
1000- 'name' : fields.char('Reason', size=64, required=True),
1001+ 'name' : fields.char('Reason', required=True),
1002 # Attention, we don't set a domain, because there is a journal_type key
1003 # in the context of the action
1004 'amount' : fields.float('Amount',
1005@@ -49,7 +49,7 @@
1006
1007 _columns = CashBox._columns.copy()
1008 _columns.update({
1009- 'ref' : fields.char('Reference', size=32),
1010+ 'ref' : fields.char('Reference'),
1011 })
1012
1013 def _compute_values_for_statement_line(self, cr, uid, box, record, context=None):
1014
1015=== modified file 'account_analytic_analysis/account_analytic_analysis.py'
1016--- account_analytic_analysis/account_analytic_analysis.py 2014-05-08 08:39:48 +0000
1017+++ account_analytic_analysis/account_analytic_analysis.py 2014-05-12 18:39:30 +0000
1018@@ -514,7 +514,7 @@
1019 ('weekly', 'Week(s)'),
1020 ('monthly', 'Month(s)'),
1021 ('yearly', 'Year(s)'),
1022- ], 'Recurrency', help="Invoice automatically repeat at specified interval"),
1023+ ], 'Recurrency', size=7, help="Invoice automatically repeat at specified interval"),
1024 'recurring_interval': fields.integer('Repeat Every', help="Repeat every (Days/Week/Month/Year)"),
1025 'recurring_next_date': fields.date('Date of Next Invoice'),
1026 }
1027
1028=== modified file 'account_analytic_plans/account_analytic_plans.py'
1029--- account_analytic_plans/account_analytic_plans.py 2014-04-22 16:20:28 +0000
1030+++ account_analytic_plans/account_analytic_plans.py 2014-05-12 18:39:30 +0000
1031@@ -70,7 +70,7 @@
1032 _name = "account.analytic.plan"
1033 _description = "Analytic Plan"
1034 _columns = {
1035- 'name': fields.char('Analytic Plan', size=64, required=True, select=True),
1036+ 'name': fields.char('Analytic Plan', required=True, select=True),
1037 'plan_ids': fields.one2many('account.analytic.plan.line', 'plan_id', 'Analytic Plans'),
1038 }
1039
1040@@ -81,7 +81,7 @@
1041 _order = "sequence, id"
1042 _columns = {
1043 'plan_id': fields.many2one('account.analytic.plan','Analytic Plan',required=True),
1044- 'name': fields.char('Plan Name', size=64, required=True, select=True),
1045+ 'name': fields.char('Plan Name', required=True, select=True),
1046 'sequence': fields.integer('Sequence'),
1047 'root_analytic_id': fields.many2one('account.analytic.account', 'Root Account', help="Root account of this plan.", required=False),
1048 'min_required': fields.float('Minimum Allowed (%)'),
1049@@ -97,7 +97,7 @@
1050 _name = "account.analytic.plan.instance"
1051 _description = "Analytic Plan Instance"
1052 _columns = {
1053- 'name': fields.char('Analytic Distribution', size=64),
1054+ 'name': fields.char('Analytic Distribution'),
1055 'code': fields.char('Distribution Code', size=16),
1056 'journal_id': fields.many2one('account.analytic.journal', 'Analytic Journal' ),
1057 'account_ids': fields.one2many('account.analytic.plan.instance.line', 'plan_id', 'Account Id'),
1058
1059=== modified file 'account_asset/account_asset.py'
1060--- account_asset/account_asset.py 2014-05-07 13:45:44 +0000
1061+++ account_asset/account_asset.py 2014-05-12 18:39:30 +0000
1062@@ -32,7 +32,7 @@
1063 _description = 'Asset category'
1064
1065 _columns = {
1066- 'name': fields.char('Name', size=64, required=True, select=1),
1067+ 'name': fields.char('Name', required=True, select=1),
1068 'note': fields.text('Note'),
1069 'account_analytic_id': fields.many2one('account.analytic.account', 'Analytic account'),
1070 'account_asset_id': fields.many2one('account.account', 'Asset Account', required=True, domain=[('type','=','other')]),
1071@@ -40,13 +40,13 @@
1072 'account_expense_depreciation_id': fields.many2one('account.account', 'Depr. Expense Account', required=True, domain=[('type','=','other')]),
1073 'journal_id': fields.many2one('account.journal', 'Journal', required=True),
1074 'company_id': fields.many2one('res.company', 'Company', required=True),
1075- 'method': fields.selection([('linear','Linear'),('degressive','Degressive')], 'Computation Method', required=True, help="Choose the method to use to compute the amount of depreciation lines.\n"\
1076+ 'method': fields.selection([('linear','Linear'),('degressive','Degressive')], 'Computation Method', size=10, required=True, help="Choose the method to use to compute the amount of depreciation lines.\n"\
1077 " * Linear: Calculated on basis of: Gross Value / Number of Depreciations\n" \
1078 " * Degressive: Calculated on basis of: Residual Value * Degressive Factor"),
1079 'method_number': fields.integer('Number of Depreciations', help="The number of depreciations needed to depreciate your asset"),
1080 'method_period': fields.integer('Period Length', help="State here the time between 2 depreciations, in months", required=True),
1081 'method_progress_factor': fields.float('Degressive Factor'),
1082- 'method_time': fields.selection([('number','Number of Depreciations'),('end','Ending Date')], 'Time Method', required=True,
1083+ 'method_time': fields.selection([('number','Number of Depreciations'),('end','Ending Date')], 'Time Method', size=6, required=True,
1084 help="Choose the method to use to compute the dates and number of depreciation lines.\n"\
1085 " * Number of Depreciations: Fix the number of depreciation lines and the time between 2 depreciations.\n" \
1086 " * Ending Date: Choose the time between 2 depreciations and the date the depreciations won't go beyond."),
1087@@ -246,7 +246,7 @@
1088 _columns = {
1089 'account_move_line_ids': fields.one2many('account.move.line', 'asset_id', 'Entries', readonly=True, states={'draft':[('readonly',False)]}),
1090 'entry_count': fields.function(_entry_count, string='# Asset Entries', type='integer'),
1091- 'name': fields.char('Asset Name', size=64, required=True, readonly=True, states={'draft':[('readonly',False)]}),
1092+ 'name': fields.char('Asset Name', required=True, readonly=True, states={'draft':[('readonly',False)]}),
1093 'code': fields.char('Reference', size=32, readonly=True, states={'draft':[('readonly',False)]}),
1094 'purchase_value': fields.float('Gross Value', required=True, readonly=True, states={'draft':[('readonly',False)]}),
1095 'currency_id': fields.many2one('res.currency','Currency',required=True, readonly=True, states={'draft':[('readonly',False)]}),
1096@@ -256,13 +256,13 @@
1097 'parent_id': fields.many2one('account.asset.asset', 'Parent Asset', readonly=True, states={'draft':[('readonly',False)]}),
1098 'child_ids': fields.one2many('account.asset.asset', 'parent_id', 'Children Assets'),
1099 'purchase_date': fields.date('Purchase Date', required=True, readonly=True, states={'draft':[('readonly',False)]}),
1100- 'state': fields.selection([('draft','Draft'),('open','Running'),('close','Close')], 'Status', required=True,
1101+ 'state': fields.selection([('draft','Draft'),('open','Running'),('close','Close')], 'Status', required=True, size=5,
1102 help="When an asset is created, the status is 'Draft'.\n" \
1103 "If the asset is confirmed, the status goes in 'Running' and the depreciation lines can be posted in the accounting.\n" \
1104 "You can manually close an asset when the depreciation is over. If the last line of depreciation is posted, the asset automatically goes in that status."),
1105 'active': fields.boolean('Active'),
1106 'partner_id': fields.many2one('res.partner', 'Partner', readonly=True, states={'draft':[('readonly',False)]}),
1107- 'method': fields.selection([('linear','Linear'),('degressive','Degressive')], 'Computation Method', required=True, readonly=True, states={'draft':[('readonly',False)]}, help="Choose the method to use to compute the amount of depreciation lines.\n"\
1108+ 'method': fields.selection([('linear','Linear'),('degressive','Degressive')], 'Computation Method', size=10, required=True, readonly=True, states={'draft':[('readonly',False)]}, help="Choose the method to use to compute the amount of depreciation lines.\n"\
1109 " * Linear: Calculated on basis of: Gross Value / Number of Depreciations\n" \
1110 " * Degressive: Calculated on basis of: Residual Value * Degressive Factor"),
1111 'method_number': fields.integer('Number of Depreciations', readonly=True, states={'draft':[('readonly',False)]}, help="The number of depreciations needed to depreciate your asset"),
1112@@ -270,7 +270,7 @@
1113 'method_end': fields.date('Ending Date', readonly=True, states={'draft':[('readonly',False)]}),
1114 'method_progress_factor': fields.float('Degressive Factor', readonly=True, states={'draft':[('readonly',False)]}),
1115 'value_residual': fields.function(_amount_residual, method=True, digits_compute=dp.get_precision('Account'), string='Residual Value'),
1116- 'method_time': fields.selection([('number','Number of Depreciations'),('end','Ending Date')], 'Time Method', required=True, readonly=True, states={'draft':[('readonly',False)]},
1117+ 'method_time': fields.selection([('number','Number of Depreciations'),('end','Ending Date')], 'Time Method', size=6, required=True, readonly=True, states={'draft':[('readonly',False)]},
1118 help="Choose the method to use to compute the dates and number of depreciation lines.\n"\
1119 " * Number of Depreciations: Fix the number of depreciation lines and the time between 2 depreciations.\n" \
1120 " * Ending Date: Choose the time between 2 depreciations and the date the depreciations won't go beyond."),
1121@@ -379,7 +379,7 @@
1122 return res
1123
1124 _columns = {
1125- 'name': fields.char('Depreciation Name', size=64, required=True, select=1),
1126+ 'name': fields.char('Depreciation Name', required=True, select=1),
1127 'sequence': fields.integer('Sequence', required=True),
1128 'asset_id': fields.many2one('account.asset.asset', 'Asset', required=True, ondelete='cascade'),
1129 'parent_state': fields.related('asset_id', 'state', type='char', string='State of Asset'),
1130@@ -474,11 +474,11 @@
1131 _name = 'account.asset.history'
1132 _description = 'Asset history'
1133 _columns = {
1134- 'name': fields.char('History name', size=64, select=1),
1135+ 'name': fields.char('History name', select=1),
1136 'user_id': fields.many2one('res.users', 'User', required=True),
1137 'date': fields.date('Date', required=True),
1138 'asset_id': fields.many2one('account.asset.asset', 'Asset', required=True),
1139- 'method_time': fields.selection([('number','Number of Depreciations'),('end','Ending Date')], 'Time Method', required=True,
1140+ 'method_time': fields.selection([('number','Number of Depreciations'),('end','Ending Date')], 'Time Method', size=6, required=True,
1141 help="The method to use to compute the dates and number of depreciation lines.\n"\
1142 "Number of Depreciations: Fix the number of depreciation lines and the time between 2 depreciations.\n" \
1143 "Ending Date: Choose the time between 2 depreciations and the date the depreciations won't go beyond."),
1144
1145=== modified file 'account_asset/report/account_asset_report.py'
1146--- account_asset/report/account_asset_report.py 2013-10-27 12:31:04 +0000
1147+++ account_asset/report/account_asset_report.py 2014-05-12 18:39:30 +0000
1148@@ -27,13 +27,13 @@
1149 _description = "Assets Analysis"
1150 _auto = False
1151 _columns = {
1152- 'name': fields.char('Year', size=16, required=False, readonly=True),
1153+ 'name': fields.char('Year', required=False, readonly=True),
1154 'purchase_date': fields.date('Purchase Date', readonly=True),
1155 'depreciation_date': fields.date('Depreciation Date', readonly=True),
1156 'asset_id': fields.many2one('account.asset.asset', string='Asset', readonly=True),
1157 'asset_category_id': fields.many2one('account.asset.category',string='Asset category'),
1158 'partner_id': fields.many2one('res.partner', 'Partner', readonly=True),
1159- 'state': fields.selection([('draft','Draft'),('open','Running'),('close','Close')], 'Status', readonly=True),
1160+ 'state': fields.selection([('draft','Draft'),('open','Running'),('close','Close')], 'Status', size=5, readonly=True),
1161 'depreciation_value': fields.float('Amount of Depreciation Lines', readonly=True),
1162 'move_check': fields.boolean('Posted', readonly=True),
1163 'nbr': fields.integer('# of Depreciation Lines', readonly=True),
1164
1165=== modified file 'account_asset/wizard/account_asset_change_duration.py'
1166--- account_asset/wizard/account_asset_change_duration.py 2013-10-27 12:31:04 +0000
1167+++ account_asset/wizard/account_asset_change_duration.py 2014-05-12 18:39:30 +0000
1168@@ -28,7 +28,7 @@
1169 _description = 'Modify Asset'
1170
1171 _columns = {
1172- 'name': fields.char('Reason', size=64, required=True),
1173+ 'name': fields.char('Reason', required=True),
1174 'method_number': fields.integer('Number of Depreciations', required=True),
1175 'method_period': fields.integer('Period Length'),
1176 'method_end': fields.date('Ending date'),
1177
1178=== modified file 'account_bank_statement_extensions/account_bank_statement.py'
1179--- account_bank_statement_extensions/account_bank_statement.py 2013-10-27 12:31:04 +0000
1180+++ account_bank_statement_extensions/account_bank_statement.py 2014-05-12 18:39:30 +0000
1181@@ -62,7 +62,7 @@
1182 _description = 'Batch Payment Info'
1183
1184 _columns = {
1185- 'name': fields.char('OBI', size=128, required=True, help="Originator to Beneficiary Information"),
1186+ 'name': fields.char('OBI', required=True, help="Originator to Beneficiary Information"),
1187 'code': fields.char('Code', size=64, required=True),
1188 'parent_id': fields.many2one('account.bank.statement.line.global', 'Parent Code', ondelete='cascade'),
1189 'child_ids': fields.one2many('account.bank.statement.line.global', 'parent_id', 'Child Codes'),
1190@@ -70,7 +70,7 @@
1191 ('iso20022', 'ISO 20022'),
1192 ('coda', 'CODA'),
1193 ('manual', 'Manual'),
1194- ], 'Type', required=True),
1195+ ], 'Type', size=8, required=True),
1196 'amount': fields.float('Amount', digits_compute=dp.get_precision('Account')),
1197 'bank_statement_line_ids': fields.one2many('account.bank.statement.line', 'globalisation_id', 'Bank Statement Lines'),
1198 }
1199@@ -110,7 +110,7 @@
1200 'globalisation_amount': fields.related('globalisation_id', 'amount', type='float',
1201 relation='account.bank.statement.line.global', string='Glob. Amount', readonly=True),
1202 'state': fields.selection([('draft', 'Draft'), ('confirm', 'Confirmed')],
1203- 'Status', required=True, readonly=True),
1204+ 'Status', size=7, required=True, readonly=True),
1205 'counterparty_name': fields.char('Counterparty Name', size=35),
1206 'counterparty_bic': fields.char('Counterparty BIC', size=11),
1207 'counterparty_number': fields.char('Counterparty Number', size=34),
1208
1209=== modified file 'account_budget/account_budget.py'
1210--- account_budget/account_budget.py 2014-04-11 14:28:00 +0000
1211+++ account_budget/account_budget.py 2014-05-12 18:39:30 +0000
1212@@ -38,7 +38,7 @@
1213 _description = "Budgetary Position"
1214 _columns = {
1215 'code': fields.char('Code', size=64, required=True),
1216- 'name': fields.char('Name', size=256, required=True),
1217+ 'name': fields.char('Name', required=True),
1218 'account_ids': fields.many2many('account.account', 'account_budget_rel', 'budget_id', 'account_id', 'Accounts'),
1219 'crossovered_budget_line': fields.one2many('crossovered.budget.lines', 'general_budget_id', 'Budget Lines'),
1220 'company_id': fields.many2one('res.company', 'Company', required=True),
1221@@ -55,13 +55,13 @@
1222 _description = "Budget"
1223
1224 _columns = {
1225- 'name': fields.char('Name', size=64, required=True, states={'done':[('readonly',True)]}),
1226+ 'name': fields.char('Name', required=True, states={'done':[('readonly',True)]}),
1227 'code': fields.char('Code', size=16, required=True, states={'done':[('readonly',True)]}),
1228 'creating_user_id': fields.many2one('res.users', 'Responsible User'),
1229 'validating_user_id': fields.many2one('res.users', 'Validate User', readonly=True),
1230 'date_from': fields.date('Start Date', required=True, states={'done':[('readonly',True)]}),
1231 'date_to': fields.date('End Date', required=True, states={'done':[('readonly',True)]}),
1232- 'state' : fields.selection([('draft','Draft'),('cancel', 'Cancelled'),('confirm','Confirmed'),('validate','Validated'),('done','Done')], 'Status', select=True, required=True, readonly=True),
1233+ 'state' : fields.selection([('draft','Draft'),('cancel', 'Cancelled'),('confirm','Confirmed'),('validate','Validated'),('done','Done')], 'Status', size=8, select=True, required=True, readonly=True),
1234 'crossovered_budget_line': fields.one2many('crossovered.budget.lines', 'crossovered_budget_id', 'Budget Lines', states={'done':[('readonly',True)]}),
1235 'company_id': fields.many2one('res.company', 'Company', required=True),
1236 }
1237
1238=== modified file 'account_check_writing/account.py'
1239--- account_check_writing/account.py 2014-02-10 05:26:55 +0000
1240+++ account_check_writing/account.py 2014-05-12 18:39:30 +0000
1241@@ -37,7 +37,7 @@
1242 ('top', 'Check on Top'),
1243 ('middle', 'Check in middle'),
1244 ('bottom', 'Check on bottom'),
1245- ],"Check Layout",
1246+ ],"Check Layout", size=6,
1247 help="Check on top is compatible with Quicken, QuickBooks and Microsoft Money. Check in middle is compatible with Peachtree, ACCPAC and DacEasy. Check on bottom is compatible with Peachtree, ACCPAC and DacEasy only" ),
1248 }
1249
1250
1251=== modified file 'account_check_writing/account_voucher.py'
1252--- account_check_writing/account_voucher.py 2014-05-02 13:03:10 +0000
1253+++ account_check_writing/account_voucher.py 2014-05-12 18:39:30 +0000
1254@@ -36,9 +36,9 @@
1255 return journal_pool.search(cr, uid, [('type', '=', ttype)], limit=1)
1256
1257 _columns = {
1258- 'amount_in_word' : fields.char("Amount in Word" , size=128, readonly=True, states={'draft':[('readonly',False)]}),
1259+ 'amount_in_word' : fields.char("Amount in Word", readonly=True, states={'draft':[('readonly',False)]}),
1260 'allow_check' : fields.related('journal_id', 'allow_check_writing', type='boolean', string='Allow Check Writing'),
1261- 'number': fields.char('Number', size=32),
1262+ 'number': fields.char('Number'),
1263 }
1264
1265 def _amount_to_text(self, cr, uid, amount, currency_id, context=None):
1266
1267=== modified file 'account_followup/account_followup.py'
1268--- account_followup/account_followup.py 2014-05-07 17:01:12 +0000
1269+++ account_followup/account_followup.py 2014-05-12 18:39:30 +0000
1270@@ -49,7 +49,7 @@
1271 _name = 'account_followup.followup.line'
1272 _description = 'Follow-up Criteria'
1273 _columns = {
1274- 'name': fields.char('Follow-Up Action', size=64, required=True),
1275+ 'name': fields.char('Follow-Up Action', required=True),
1276 'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of follow-up lines."),
1277 'delay': fields.integer('Due Days', help="The number of days after the due date of the invoice to wait before sending the reminder. Could be negative if you want to send a polite alert beforehand.", required=True),
1278 'followup_id': fields.many2one('account_followup.followup', 'Follow Ups', required=True, ondelete="cascade"),
1279
1280=== modified file 'account_payment/account_payment.py'
1281--- account_payment/account_payment.py 2013-10-27 12:31:04 +0000
1282+++ account_payment/account_payment.py 2014-05-12 18:39:30 +0000
1283@@ -30,7 +30,7 @@
1284 _name= 'payment.mode'
1285 _description= 'Payment Mode'
1286 _columns = {
1287- 'name': fields.char('Name', size=64, required=True, help='Mode of Payment'),
1288+ 'name': fields.char('Name', required=True, help='Mode of Payment'),
1289 'bank_id': fields.many2one('res.partner.bank', "Bank account",
1290 required=True,help='Bank Account for the Payment Mode'),
1291 'journal': fields.many2one('account.journal', 'Journal', required=True,
1292@@ -87,13 +87,13 @@
1293
1294 _columns = {
1295 'date_scheduled': fields.date('Scheduled Date', states={'done':[('readonly', True)]}, help='Select a date if you have chosen Preferred Date to be fixed.'),
1296- 'reference': fields.char('Reference', size=128, required=1, states={'done': [('readonly', True)]}),
1297+ 'reference': fields.char('Reference', required=1, states={'done': [('readonly', True)]}),
1298 'mode': fields.many2one('payment.mode', 'Payment Mode', select=True, required=1, states={'done': [('readonly', True)]}, help='Select the Payment Mode to be applied.'),
1299 'state': fields.selection([
1300 ('draft', 'Draft'),
1301 ('cancel', 'Cancelled'),
1302 ('open', 'Confirmed'),
1303- ('done', 'Done')], 'Status', select=True,
1304+ ('done', 'Done')], 'Status', select=True, size=6,
1305 help='When an order is placed the status is \'Draft\'.\n Once the bank is confirmed the status is set to \'Confirmed\'.\n Then the order is paid the status is \'Done\'.'),
1306 'line_ids': fields.one2many('payment.line', 'order_id', 'Payment lines', states={'done': [('readonly', True)]}),
1307 'total': fields.function(_total, string="Total", type='float'),
1308@@ -102,7 +102,7 @@
1309 ('now', 'Directly'),
1310 ('due', 'Due date'),
1311 ('fixed', 'Fixed date')
1312- ], "Preferred Date", change_default=True, required=True, states={'done': [('readonly', True)]}, help="Choose an option for the Payment Order:'Fixed' stands for a date specified by you.'Directly' stands for the direct execution.'Due date' stands for the scheduled date of execution."),
1313+ ], "Preferred Date", size=5, change_default=True, required=True, states={'done': [('readonly', True)]}, help="Choose an option for the Payment Order:'Fixed' stands for a date specified by you.'Directly' stands for the direct execution.'Due date' stands for the scheduled date of execution."),
1314 'date_created': fields.date('Creation Date', readonly=True),
1315 'date_done': fields.date('Execution Date', readonly=True),
1316 'company_id': fields.related('mode', 'company_id', type='many2one', relation='res.company', string='Company', store=True, readonly=True),
1317@@ -303,9 +303,9 @@
1318 return res
1319
1320 _columns = {
1321- 'name': fields.char('Your Reference', size=64, required=True),
1322- 'communication': fields.char('Communication', size=64, required=True, help="Used as the message between ordering customer and current company. Depicts 'What do you want to say to the recipient about this order ?'"),
1323- 'communication2': fields.char('Communication 2', size=64, help='The successor message of Communication.'),
1324+ 'name': fields.char('Your Reference', required=True),
1325+ 'communication': fields.char('Communication', required=True, help="Used as the message between ordering customer and current company. Depicts 'What do you want to say to the recipient about this order ?'"),
1326+ 'communication2': fields.char('Communication 2', help='The successor message of Communication.'),
1327 'move_line_id': fields.many2one('account.move.line', 'Entry line', domain=[('reconcile_id', '=', False), ('account_id.type', '=', 'payable')], help='This Entry Line will be referred for the information of the ordering customer.'),
1328 'amount_currency': fields.float('Amount in Partner Currency', digits=(16, 2),
1329 required=True, help='Payment amount in the partner currency'),
1330@@ -326,7 +326,7 @@
1331 'info_partner': fields.function(info_partner, string="Destination Account", type="text", help='Address of the Ordering Customer.'),
1332 'date': fields.date('Payment Date', help="If no payment date is specified, the bank will treat this payment line directly"),
1333 'create_date': fields.datetime('Created', readonly=True),
1334- 'state': fields.selection([('normal','Free'), ('structured','Structured')], 'Communication Type', required=True),
1335+ 'state': fields.selection([('normal','Free'), ('structured','Structured')], 'Communication Type', size=10, required=True),
1336 'bank_statement_line_id': fields.many2one('account.bank.statement.line', 'Bank statement line'),
1337 'company_id': fields.related('order_id', 'company_id', type='many2one', relation='res.company', string='Company', store=True, readonly=True),
1338 }
1339
1340=== modified file 'account_sequence/account_sequence.py'
1341--- account_sequence/account_sequence.py 2013-10-27 12:31:04 +0000
1342+++ account_sequence/account_sequence.py 2014-05-12 18:39:30 +0000
1343@@ -26,7 +26,7 @@
1344 _inherit = 'account.move'
1345
1346 _columns = {
1347- 'internal_sequence_number': fields.char('Internal Number', size=64, readonly=True, help='Internal Sequence Number'),
1348+ 'internal_sequence_number': fields.char('Internal Number', readonly=True, help='Internal Sequence Number'),
1349 }
1350
1351 def post(self, cr, uid, ids, context=None):
1352
1353=== modified file 'account_sequence/account_sequence_installer.py'
1354--- account_sequence/account_sequence_installer.py 2013-10-27 12:31:04 +0000
1355+++ account_sequence/account_sequence_installer.py 2014-05-12 18:39:30 +0000
1356@@ -26,9 +26,9 @@
1357 _inherit = 'res.config.installer'
1358
1359 _columns = {
1360- 'name': fields.char('Name',size=64, required=True),
1361- 'prefix': fields.char('Prefix',size=64, help="Prefix value of the record for the sequence"),
1362- 'suffix': fields.char('Suffix',size=64, help="Suffix value of the record for the sequence"),
1363+ 'name': fields.char('Name', required=True),
1364+ 'prefix': fields.char('Prefix', size=64, help="Prefix value of the record for the sequence"),
1365+ 'suffix': fields.char('Suffix', size=64, help="Suffix value of the record for the sequence"),
1366 'number_next': fields.integer('Next Number', required=True, help="Next number of this sequence"),
1367 'number_increment': fields.integer('Increment Number', required=True, help="The next number of the sequence will be incremented by this number"),
1368 'padding' : fields.integer('Number padding', required=True, help="OpenERP will automatically adds some '0' on the left of the 'Next Number' to get the required padding size."),
1369
1370=== modified file 'account_test/account_test.py'
1371--- account_test/account_test.py 2013-10-27 12:31:04 +0000
1372+++ account_test/account_test.py 2014-05-12 18:39:30 +0000
1373@@ -43,7 +43,7 @@
1374 _order = "sequence"
1375
1376 _columns = {
1377- 'name': fields.char('Test Name', size=256, required=True, select=True, translate=True),
1378+ 'name': fields.char('Test Name', required=True, select=True, translate=True),
1379 'desc': fields.text('Test Description', select=True, translate=True),
1380 'code_exec': fields.text('Python code', required=True),
1381 'active': fields.boolean('Active'),
1382
1383=== modified file 'account_voucher/account_voucher.py'
1384--- account_voucher/account_voucher.py 2014-05-02 13:03:52 +0000
1385+++ account_voucher/account_voucher.py 2014-05-12 18:39:30 +0000
1386@@ -333,8 +333,8 @@
1387 ('purchase','Purchase'),
1388 ('payment','Payment'),
1389 ('receipt','Receipt'),
1390- ],'Default Type', readonly=True, states={'draft':[('readonly',False)]}),
1391- 'name':fields.char('Memo', size=256, readonly=True, states={'draft':[('readonly',False)]}),
1392+ ],'Default Type', size=8, readonly=True, states={'draft':[('readonly',False)]}),
1393+ 'name':fields.char('Memo', readonly=True, states={'draft':[('readonly',False)]}),
1394 'date':fields.date('Date', readonly=True, select=True, states={'draft':[('readonly',False)]}, help="Effective date for accounting entries"),
1395 'journal_id':fields.many2one('account.journal', 'Journal', required=True, readonly=True, states={'draft':[('readonly',False)]}),
1396 'account_id':fields.many2one('account.account', 'Account', required=True, readonly=True, states={'draft':[('readonly',False)]}),
1397@@ -352,15 +352,15 @@
1398 ('cancel','Cancelled'),
1399 ('proforma','Pro-forma'),
1400 ('posted','Posted')
1401- ], 'Status', readonly=True, size=32, track_visibility='onchange',
1402+ ], 'Status', readonly=True, size=8, track_visibility='onchange',
1403 help=' * The \'Draft\' status is used when a user is encoding a new and unconfirmed Voucher. \
1404 \n* The \'Pro-forma\' when voucher is in Pro-forma status,voucher does not have an voucher number. \
1405 \n* The \'Posted\' status is used when user create voucher,a voucher number is generated and voucher entries are created in account \
1406 \n* The \'Cancelled\' status is used when user cancel voucher.'),
1407 'amount': fields.float('Total', digits_compute=dp.get_precision('Account'), required=True, readonly=True, states={'draft':[('readonly',False)]}),
1408 'tax_amount':fields.float('Tax Amount', digits_compute=dp.get_precision('Account'), readonly=True, states={'draft':[('readonly',False)]}),
1409- 'reference': fields.char('Ref #', size=64, readonly=True, states={'draft':[('readonly',False)]}, help="Transaction reference number."),
1410- 'number': fields.char('Number', size=32, readonly=True,),
1411+ 'reference': fields.char('Ref #', readonly=True, states={'draft':[('readonly',False)]}, help="Transaction reference number."),
1412+ 'number': fields.char('Number', readonly=True,),
1413 'move_id':fields.many2one('account.move', 'Account Entry'),
1414 'move_ids': fields.related('move_id','line_id', type='one2many', relation='account.move.line', string='Journal Items', readonly=True),
1415 'partner_id':fields.many2one('res.partner', 'Partner', change_default=1, readonly=True, states={'draft':[('readonly',False)]}),
1416@@ -369,16 +369,16 @@
1417 'pay_now':fields.selection([
1418 ('pay_now','Pay Directly'),
1419 ('pay_later','Pay Later or Group Funds'),
1420- ],'Payment', select=True, readonly=True, states={'draft':[('readonly',False)]}),
1421+ ],'Payment', select=True, size=9, readonly=True, states={'draft':[('readonly',False)]}),
1422 'tax_id': fields.many2one('account.tax', 'Tax', readonly=True, states={'draft':[('readonly',False)]}, domain=[('price_include','=', False)], help="Only for tax excluded from price"),
1423 'pre_line':fields.boolean('Previous Payments ?', required=False),
1424 'date_due': fields.date('Due Date', readonly=True, select=True, states={'draft':[('readonly',False)]}),
1425 'payment_option':fields.selection([
1426 ('without_writeoff', 'Keep Open'),
1427 ('with_writeoff', 'Reconcile Payment Balance'),
1428- ], 'Payment Difference', required=True, readonly=True, states={'draft': [('readonly', False)]}, help="This field helps you to choose what you want to do with the eventual difference between the paid amount and the sum of allocated amounts. You can either choose to keep open this difference on the partner's account, or reconcile it with the payment(s)"),
1429+ ], 'Payment Difference', required=True, size=16, readonly=True, states={'draft': [('readonly', False)]}, help="This field helps you to choose what you want to do with the eventual difference between the paid amount and the sum of allocated amounts. You can either choose to keep open this difference on the partner's account, or reconcile it with the payment(s)"),
1430 'writeoff_acc_id': fields.many2one('account.account', 'Counterpart Account', readonly=True, states={'draft': [('readonly', False)]}),
1431- 'comment': fields.char('Counterpart Comment', size=64, required=True, readonly=True, states={'draft': [('readonly', False)]}),
1432+ 'comment': fields.char('Counterpart Comment', required=True, readonly=True, states={'draft': [('readonly', False)]}),
1433 'analytic_id': fields.many2one('account.analytic.account','Write-Off Analytic Account', readonly=True, states={'draft': [('readonly', False)]}),
1434 'writeoff_amount': fields.function(_get_writeoff_amount, string='Difference Amount', type='float', readonly=True, help="Computed as the difference between the amount stated in the voucher and the sum of allocation on the voucher lines."),
1435 'payment_rate_currency_id': fields.many2one('res.currency', 'Payment Rate Currency', required=True, readonly=True, states={'draft':[('readonly',False)]}),
1436@@ -1484,13 +1484,13 @@
1437
1438 _columns = {
1439 'voucher_id':fields.many2one('account.voucher', 'Voucher', required=1, ondelete='cascade'),
1440- 'name':fields.char('Description', size=256),
1441+ 'name':fields.char('Description',),
1442 'account_id':fields.many2one('account.account','Account', required=True),
1443 'partner_id':fields.related('voucher_id', 'partner_id', type='many2one', relation='res.partner', string='Partner'),
1444 'untax_amount':fields.float('Untax Amount'),
1445 'amount':fields.float('Amount', digits_compute=dp.get_precision('Account')),
1446 'reconcile': fields.boolean('Full Reconcile'),
1447- 'type':fields.selection([('dr','Debit'),('cr','Credit')], 'Dr/Cr'),
1448+ 'type':fields.selection([('dr','Debit'),('cr','Credit')], 'Dr/Cr', size=2),
1449 'account_analytic_id': fields.many2one('account.analytic.account', 'Analytic Account'),
1450 'move_line_id': fields.many2one('account.move.line', 'Journal Item'),
1451 'date_original': fields.related('move_line_id','date', type='date', relation='account.move.line', string='Date', readonly=1),
1452
1453=== modified file 'account_voucher/report/account_voucher_sales_receipt.py'
1454--- account_voucher/report/account_voucher_sales_receipt.py 2013-10-27 12:31:04 +0000
1455+++ account_voucher/report/account_voucher_sales_receipt.py 2014-05-12 18:39:30 +0000
1456@@ -32,7 +32,7 @@
1457 'day': fields.char('Day', size=128, readonly=True),
1458 'month': fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'),
1459 ('05','May'), ('06','June'), ('07','July'), ('08','August'), ('09','September'),
1460- ('10','October'), ('11','November'), ('12','December')], 'Month', readonly=True),
1461+ ('10','October'), ('11','November'), ('12','December')], 'Month', size=2, readonly=True),
1462 'currency_id': fields.many2one('res.currency', 'Currency', readonly=True),
1463 'journal_id': fields.many2one('account.journal', 'Journal', readonly=True),
1464 'partner_id': fields.many2one('res.partner', 'Partner', readonly=True),
1465@@ -46,17 +46,17 @@
1466 ('purchase','Purchase'),
1467 ('payment','Payment'),
1468 ('receipt','Receipt'),
1469- ],'Type', readonly=True),
1470+ ],'Type', size=8, readonly=True),
1471 'state': fields.selection([
1472 ('draft','Draft'),
1473 ('proforma','Pro-forma'),
1474 ('posted','Posted'),
1475 ('cancel','Cancelled')
1476- ], 'Voucher Status', readonly=True),
1477+ ], 'Voucher Status', size=8, readonly=True),
1478 'pay_now':fields.selection([
1479 ('pay_now','Pay Directly'),
1480 ('pay_later','Pay Later or Group Funds'),
1481- ],'Payment', readonly=True),
1482+ ],'Payment', size=9, readonly=True),
1483 'date_due': fields.date('Due Date', readonly=True),
1484 'account_id': fields.many2one('account.account', 'Account',readonly=True),
1485 'delay_to_pay': fields.float('Avg. Delay To Pay', readonly=True, group_operator="avg"),
1486
1487=== modified file 'analytic/analytic.py'
1488--- analytic/analytic.py 2014-04-01 12:36:57 +0000
1489+++ analytic/analytic.py 2014-05-12 18:39:30 +0000
1490@@ -171,10 +171,10 @@
1491 return result
1492
1493 _columns = {
1494- 'name': fields.char('Account/Contract Name', size=128, required=True, track_visibility='onchange'),
1495+ 'name': fields.char('Account/Contract Name', required=True, track_visibility='onchange'),
1496 'complete_name': fields.function(_get_full_name, type='char', string='Full Name'),
1497 'code': fields.char('Reference', select=True, track_visibility='onchange'),
1498- 'type': fields.selection([('view','Analytic View'), ('normal','Analytic Account'),('contract','Contract or Project'),('template','Template of Contract')], 'Type of Account', required=True,
1499+ 'type': fields.selection([('view','Analytic View'), ('normal','Analytic Account'),('contract','Contract or Project'),('template','Template of Contract')], 'Type of Account', size=8, required=True,
1500 help="If you select the View Type, it means you won\'t allow to create journal entries using that account.\n"\
1501 "The type 'Analytic account' stands for usual accounts that you only want to use in accounting.\n"\
1502 "If you select Contract or Project, it offers you the possibility to manage the validity and the invoicing options for this account.\n"\
1503@@ -196,7 +196,7 @@
1504 'date_start': fields.date('Start Date'),
1505 'date': fields.date('Expiration Date', select=True, track_visibility='onchange'),
1506 'company_id': fields.many2one('res.company', 'Company', required=False), #not required because we want to allow different companies to use the same chart of account, except for leaf accounts.
1507- 'state': fields.selection([('template', 'Template'),('draft','New'),('open','In Progress'),('pending','To Renew'),('close','Closed'),('cancelled', 'Cancelled')], 'Status', required=True, track_visibility='onchange'),
1508+ 'state': fields.selection([('template', 'Template'),('draft','New'),('open','In Progress'),('pending','To Renew'),('close','Closed'),('cancelled', 'Cancelled')], 'Status', size=9, required=True, track_visibility='onchange'),
1509 'currency_id': fields.function(_currency, fnct_inv=_set_company_currency, #the currency_id field is readonly except if it's a view account and if there is no company
1510 store = {
1511 'res.company': (_get_analytic_account, ['currency_id'], 10),
1512@@ -314,7 +314,7 @@
1513 _description = 'Analytic Line'
1514
1515 _columns = {
1516- 'name': fields.char('Description', size=256, required=True),
1517+ 'name': fields.char('Description', required=True),
1518 'date': fields.date('Date', required=True, select=True),
1519 'amount': fields.float('Amount', required=True, help='Calculated by multiplying the quantity and the price given in the Product\'s cost price. Always expressed in the company main currency.', digits_compute=dp.get_precision('Account')),
1520 'unit_amount': fields.float('Quantity', help='Specifies the amount of quantity to count.'),
1521
1522=== modified file 'anonymization/anonymization.py'
1523--- anonymization/anonymization.py 2013-10-27 12:31:04 +0000
1524+++ anonymization/anonymization.py 2014-05-12 18:39:30 +0000
1525@@ -54,11 +54,11 @@
1526 _rec_name = 'field_id'
1527
1528 _columns = {
1529- 'model_name': fields.char('Object Name', size=128, required=True),
1530+ 'model_name': fields.char('Object Name', required=True),
1531 'model_id': fields.many2one('ir.model', 'Object', ondelete='set null'),
1532- 'field_name': fields.char('Field Name', size=128, required=True),
1533+ 'field_name': fields.char('Field Name', required=True),
1534 'field_id': fields.many2one('ir.model.fields', 'Field', ondelete='set null'),
1535- 'state': fields.selection(selection=FIELD_STATES, String='Status', required=True, readonly=True),
1536+ 'state': fields.selection(selection=FIELD_STATES, String='Status', size=12, required=True, readonly=True),
1537 }
1538
1539 _sql_constraints = [
1540@@ -225,10 +225,10 @@
1541 _columns = {
1542 'date': fields.datetime('Date', required=True, readonly=True),
1543 'field_ids': fields.many2many('ir.model.fields.anonymization', 'anonymized_field_to_history_rel', 'field_id', 'history_id', 'Fields', readonly=True),
1544- 'state': fields.selection(selection=ANONYMIZATION_HISTORY_STATE, string='Status', required=True, readonly=True),
1545- 'direction': fields.selection(selection=ANONYMIZATION_DIRECTION, string='Direction', required=True, readonly=True),
1546+ 'state': fields.selection(selection=ANONYMIZATION_HISTORY_STATE, string='Status', size=12, required=True, readonly=True),
1547+ 'direction': fields.selection(selection=ANONYMIZATION_DIRECTION, string='Direction', size=20, required=True, readonly=True),
1548 'msg': fields.text('Message', readonly=True),
1549- 'filepath': fields.char(string='File path', size=256, readonly=True),
1550+ 'filepath': fields.char(string='File path', readonly=True),
1551 }
1552
1553
1554@@ -253,7 +253,7 @@
1555 return res
1556
1557 _columns = {
1558- 'name': fields.char(size=64, string='File Name'),
1559+ 'name': fields.char(string='File Name'),
1560 'summary': fields.function(_get_summary, type='text', string='Summary'),
1561 'file_export': fields.binary(string='Export'),
1562 'file_import': fields.binary(string='Import', help="This is the file created by the anonymization process. It should have the '.pickle' extention."),
1563@@ -629,7 +629,7 @@
1564 'model_name': fields.char('Model'),
1565 'field_name': fields.char('Field'),
1566 'query': fields.text('Query'),
1567- 'query_type': fields.selection(string='Query', selection=[('sql', 'sql'), ('python', 'python')]),
1568+ 'query_type': fields.selection(string='Query', selection=[('sql', 'sql'), ('python', 'python')], size=6),
1569 'sequence': fields.integer('Sequence'),
1570 }
1571
1572
1573=== modified file 'auth_ldap/users_ldap.py'
1574--- auth_ldap/users_ldap.py 2014-01-29 18:47:03 +0000
1575+++ auth_ldap/users_ldap.py 2014-05-12 18:39:30 +0000
1576@@ -205,16 +205,16 @@
1577 'sequence': fields.integer('Sequence'),
1578 'company': fields.many2one('res.company', 'Company', required=True,
1579 ondelete='cascade'),
1580- 'ldap_server': fields.char('LDAP Server address', size=64, required=True),
1581+ 'ldap_server': fields.char('LDAP Server address', required=True),
1582 'ldap_server_port': fields.integer('LDAP Server port', required=True),
1583- 'ldap_binddn': fields.char('LDAP binddn', size=64,
1584+ 'ldap_binddn': fields.char('LDAP binddn',
1585 help=("The user account on the LDAP server that is used to query "
1586 "the directory. Leave empty to connect anonymously.")),
1587- 'ldap_password': fields.char('LDAP password', size=64,
1588+ 'ldap_password': fields.char('LDAP password',
1589 help=("The password of the user account on the LDAP server that is "
1590 "used to query the directory.")),
1591- 'ldap_filter': fields.char('LDAP filter', size=256, required=True),
1592- 'ldap_base': fields.char('LDAP base', size=64, required=True),
1593+ 'ldap_filter': fields.char('LDAP filter', required=True),
1594+ 'ldap_base': fields.char('LDAP base', required=True),
1595 'user': fields.many2one('res.users', 'Template User',
1596 help="User to copy when creating new users"),
1597 'create_user': fields.boolean('Create user',
1598
1599=== modified file 'base_action_rule/base_action_rule.py'
1600--- base_action_rule/base_action_rule.py 2014-02-12 17:51:41 +0000
1601+++ base_action_rule/base_action_rule.py 2014-05-12 18:39:30 +0000
1602@@ -54,7 +54,7 @@
1603 _order = 'sequence'
1604
1605 _columns = {
1606- 'name': fields.char('Rule Name', size=64, required=True),
1607+ 'name': fields.char('Rule Name', required=True),
1608 'model_id': fields.many2one('ir.model', 'Related Document Model',
1609 required=True, domain=[('osv_memory', '=', False)]),
1610 'model': fields.related('model_id', 'model', type="char", size=256, string='Model'),
1611@@ -68,7 +68,7 @@
1612 ('on_write', 'On Update'),
1613 ('on_create_or_write', 'On Creation & Update'),
1614 ('on_time', 'Based on Timed Condition')],
1615- string='When to Run'),
1616+ string='When to Run', size=18),
1617 'trg_date_id': fields.many2one('ir.model.fields', string='Trigger Date',
1618 help="When should the condition be triggered. If present, will be checked by the scheduler. If empty, will be checked at creation and update.",
1619 domain="[('model_id', '=', model_id), ('ttype', 'in', ('date', 'datetime'))]"),
1620@@ -77,7 +77,7 @@
1621 "You can put a negative number if you need a delay before the" \
1622 "trigger date, like sending a reminder 15 minutes before a meeting."),
1623 'trg_date_range_type': fields.selection([('minutes', 'Minutes'), ('hour', 'Hours'),
1624- ('day', 'Days'), ('month', 'Months')], 'Delay type'),
1625+ ('day', 'Days'), ('month', 'Months')], 'Delay type', size=7),
1626 'trg_date_calendar_id': fields.many2one(
1627 'resource.calendar', 'Use Calendar',
1628 help='When calculating a day-based timed condition, it is possible to use a calendar to compute the date based on working days.',
1629
1630=== modified file 'base_action_rule/test_models.py'
1631--- base_action_rule/test_models.py 2013-10-27 12:31:04 +0000
1632+++ base_action_rule/test_models.py 2014-05-12 18:39:30 +0000
1633@@ -12,9 +12,9 @@
1634 _name = "base.action.rule.lead.test"
1635
1636 _columns = {
1637- 'name': fields.char('Subject', size=64, required=True, select=1),
1638+ 'name': fields.char('Subject', required=True, select=1),
1639 'user_id': fields.many2one('res.users', 'Responsible'),
1640- 'state': fields.selection(AVAILABLE_STATES, string="Status", readonly=True),
1641+ 'state': fields.selection(AVAILABLE_STATES, string="Status", size=7, readonly=True),
1642 'active': fields.boolean('Active', required=False),
1643 'partner_id': fields.many2one('res.partner', 'Partner', ondelete='set null'),
1644 'date_action_last': fields.datetime('Last Action', readonly=1),
1645
1646=== modified file 'base_gengo/ir_translation.py'
1647--- base_gengo/ir_translation.py 2014-04-01 05:45:18 +0000
1648+++ base_gengo/ir_translation.py 2014-05-12 18:39:30 +0000
1649@@ -61,11 +61,11 @@
1650 _inherit = "ir.translation"
1651 _columns = {
1652 'gengo_comment': fields.text("Comments & Activity Linked to Gengo"),
1653- 'job_id': fields.char('Gengo Job ID', size=32),
1654+ 'job_id': fields.char('Gengo Job ID'),
1655 "gengo_translation": fields.selection([('machine', 'Translation By Machine'),
1656 ('standard', 'Standard'),
1657 ('pro', 'Pro'),
1658- ('ultra', 'Ultra')], "Gengo Translation Service Level", help='You can select here the service level you want for an automatic translation using Gengo.'),
1659+ ('ultra', 'Ultra')], "Gengo Translation Service Level", size=8, help='You can select here the service level you want for an automatic translation using Gengo.'),
1660 }
1661
1662 def _get_all_supported_languages(self, cr, uid, context=None):
1663
1664=== modified file 'base_gengo/wizard/base_gengo_translations.py'
1665--- base_gengo/wizard/base_gengo_translations.py 2014-04-09 21:59:27 +0000
1666+++ base_gengo/wizard/base_gengo_translations.py 2014-05-12 18:39:30 +0000
1667@@ -42,7 +42,7 @@
1668 _columns = {
1669 'sync_type': fields.selection([('send', 'Send New Terms'),
1670 ('receive', 'Receive Translation'),
1671- ('both', 'Both')], "Sync Type"),
1672+ ('both', 'Both')], "Sync Type", size=7),
1673 'lang_id': fields.many2one('res.lang', 'Language', required=True),
1674 'sync_limit': fields.integer("No. of terms to sync"),
1675 }
1676
1677=== modified file 'base_import/models.py'
1678--- base_import/models.py 2014-03-13 09:19:20 +0000
1679+++ base_import/models.py 2014-05-12 18:39:30 +0000
1680@@ -22,11 +22,11 @@
1681 _transient_max_hours = 12.0
1682
1683 _columns = {
1684- 'res_model': fields.char('Model', size=64),
1685+ 'res_model': fields.char('Model'),
1686 'file': fields.binary(
1687 'File', help="File to check and/or import, raw binary (not base64)"),
1688- 'file_name': fields.char('File Name', size=None),
1689- 'file_type': fields.char('File Type', size=None),
1690+ 'file_name': fields.char('File Name'),
1691+ 'file_type': fields.char('File Type'),
1692 }
1693
1694 def get_fields(self, cr, uid, model, context=None,
1695
1696=== modified file 'base_import/test_models.py'
1697--- base_import/test_models.py 2012-09-11 13:24:46 +0000
1698+++ base_import/test_models.py 2014-05-12 18:39:30 +0000
1699@@ -6,42 +6,42 @@
1700 _name = name('char')
1701
1702 _columns = {
1703- 'value': fields.char('unknown', size=None)
1704+ 'value': fields.char('unknown')
1705 }
1706
1707 class char_required(orm.Model):
1708 _name = name('char.required')
1709
1710 _columns = {
1711- 'value': fields.char('unknown', size=None, required=True)
1712+ 'value': fields.char('unknown', required=True)
1713 }
1714
1715 class char_readonly(orm.Model):
1716 _name = name('char.readonly')
1717
1718 _columns = {
1719- 'value': fields.char('unknown', size=None, readonly=True)
1720+ 'value': fields.char('unknown', readonly=True)
1721 }
1722
1723 class char_states(orm.Model):
1724 _name = name('char.states')
1725
1726 _columns = {
1727- 'value': fields.char('unknown', size=None, readonly=True, states={'draft': [('readonly', False)]})
1728+ 'value': fields.char('unknown', readonly=True, states={'draft': [('readonly', False)]})
1729 }
1730
1731 class char_noreadonly(orm.Model):
1732 _name = name('char.noreadonly')
1733
1734 _columns = {
1735- 'value': fields.char('unknown', size=None, readonly=True, states={'draft': [('invisible', True)]})
1736+ 'value': fields.char('unknown', readonly=True, states={'draft': [('invisible', True)]})
1737 }
1738
1739 class char_stillreadonly(orm.Model):
1740 _name = name('char.stillreadonly')
1741
1742 _columns = {
1743- 'value': fields.char('unknown', size=None, readonly=True, states={'draft': [('readonly', True)]})
1744+ 'value': fields.char('unknown', readonly=True, states={'draft': [('readonly', True)]})
1745 }
1746
1747 # TODO: complex field (m2m, o2m, m2o)
1748@@ -95,7 +95,7 @@
1749 _name = name('preview')
1750
1751 _columns = {
1752- 'name': fields.char('Name', size=None),
1753+ 'name': fields.char('Name'),
1754 'somevalue': fields.integer('Some Value', required=True),
1755 'othervalue': fields.integer('Other Variable'),
1756 }
1757
1758=== modified file 'base_report_designer/installer.py'
1759--- base_report_designer/installer.py 2013-10-27 12:31:04 +0000
1760+++ base_report_designer/installer.py 2014-05-12 18:39:30 +0000
1761@@ -35,8 +35,8 @@
1762 return data
1763
1764 _columns = {
1765- 'name':fields.char('File name', size=34),
1766- 'plugin_file':fields.char('OpenObject Report Designer Plug-in', size=256, readonly=True, help="OpenObject Report Designer plug-in file. Save as this file and install this plug-in in OpenOffice."),
1767+ 'name':fields.char('File name'),
1768+ 'plugin_file':fields.char('OpenObject Report Designer Plug-in', readonly=True, help="OpenObject Report Designer plug-in file. Save as this file and install this plug-in in OpenOffice."),
1769 'description':fields.text('Description', readonly=True)
1770 }
1771
1772
1773=== modified file 'base_setup/base_setup.py'
1774--- base_setup/base_setup.py 2013-10-27 12:31:04 +0000
1775+++ base_setup/base_setup.py 2014-05-12 18:39:30 +0000
1776@@ -40,7 +40,7 @@
1777 ('Donor','Donor'),
1778 ('Guest','Guest'),
1779 ('Tenant','Tenant')
1780- ], 'How do you call a Customer', required=True ),
1781+ ], 'How do you call a Customer', size=8, required=True ),
1782 }
1783 _defaults={
1784 'partner' :'Customer',
1785
1786=== modified file 'board/board.py'
1787--- board/board.py 2013-10-30 19:55:08 +0000
1788+++ board/board.py 2014-05-12 18:39:30 +0000
1789@@ -168,7 +168,7 @@
1790 _description = "Board Creation"
1791
1792 _columns = {
1793- 'name': fields.char('Board Name', size=64, required=True),
1794+ 'name': fields.char('Board Name', required=True),
1795 'menu_parent_id': fields.many2one('ir.ui.menu', 'Parent Menu', required=True),
1796 }
1797
1798
1799=== modified file 'crm/base_partner_merge.py'
1800--- crm/base_partner_merge.py 2013-12-19 14:47:39 +0000
1801+++ crm/base_partner_merge.py 2014-05-12 18:39:30 +0000
1802@@ -95,7 +95,7 @@
1803 'state': fields.selection([('option', 'Option'),
1804 ('selection', 'Selection'),
1805 ('finished', 'Finished')],
1806- 'State',
1807+ 'State', size=9,
1808 readonly=True,
1809 required=True),
1810 'number_group': fields.integer("Group of Contacts", readonly=True),
1811
1812=== modified file 'crm/crm.py'
1813--- crm/crm.py 2014-02-28 13:18:55 +0000
1814+++ crm/crm.py 2014-05-12 18:39:30 +0000
1815@@ -40,7 +40,7 @@
1816 _description = "Channels"
1817 _order = 'name'
1818 _columns = {
1819- 'name': fields.char('Channel Name', size=64, required=True),
1820+ 'name': fields.char('Channel Name', required=True),
1821 'active': fields.boolean('Active'),
1822 }
1823 _defaults = {
1824@@ -59,7 +59,7 @@
1825 _order = "sequence"
1826
1827 _columns = {
1828- 'name': fields.char('Stage Name', size=64, required=True, translate=True),
1829+ 'name': fields.char('Stage Name', required=True, translate=True),
1830 'sequence': fields.integer('Sequence', help="Used to order stages. Lower is better."),
1831 'probability': fields.float('Probability (%)', required=True, help="This percentage depicts the default/average probability of the Case for this stage to be a success"),
1832 'on_change': fields.boolean('Change Probability Automatically', help="Setting this stage will change the probability automatically on the opportunity."),
1833@@ -74,7 +74,7 @@
1834 'type': fields.selection([('lead', 'Lead'),
1835 ('opportunity', 'Opportunity'),
1836 ('both', 'Both')],
1837- string='Type', size=16, required=True,
1838+ string='Type', size=11, required=True,
1839 help="This field is used to distinguish stages related to Leads from stages related to Opportunities, or to specify stages available for both types."),
1840 }
1841
1842@@ -155,8 +155,8 @@
1843 return res
1844
1845 _columns = {
1846- 'name': fields.char('Sales Team', size=64, required=True, translate=True),
1847- 'complete_name': fields.function(get_full_name, type='char', size=256, readonly=True, store=True),
1848+ 'name': fields.char('Sales Team', required=True, translate=True),
1849+ 'complete_name': fields.function(get_full_name, type='char', readonly=True, store=True),
1850 'code': fields.char('Code', size=8),
1851 'active': fields.boolean('Active', help="If the active field is set to "\
1852 "true, it will allow you to hide the sales team without removing it."),
1853@@ -241,7 +241,7 @@
1854 _name = "crm.case.categ"
1855 _description = "Category of Case"
1856 _columns = {
1857- 'name': fields.char('Name', size=64, required=True, translate=True),
1858+ 'name': fields.char('Name', required=True, translate=True),
1859 'section_id': fields.many2one('crm.case.section', 'Sales Team'),
1860 'object_id': fields.many2one('ir.model', 'Object Name'),
1861 }
1862@@ -261,7 +261,7 @@
1863 _description = "Campaign"
1864 _rec_name = "name"
1865 _columns = {
1866- 'name': fields.char('Campaign Name', size=64, required=True, translate=True),
1867+ 'name': fields.char('Campaign Name', required=True, translate=True),
1868 'section_id': fields.many2one('crm.case.section', 'Sales Team'),
1869 }
1870
1871@@ -270,7 +270,7 @@
1872 _name = "crm.payment.mode"
1873 _description = "CRM Payment Mode"
1874 _columns = {
1875- 'name': fields.char('Name', size=64, required=True),
1876+ 'name': fields.char('Name', required=True),
1877 'section_id': fields.many2one('crm.case.section', 'Sales Team'),
1878 }
1879
1880
1881=== modified file 'crm/crm_lead.py'
1882--- crm/crm_lead.py 2014-05-08 12:35:29 +0000
1883+++ crm/crm_lead.py 2014-05-12 18:39:30 +0000
1884@@ -226,7 +226,7 @@
1885 select=True, help="Linked partner (optional). Usually created when converting the lead."),
1886
1887 'id': fields.integer('ID', readonly=True),
1888- 'name': fields.char('Subject', size=64, required=True, select=1),
1889+ 'name': fields.char('Subject', required=True, select=1),
1890 'active': fields.boolean('Active', required=False),
1891 'date_action_last': fields.datetime('Last Action', readonly=1),
1892 'date_action_next': fields.datetime('Next Action', readonly=1),
1893@@ -247,13 +247,13 @@
1894 'opt_out': fields.boolean('Opt-Out', oldname='optout',
1895 help="If opt-out is checked, this contact has refused to receive emails for mass mailing and marketing campaign. "
1896 "Filter 'Available for Mass Mailing' allows users to filter the leads when performing mass mailing."),
1897- 'type': fields.selection([ ('lead','Lead'), ('opportunity','Opportunity'), ],'Type', select=True, help="Type is used to separate Leads and Opportunities"),
1898- 'priority': fields.selection(crm.AVAILABLE_PRIORITIES, 'Priority', select=True),
1899+ 'type': fields.selection([ ('lead','Lead'), ('opportunity','Opportunity'), ],'Type', size=11, select=True, help="Type is used to separate Leads and Opportunities"),
1900+ 'priority': fields.selection(crm.AVAILABLE_PRIORITIES, 'Priority', size=1, select=True),
1901 'date_closed': fields.datetime('Closed', readonly=True),
1902 'stage_id': fields.many2one('crm.case.stage', 'Stage', track_visibility='onchange', select=True,
1903 domain="['&', ('section_ids', '=', section_id), '|', ('type', '=', type), ('type', '=', 'both')]"),
1904 'user_id': fields.many2one('res.users', 'Salesperson', select=True, track_visibility='onchange'),
1905- 'referred': fields.char('Referred By', size=64),
1906+ 'referred': fields.char('Referred By'),
1907 'date_open': fields.datetime('Assigned', readonly=True),
1908 'day_open': fields.function(_compute_day, string='Days to Open', \
1909 multi='day_open', type="float", store=True),
1910@@ -271,7 +271,7 @@
1911 'phone': fields.char("Phone", size=64),
1912 'date_deadline': fields.date('Expected Closing', help="Estimate of the date on which the opportunity will be won."),
1913 'date_action': fields.date('Next Action Date', select=True),
1914- 'title_action': fields.char('Next Action', size=64),
1915+ 'title_action': fields.char('Next Action'),
1916 'color': fields.integer('Color Index'),
1917 'partner_address_name': fields.related('partner_id', 'name', type='char', string='Partner Contact Name', readonly=True),
1918 'partner_address_email': fields.related('partner_id', 'email', type='char', string='Partner Contact Email', readonly=True),
1919@@ -280,16 +280,16 @@
1920 'user_login': fields.related('user_id', 'login', type='char', string='User Login', readonly=True),
1921
1922 # Fields for address, due to separation from crm and res.partner
1923- 'street': fields.char('Street', size=128),
1924- 'street2': fields.char('Street2', size=128),
1925- 'zip': fields.char('Zip', change_default=True, size=24),
1926- 'city': fields.char('City', size=128),
1927+ 'street': fields.char('Street'),
1928+ 'street2': fields.char('Street2'),
1929+ 'zip': fields.char('Zip', change_default=True),
1930+ 'city': fields.char('City'),
1931 'state_id': fields.many2one("res.country.state", 'State'),
1932 'country_id': fields.many2one('res.country', 'Country'),
1933- 'phone': fields.char('Phone', size=64),
1934- 'fax': fields.char('Fax', size=64),
1935- 'mobile': fields.char('Mobile', size=64),
1936- 'function': fields.char('Function', size=128),
1937+ 'phone': fields.char('Phone'),
1938+ 'fax': fields.char('Fax'),
1939+ 'mobile': fields.char('Mobile'),
1940+ 'function': fields.char('Function'),
1941 'title': fields.many2one('res.partner.title', 'Title'),
1942 'company_id': fields.many2one('res.company', 'Company', select=1),
1943 'payment_mode': fields.many2one('crm.payment.mode', 'Payment Mode', \
1944
1945=== modified file 'crm/crm_phonecall.py'
1946--- crm/crm_phonecall.py 2014-05-08 12:35:29 +0000
1947+++ crm/crm_phonecall.py 2014-05-12 18:39:30 +0000
1948@@ -47,22 +47,22 @@
1949 ('cancel', 'Cancelled'),
1950 ('pending', 'Pending'),
1951 ('done', 'Held')
1952- ], string='Status', readonly=True, track_visibility='onchange',
1953+ ], string='Status', size=7, readonly=True, track_visibility='onchange',
1954 help='The status is set to Confirmed, when a case is created.\n'
1955 'When the call is over, the status is set to Held.\n'
1956 'If the callis not applicable anymore, the status can be set to Cancelled.'),
1957 'email_from': fields.char('Email', size=128, help="These people will receive email."),
1958 'date_open': fields.datetime('Opened', readonly=True),
1959 # phonecall fields
1960- 'name': fields.char('Call Summary', size=64, required=True),
1961+ 'name': fields.char('Call Summary', required=True),
1962 'active': fields.boolean('Active', required=False),
1963 'duration': fields.float('Duration', help='Duration in minutes and seconds.'),
1964 'categ_id': fields.many2one('crm.case.categ', 'Category', \
1965 domain="['|',('section_id','=',section_id),('section_id','=',False),\
1966 ('object_id.model', '=', 'crm.phonecall')]"),
1967- 'partner_phone': fields.char('Phone', size=32),
1968- 'partner_mobile': fields.char('Mobile', size=32),
1969- 'priority': fields.selection([('0','Low'), ('1','Normal'), ('2','High')], 'Priority'),
1970+ 'partner_phone': fields.char('Phone'),
1971+ 'partner_mobile': fields.char('Mobile'),
1972+ 'priority': fields.selection([('0','Low'), ('1','Normal'), ('2','High')], 'Priority', size=1),
1973 'date_closed': fields.datetime('Closed', readonly=True),
1974 'date': fields.datetime('Date'),
1975 'opportunity_id': fields.many2one ('crm.lead', 'Lead/Opportunity'),
1976
1977=== modified file 'crm/crm_segmentation.py'
1978--- crm/crm_segmentation.py 2013-10-27 12:31:04 +0000
1979+++ crm/crm_segmentation.py 2014-05-12 18:39:30 +0000
1980@@ -30,7 +30,7 @@
1981 _description = "Partner Segmentation"
1982
1983 _columns = {
1984- 'name': fields.char('Name', size=64, required=True, help='The name of the segmentation.'),
1985+ 'name': fields.char('Name', required=True, help='The name of the segmentation.'),
1986 'description': fields.text('Description'),
1987 'categ_id': fields.many2one('res.partner.category', 'Partner Category',\
1988 required=True, help='The partner category that will be \
1989@@ -38,7 +38,7 @@
1990 'exclusif': fields.boolean('Exclusive', help='Check if the category is limited to partners that match the segmentation criterions.\
1991 \nIf checked, remove the category from partners that doesn\'t match segmentation criterions'),
1992 'state': fields.selection([('not running','Not Running'),\
1993- ('running','Running')], 'Execution Status', readonly=True),
1994+ ('running','Running')], 'Execution Status', size=11, readonly=True),
1995 'partner_id': fields.integer('Max Partner ID processed'),
1996 'segmentation_line': fields.one2many('crm.segmentation.line', \
1997 'segmentation_id', 'Criteria', required=True),
1998@@ -115,14 +115,14 @@
1999 _description = "Segmentation line"
2000
2001 _columns = {
2002- 'name': fields.char('Rule Name', size=64, required=True),
2003+ 'name': fields.char('Rule Name', required=True),
2004 'segmentation_id': fields.many2one('crm.segmentation', 'Segmentation'),
2005 'expr_name': fields.selection([('sale','Sale Amount'),
2006- ('purchase','Purchase Amount')], 'Control Variable', size=64, required=True),
2007- 'expr_operator': fields.selection([('<','<'),('=','='),('>','>')], 'Operator', required=True),
2008+ ('purchase','Purchase Amount')], 'Control Variable', size=8, required=True),
2009+ 'expr_operator': fields.selection([('<','<'),('=','='),('>','>')], 'Operator', size=1, required=True),
2010 'expr_value': fields.float('Value', required=True),
2011 'operator': fields.selection([('and','Mandatory Expression'),\
2012- ('or','Optional Expression')],'Mandatory / Optional', required=True),
2013+ ('or','Optional Expression')],'Mandatory / Optional', size=3, required=True),
2014 }
2015 _defaults = {
2016 'expr_name': lambda *a: 'sale',
2017
2018=== modified file 'crm/report/crm_lead_report.py'
2019--- crm/report/crm_lead_report.py 2014-02-07 13:51:34 +0000
2020+++ crm/report/crm_lead_report.py 2014-05-12 18:39:30 +0000
2021@@ -46,7 +46,7 @@
2022 _rec_name = 'date_deadline'
2023
2024 _columns = {
2025- 'date_deadline': fields.date('Exp. Closing', size=10, readonly=True, help="Expected Closing"),
2026+ 'date_deadline': fields.date('Exp. Closing', readonly=True, help="Expected Closing"),
2027 'create_date': fields.datetime('Creation Date', readonly=True),
2028 'opening_date': fields.date('Assignation Date', readonly=True),
2029 'date_closed': fields.date('Close Date', readonly=True),
2030@@ -73,7 +73,7 @@
2031 'type':fields.selection([
2032 ('lead','Lead'),
2033 ('opportunity','Opportunity'),
2034- ],'Type', help="Type is used to separate Leads and Opportunities"),
2035+ ],'Type', size=11, help="Type is used to separate Leads and Opportunities"),
2036 }
2037
2038 def init(self, cr):
2039
2040=== modified file 'crm/report/crm_phonecall_report.py'
2041--- crm/report/crm_phonecall_report.py 2014-02-14 11:49:37 +0000
2042+++ crm/report/crm_phonecall_report.py 2014-05-12 18:39:30 +0000
2043@@ -42,9 +42,9 @@
2044 _columns = {
2045 'user_id':fields.many2one('res.users', 'User', readonly=True),
2046 'section_id':fields.many2one('crm.case.section', 'Section', readonly=True),
2047- 'priority': fields.selection([('0','Low'), ('1','Normal'), ('2','High')], 'Priority'),
2048+ 'priority': fields.selection([('0','Low'), ('1','Normal'), ('2','High')], 'Priority', size=1),
2049 'nbr': fields.integer('# of Cases', readonly=True),
2050- 'state': fields.selection(AVAILABLE_STATES, 'Status', size=16, readonly=True),
2051+ 'state': fields.selection(AVAILABLE_STATES, 'Status', size=7, readonly=True),
2052 'create_date': fields.datetime('Create Date', readonly=True, select=True),
2053 'delay_close': fields.float('Delay to close', digits=(16,2),readonly=True, group_operator="avg",help="Number of Days to close the case"),
2054 'duration': fields.float('Duration', digits=(16,2),readonly=True, group_operator="avg"),
2055
2056=== modified file 'crm/wizard/crm_lead_to_opportunity.py'
2057--- crm/wizard/crm_lead_to_opportunity.py 2014-03-24 13:38:11 +0000
2058+++ crm/wizard/crm_lead_to_opportunity.py 2014-05-12 18:39:30 +0000
2059@@ -33,7 +33,7 @@
2060 'name': fields.selection([
2061 ('convert', 'Convert to opportunity'),
2062 ('merge', 'Merge with existing opportunities')
2063- ], 'Conversion Action', required=True),
2064+ ], 'Conversion Action', size=7, required=True),
2065 'opportunity_ids': fields.many2many('crm.lead', string='Opportunities'),
2066 'user_id': fields.many2one('res.users', 'Salesperson', select=True),
2067 'section_id': fields.many2one('crm.case.section', 'Sales Team', select=True),
2068@@ -199,7 +199,7 @@
2069 'action': fields.selection([
2070 ('each_exist_or_create', 'Use existing partner or create'),
2071 ('nothing', 'Do not link to a customer')
2072- ], 'Related Customer', required=True),
2073+ ], 'Related Customer', size=20, required=True),
2074 'force_assignation': fields.boolean('Force assignation', help='If unchecked, this will leave the salesman of duplicated opportunities'),
2075 }
2076
2077
2078=== modified file 'crm/wizard/crm_partner_binding.py'
2079--- crm/wizard/crm_partner_binding.py 2013-02-04 17:51:06 +0000
2080+++ crm/wizard/crm_partner_binding.py 2014-05-12 18:39:30 +0000
2081@@ -38,7 +38,7 @@
2082 ('exist', 'Link to an existing customer'),
2083 ('create', 'Create a new customer'),
2084 ('nothing', 'Do not link to a customer')
2085- ], 'Related Customer', required=True),
2086+ ], 'Related Customer', size=7, required=True),
2087 'partner_id': fields.many2one('res.partner', 'Customer'),
2088 }
2089
2090
2091=== modified file 'crm/wizard/crm_phonecall_to_phonecall.py'
2092--- crm/wizard/crm_phonecall_to_phonecall.py 2013-11-27 15:32:57 +0000
2093+++ crm/wizard/crm_phonecall_to_phonecall.py 2014-05-12 18:39:30 +0000
2094@@ -29,16 +29,16 @@
2095 _description = 'Phonecall To Phonecall'
2096
2097 _columns = {
2098- 'name' : fields.char('Call summary', size=64, required=True, select=1),
2099+ 'name' : fields.char('Call summary', required=True, select=1),
2100 'user_id' : fields.many2one('res.users',"Assign To"),
2101- 'contact_name':fields.char('Contact', size=64),
2102- 'phone':fields.char('Phone', size=64),
2103+ 'contact_name':fields.char('Contact'),
2104+ 'phone':fields.char('Phone'),
2105 'categ_id': fields.many2one('crm.case.categ', 'Category', \
2106 domain="['|',('section_id','=',False),('section_id','=',section_id),\
2107 ('object_id.model', '=', 'crm.phonecall')]"),
2108 'date': fields.datetime('Date'),
2109 'section_id':fields.many2one('crm.case.section','Sales Team'),
2110- 'action': fields.selection([('schedule','Schedule a call'), ('log','Log a call')], 'Action', required=True),
2111+ 'action': fields.selection([('schedule','Schedule a call'), ('log','Log a call')], 'Action', size=8, required=True),
2112 'partner_id' : fields.many2one('res.partner', "Partner"),
2113 'note':fields.text('Note')
2114 }
2115
2116=== modified file 'crm_claim/crm_claim.py'
2117--- crm_claim/crm_claim.py 2014-05-08 12:35:29 +0000
2118+++ crm_claim/crm_claim.py 2014-05-12 18:39:30 +0000
2119@@ -39,7 +39,7 @@
2120 _order = "sequence"
2121
2122 _columns = {
2123- 'name': fields.char('Stage Name', size=64, required=True, translate=True),
2124+ 'name': fields.char('Stage Name', required=True, translate=True),
2125 'sequence': fields.integer('Sequence', help="Used to order stages. Lower is better."),
2126 'section_ids':fields.many2many('crm.case.section', 'section_claim_stage_rel', 'stage_id', 'section_id', string='Sections',
2127 help="Link between stages and sales teams. When set, this limitate the current stage to the selected sales teams."),
2128@@ -73,9 +73,9 @@
2129
2130 _columns = {
2131 'id': fields.integer('ID', readonly=True),
2132- 'name': fields.char('Claim Subject', size=128, required=True),
2133+ 'name': fields.char('Claim Subject', required=True),
2134 'active': fields.boolean('Active'),
2135- 'action_next': fields.char('Next Action', size=200),
2136+ 'action_next': fields.char('Next Action'),
2137 'date_action_next': fields.datetime('Next Action Date'),
2138 'description': fields.text('Description'),
2139 'resolution': fields.text('Resolution'),
2140@@ -88,10 +88,10 @@
2141 'categ_id': fields.many2one('crm.case.categ', 'Category', \
2142 domain="[('section_id','=',section_id),\
2143 ('object_id.model', '=', 'crm.claim')]"),
2144- 'priority': fields.selection([('0','Low'), ('1','Normal'), ('2','High')], 'Priority'),
2145- 'type_action': fields.selection([('correction','Corrective Action'),('prevention','Preventive Action')], 'Action Type'),
2146+ 'priority': fields.selection([('0','Low'), ('1','Normal'), ('2','High')], 'Priority', size=1),
2147+ 'type_action': fields.selection([('correction','Corrective Action'),('prevention','Preventive Action')], 'Action Type', size=10),
2148 'user_id': fields.many2one('res.users', 'Responsible'),
2149- 'user_fault': fields.char('Trouble Responsible', size=64),
2150+ 'user_fault': fields.char('Trouble Responsible'),
2151 'section_id': fields.many2one('crm.case.section', 'Sales Team', \
2152 select=True, help="Responsible sales team."\
2153 " Define Responsible user and Email account for"\
2154@@ -100,7 +100,7 @@
2155 'partner_id': fields.many2one('res.partner', 'Partner'),
2156 'email_cc': fields.text('Watchers Emails', size=252, help="These email addresses will be added to the CC field of all inbound and outbound emails for this record before being sent. Separate multiple email addresses with a comma"),
2157 'email_from': fields.char('Email', size=128, help="Destination email for email gateway."),
2158- 'partner_phone': fields.char('Phone', size=32),
2159+ 'partner_phone': fields.char('Phone'),
2160 'stage_id': fields.many2one ('crm.claim.stage', 'Stage', track_visibility='onchange',
2161 domain="['|', ('section_ids', '=', section_id), ('case_default', '=', True)]"),
2162 'cause': fields.text('Root Cause'),
2163
2164=== modified file 'crm_claim/report/crm_claim_report.py'
2165--- crm_claim/report/crm_claim_report.py 2014-02-14 11:49:37 +0000
2166+++ crm_claim/report/crm_claim_report.py 2014-05-12 18:39:30 +0000
2167@@ -37,7 +37,7 @@
2168 _description = "CRM Claim Report"
2169
2170 _columns = {
2171- 'name': fields.char('Year', size=64, required=False, readonly=True),
2172+ 'name': fields.char('Year', required=False, readonly=True),
2173 'user_id':fields.many2one('res.users', 'User', readonly=True),
2174 'section_id':fields.many2one('crm.case.section', 'Section', readonly=True),
2175 'nbr': fields.integer('# of Cases', readonly=True),
2176@@ -46,7 +46,7 @@
2177 ('05', 'May'), ('06', 'June'), \
2178 ('07', 'July'), ('08', 'August'),\
2179 ('09', 'September'), ('10', 'October'),\
2180- ('11', 'November'), ('12', 'December')], 'Month', readonly=True),
2181+ ('11', 'November'), ('12', 'December')], 'Month', size=2, readonly=True),
2182 'company_id': fields.many2one('res.company', 'Company', readonly=True),
2183 'create_date': fields.datetime('Create Date', readonly=True, select=True),
2184 'day': fields.char('Day', size=128, readonly=True),
2185@@ -57,8 +57,8 @@
2186 ('object_id.model', '=', 'crm.claim')]", readonly=True),
2187 'partner_id': fields.many2one('res.partner', 'Partner', readonly=True),
2188 'company_id': fields.many2one('res.company', 'Company', readonly=True),
2189- 'priority': fields.selection(AVAILABLE_PRIORITIES, 'Priority'),
2190- 'type_action': fields.selection([('correction','Corrective Action'),('prevention','Preventive Action')], 'Action Type'),
2191+ 'priority': fields.selection(AVAILABLE_PRIORITIES, 'Priority', size=1),
2192+ 'type_action': fields.selection([('correction','Corrective Action'),('prevention','Preventive Action')], 'Action Type', size=10),
2193 'date_closed': fields.date('Close Date', readonly=True, select=True),
2194 'date_deadline': fields.date('Deadline', readonly=True, select=True),
2195 'delay_expected': fields.float('Overpassed Deadline',digits=(16,2),readonly=True, group_operator="avg"),
2196
2197=== modified file 'crm_helpdesk/crm_helpdesk.py'
2198--- crm_helpdesk/crm_helpdesk.py 2014-02-14 11:49:37 +0000
2199+++ crm_helpdesk/crm_helpdesk.py 2014-05-12 18:39:30 +0000
2200@@ -37,7 +37,7 @@
2201
2202 _columns = {
2203 'id': fields.integer('ID', readonly=True),
2204- 'name': fields.char('Name', size=128, required=True),
2205+ 'name': fields.char('Name', required=True),
2206 'active': fields.boolean('Active', required=False),
2207 'date_action_last': fields.datetime('Last Action', readonly=1),
2208 'date_action_next': fields.datetime('Next Action', readonly=1),
2209@@ -59,7 +59,7 @@
2210 'channel_id': fields.many2one('crm.case.channel', 'Channel', help="Communication channel."),
2211 'planned_revenue': fields.float('Planned Revenue'),
2212 'planned_cost': fields.float('Planned Costs'),
2213- 'priority': fields.selection([('0','Low'), ('1','Normal'), ('2','High')], 'Priority'),
2214+ 'priority': fields.selection([('0','Low'), ('1','Normal'), ('2','High')], 'Priority', size=1),
2215 'probability': fields.float('Probability (%)'),
2216 'categ_id': fields.many2one('crm.case.categ', 'Category', \
2217 domain="['|',('section_id','=',False),('section_id','=',section_id),\
2218@@ -70,7 +70,7 @@
2219 ('open', 'In Progress'),
2220 ('pending', 'Pending'),
2221 ('done', 'Closed'),
2222- ('cancel', 'Cancelled')], 'Status', size=16, readonly=True, track_visibility='onchange',
2223+ ('cancel', 'Cancelled')], 'Status', size=7, readonly=True, track_visibility='onchange',
2224 help='The status is set to \'Draft\', when a case is created.\
2225 \nIf the case is in progress the status is set to \'Open\'.\
2226 \nWhen the case is over, the status is set to \'Done\'.\
2227
2228=== modified file 'crm_helpdesk/report/crm_helpdesk_report.py'
2229--- crm_helpdesk/report/crm_helpdesk_report.py 2013-10-27 12:31:04 +0000
2230+++ crm_helpdesk/report/crm_helpdesk_report.py 2014-05-12 18:39:30 +0000
2231@@ -39,23 +39,23 @@
2232 _auto = False
2233
2234 _columns = {
2235- 'name': fields.char('Year', size=64, required=False, readonly=True),
2236+ 'name': fields.char('Year', required=False, readonly=True),
2237 'user_id':fields.many2one('res.users', 'User', readonly=True),
2238 'section_id':fields.many2one('crm.case.section', 'Section', readonly=True),
2239 'nbr': fields.integer('# of Cases', readonly=True),
2240- 'state': fields.selection(AVAILABLE_STATES, 'Status', size=16, readonly=True),
2241+ 'state': fields.selection(AVAILABLE_STATES, 'Status', size=7, readonly=True),
2242 'month':fields.selection([('01', 'January'), ('02', 'February'), \
2243 ('03', 'March'), ('04', 'April'),\
2244 ('05', 'May'), ('06', 'June'), \
2245 ('07', 'July'), ('08', 'August'),\
2246 ('09', 'September'), ('10', 'October'),\
2247- ('11', 'November'), ('12', 'December')], 'Month', readonly=True),
2248+ ('11', 'November'), ('12', 'December')], 'Month', size=2, readonly=True),
2249 'delay_close': fields.float('Delay to Close',digits=(16,2),readonly=True, group_operator="avg"),
2250 'partner_id': fields.many2one('res.partner', 'Partner' , readonly=True),
2251 'company_id': fields.many2one('res.company', 'Company', readonly=True),
2252 'date_deadline': fields.date('Deadline', select=True),
2253 'priority': fields.selection([('5', 'Lowest'), ('4', 'Low'), \
2254- ('3', 'Normal'), ('2', 'High'), ('1', 'Highest')], 'Priority'),
2255+ ('3', 'Normal'), ('2', 'High'), ('1', 'Highest')], 'Priority', size=1),
2256 'channel_id': fields.many2one('crm.case.channel', 'Channel'),
2257 'categ_id': fields.many2one('crm.case.categ', 'Category', \
2258 domain="[('section_id','=',section_id),\
2259
2260=== modified file 'crm_partner_assign/crm_partner_assign.py'
2261--- crm_partner_assign/crm_partner_assign.py 2013-12-02 15:09:25 +0000
2262+++ crm_partner_assign/crm_partner_assign.py 2014-05-12 18:39:30 +0000
2263@@ -32,7 +32,7 @@
2264 _columns = {
2265 'sequence': fields.integer('Sequence'),
2266 'active': fields.boolean('Active'),
2267- 'name': fields.char('Grade Name', size=32),
2268+ 'name': fields.char('Grade Name'),
2269 'partner_weight': fields.integer('Grade Weight',
2270 help="Gives the probability to assign a lead to this partner. (0 means no assignation.)"),
2271 }
2272@@ -47,7 +47,7 @@
2273
2274 _columns = {
2275 'sequence' : fields.integer('Sequence'),
2276- 'name' : fields.char('Name', size=32, required=True),
2277+ 'name' : fields.char('Name', required=True),
2278 }
2279
2280
2281
2282=== modified file 'crm_partner_assign/report/crm_lead_report.py'
2283--- crm_partner_assign/report/crm_lead_report.py 2014-01-29 10:39:29 +0000
2284+++ crm_partner_assign/report/crm_lead_report.py 2014-05-12 18:39:30 +0000
2285@@ -52,11 +52,11 @@
2286 'date_closed': fields.date('Close Date', readonly=True),
2287 'nbr': fields.integer('# of Cases', readonly=True),
2288 'company_id': fields.many2one('res.company', 'Company', readonly=True),
2289- 'priority': fields.selection(crm.AVAILABLE_PRIORITIES, 'Priority'),
2290+ 'priority': fields.selection(crm.AVAILABLE_PRIORITIES, 'Priority', size=1),
2291 'type':fields.selection([
2292 ('lead','Lead'),
2293- ('opportunity','Opportunity'),
2294- ],'Type', help="Type is used to separate Leads and Opportunities"),
2295+ ('opportunity','Opportunity')
2296+ ],'Type', size=11, help="Type is used to separate Leads and Opportunities"),
2297 }
2298 def init(self, cr):
2299
2300
2301=== modified file 'crm_partner_assign/wizard/crm_forward_to_partner.py'
2302--- crm_partner_assign/wizard/crm_forward_to_partner.py 2014-01-16 10:39:10 +0000
2303+++ crm_partner_assign/wizard/crm_forward_to_partner.py 2014-05-12 18:39:30 +0000
2304@@ -159,7 +159,7 @@
2305 return portal_link
2306
2307 _columns = {
2308- 'forward_type': fields.selection([('single', 'a single partner: manual selection of partner'), ('assigned', "several partners: automatic assignation, using GPS coordinates and partner's grades"), ], 'Forward selected leads to'),
2309+ 'forward_type': fields.selection([('single', 'a single partner: manual selection of partner'), ('assigned', "several partners: automatic assignation, using GPS coordinates and partner's grades"), ], 'Forward selected leads to', size=8),
2310 'partner_id': fields.many2one('res.partner', 'Forward Leads To'),
2311 'assignation_lines': fields.one2many('crm.lead.assignation', 'forward_id', 'Partner Assignation'),
2312 'body': fields.html('Contents', help='Automatically sanitized HTML contents'),
2313
2314=== modified file 'crm_profiling/crm_profiling.py'
2315--- crm_profiling/crm_profiling.py 2013-10-27 12:31:04 +0000
2316+++ crm_profiling/crm_profiling.py 2014-05-12 18:39:30 +0000
2317@@ -146,7 +146,7 @@
2318 _description= "Question"
2319
2320 _columns={
2321- 'name': fields.char("Question",size=128, required=True),
2322+ 'name': fields.char("Question", required=True),
2323 'answers_ids': fields.one2many("crm_profiling.answer","question_id","Avalaible Answers",),
2324 }
2325
2326@@ -159,7 +159,7 @@
2327 _description= "Questionnaire"
2328
2329 _columns = {
2330- 'name': fields.char("Questionnaire",size=128, required=True),
2331+ 'name': fields.char("Questionnaire", required=True),
2332 'description':fields.text("Description", required=True),
2333 'questions_ids': fields.many2many('crm_profiling.question','profile_questionnaire_quest_rel',\
2334 'questionnaire', 'question', "Questions"),
2335@@ -171,7 +171,7 @@
2336 _name="crm_profiling.answer"
2337 _description="Answer"
2338 _columns={
2339- "name": fields.char("Answer",size=128, required=True),
2340+ "name": fields.char("Answer", required=True),
2341 "question_id": fields.many2one('crm_profiling.question',"Question"),
2342 }
2343
2344
2345=== modified file 'decimal_precision/decimal_precision.py'
2346--- decimal_precision/decimal_precision.py 2014-01-29 19:08:34 +0000
2347+++ decimal_precision/decimal_precision.py 2014-05-12 18:39:30 +0000
2348@@ -28,7 +28,7 @@
2349 class decimal_precision(orm.Model):
2350 _name = 'decimal.precision'
2351 _columns = {
2352- 'name': fields.char('Usage', size=50, select=True, required=True),
2353+ 'name': fields.char('Usage', select=True, required=True),
2354 'digits': fields.integer('Digits', required=True),
2355 }
2356 _defaults = {
2357
2358=== modified file 'delivery/delivery.py'
2359--- delivery/delivery.py 2014-05-01 15:56:33 +0000
2360+++ delivery/delivery.py 2014-05-12 18:39:30 +0000
2361@@ -62,7 +62,7 @@
2362 return res
2363
2364 _columns = {
2365- 'name': fields.char('Delivery Method', size=64, required=True),
2366+ 'name': fields.char('Delivery Method', required=True),
2367 'partner_id': fields.many2one('res.partner', 'Transport Company', required=True, help="The partner that is doing the delivery service."),
2368 'product_id': fields.many2one('product.product', 'Delivery Product', required=True),
2369 'grids_id': fields.one2many('delivery.grid', 'carrier_id', 'Delivery Grids'),
2370@@ -171,13 +171,13 @@
2371 _name = "delivery.grid"
2372 _description = "Delivery Grid"
2373 _columns = {
2374- 'name': fields.char('Grid Name', size=64, required=True),
2375- 'sequence': fields.integer('Sequence', size=64, required=True, help="Gives the sequence order when displaying a list of delivery grid."),
2376+ 'name': fields.char('Grid Name', required=True),
2377+ 'sequence': fields.integer('Sequence', required=True, help="Gives the sequence order when displaying a list of delivery grid."),
2378 'carrier_id': fields.many2one('delivery.carrier', 'Carrier', required=True, ondelete='cascade'),
2379 'country_ids': fields.many2many('res.country', 'delivery_grid_country_rel', 'grid_id', 'country_id', 'Countries'),
2380 'state_ids': fields.many2many('res.country.state', 'delivery_grid_state_rel', 'grid_id', 'state_id', 'States'),
2381- 'zip_from': fields.char('Start Zip', size=12),
2382- 'zip_to': fields.char('To Zip', size=12),
2383+ 'zip_from': fields.char('Start Zip'),
2384+ 'zip_to': fields.char('To Zip'),
2385 'line_ids': fields.one2many('delivery.grid.line', 'grid_id', 'Grid Line'),
2386 'active': fields.boolean('Active', help="If the active field is set to False, it will allow you to hide the delivery grid without removing it."),
2387 }
2388@@ -226,15 +226,15 @@
2389 _name = "delivery.grid.line"
2390 _description = "Delivery Grid Line"
2391 _columns = {
2392- 'name': fields.char('Name', size=64, required=True),
2393+ 'name': fields.char('Name', required=True),
2394 'grid_id': fields.many2one('delivery.grid', 'Grid',required=True, ondelete='cascade'),
2395 'type': fields.selection([('weight','Weight'),('volume','Volume'),\
2396 ('wv','Weight * Volume'), ('price','Price')],\
2397- 'Variable', required=True),
2398- 'operator': fields.selection([('==','='),('<=','<='),('>=','>=')], 'Operator', required=True),
2399+ 'Variable', size=6, required=True),
2400+ 'operator': fields.selection([('==','='),('<=','<='),('>=','>=')], 'Operator', size=2, required=True),
2401 'max_value': fields.float('Maximum Value', required=True),
2402- 'price_type': fields.selection([('fixed','Fixed'),('variable','Variable')], 'Price Type', required=True),
2403- 'variable_factor': fields.selection([('weight','Weight'),('volume','Volume'),('wv','Weight * Volume'), ('price','Price')], 'Variable Factor', required=True),
2404+ 'price_type': fields.selection([('fixed','Fixed'),('variable','Variable')], 'Price Type', size=8, required=True),
2405+ 'variable_factor': fields.selection([('weight','Weight'),('volume','Volume'),('wv','Weight * Volume'), ('price','Price')], 'Variable Factor', size=6, required=True),
2406 'list_price': fields.float('Sale Price', digits_compute= dp.get_precision('Product Price'), required=True),
2407 'standard_price': fields.float('Cost Price', digits_compute= dp.get_precision('Product Price'), required=True),
2408 }
2409
2410=== modified file 'delivery/stock.py'
2411--- delivery/stock.py 2014-05-07 16:59:51 +0000
2412+++ delivery/stock.py 2014-05-12 18:39:30 +0000
2413@@ -64,7 +64,7 @@
2414 'stock.picking': (lambda self, cr, uid, ids, c={}: ids, ['move_lines'], 20),
2415 'stock.move': (_get_picking_line, ['product_id','product_qty','product_uom','product_uos_qty'], 20),
2416 }),
2417- 'carrier_tracking_ref': fields.char('Carrier Tracking Ref', size=32),
2418+ 'carrier_tracking_ref': fields.char('Carrier Tracking Ref'),
2419 'number_of_packages': fields.integer('Number of Packages'),
2420 'weight_uom_id': fields.many2one('product.uom', 'Unit of Measure', required=True,readonly="1",help="Unit of measurement for Weight",),
2421 }
2422
2423=== modified file 'document/document.py'
2424--- document/document.py 2014-04-09 09:56:59 +0000
2425+++ document/document.py 2014-05-12 18:39:30 +0000
2426@@ -158,7 +158,7 @@
2427 _description = 'Directory'
2428 _order = 'name'
2429 _columns = {
2430- 'name': fields.char('Name', size=64, required=True, select=1),
2431+ 'name': fields.char('Name', required=True, select=1),
2432 'write_date': fields.datetime('Date Modified', readonly=True),
2433 'write_uid': fields.many2one('res.users', 'Last Modification User', readonly=True),
2434 'create_date': fields.datetime('Date Created', readonly=True),
2435@@ -170,9 +170,9 @@
2436 'file_ids': fields.one2many('ir.attachment', 'parent_id', 'Files'),
2437 'content_ids': fields.one2many('document.directory.content', 'directory_id', 'Virtual Files'),
2438 'type': fields.selection([ ('directory','Static Directory'), ('ressource','Folders per resource'), ],
2439- 'Type', required=True, select=1, change_default=True,
2440+ 'Type', required=True, select=1, change_default=True, size=9,
2441 help="Each directory can either have the type Static or be linked to another resource. A static directory, as with Operating Systems, is the classic directory that can contain a set of files. The directories linked to systems resources automatically possess sub-directories for each of resource types defined in the parent directory."),
2442- 'domain': fields.char('Domain', size=128, help="Use a domain if you want to apply an automatic filter on visible resources."),
2443+ 'domain': fields.char('Domain', help="Use a domain if you want to apply an automatic filter on visible resources."),
2444 'ressource_type_id': fields.many2one('ir.model', 'Resource model', change_default=True,
2445 help="Select an object here and there will be one folder per record of that resource."),
2446 'resource_field': fields.many2one('ir.model.fields', 'Name field', help='Field to be used as name on resource directories. If empty, the "name" will be used.'),
2447@@ -370,8 +370,8 @@
2448 _description = 'Directory Dynamic Context'
2449 _columns = {
2450 'dir_id': fields.many2one('document.directory', 'Directory', required=True, ondelete="cascade"),
2451- 'field': fields.char('Field', size=20, required=True, select=1, help="The name of the field."),
2452- 'expr': fields.char('Expression', size=64, required=True, help="A python expression used to evaluate the field.\n" + \
2453+ 'field': fields.char('Field', required=True, select=1, help="The name of the field."),
2454+ 'expr': fields.char('Expression', required=True, help="A python expression used to evaluate the field.\n" + \
2455 "You can use 'dir_id' for current dir, 'res_id', 'res_model' as a reference to the current record, in dynamic folders"),
2456 }
2457
2458@@ -379,10 +379,10 @@
2459 _name = 'document.directory.content.type'
2460 _description = 'Directory Content Type'
2461 _columns = {
2462- 'name': fields.char('Content Type', size=64, required=True),
2463+ 'name': fields.char('Content Type', required=True),
2464 'code': fields.char('Extension', size=4),
2465 'active': fields.boolean('Active'),
2466- 'mimetype': fields.char('Mime Type',size=32)
2467+ 'mimetype': fields.char('Mime Type')
2468 }
2469 _defaults = {
2470 'active': lambda *args: 1
2471@@ -399,7 +399,7 @@
2472 return res
2473
2474 _columns = {
2475- 'name': fields.char('Content Name', size=64, required=True),
2476+ 'name': fields.char('Content Name', required=True),
2477 'sequence': fields.integer('Sequence', size=16),
2478 'prefix': fields.char('Prefix', size=16),
2479 'suffix': fields.char('Suffix', size=16),
2480
2481=== modified file 'document/report/document_report.py'
2482--- document/report/document_report.py 2013-05-07 11:11:02 +0000
2483+++ document/report/document_report.py 2014-05-12 18:39:30 +0000
2484@@ -71,7 +71,7 @@
2485 _columns = {
2486 'file_size': fields.integer('File Size', readonly=True),
2487 'nbr':fields.integer('# of Files', readonly=True),
2488- 'month': fields.char('Month', size=24,readonly=True),
2489+ 'month': fields.char('Month', size=24, readonly=True),
2490 }
2491 _order = "month"
2492 def init(self, cr):
2493
2494=== modified file 'email_template/email_template.py'
2495--- email_template/email_template.py 2014-04-24 13:45:33 +0000
2496+++ email_template/email_template.py 2014-05-12 18:39:30 +0000
2497@@ -216,7 +216,7 @@
2498 'name': fields.char('Name'),
2499 'model_id': fields.many2one('ir.model', 'Applies to', help="The kind of document with with this template can be used"),
2500 'model': fields.related('model_id', 'model', type='char', string='Related Document Model',
2501- size=128, select=True, store=True, readonly=True),
2502+ select=True, store=True, readonly=True),
2503 'lang': fields.char('Language',
2504 help="Optional translation language (ISO code) to select when sending out an email. "
2505 "If not set, the english version will be used. "
2506
2507=== modified file 'event/event.py'
2508--- event/event.py 2014-05-12 07:23:31 +0000
2509+++ event/event.py 2014-05-12 18:39:30 +0000
2510@@ -30,8 +30,8 @@
2511 _name = 'event.type'
2512 _description = __doc__
2513 _columns = {
2514- 'name': fields.char('Event Type', size=64, required=True),
2515- 'default_reply_to': fields.char('Default Reply-To', size=64,help="The email address of the organizer which is put in the 'Reply-To' of all emails sent automatically at event or registrations confirmation. You can also put your email address of your mail gateway if you use one." ),
2516+ 'name': fields.char('Event Type', required=True),
2517+ 'default_reply_to': fields.char('Default Reply-To', size=64, help="The email address of the organizer which is put in the 'Reply-To' of all emails sent automatically at event or registrations confirmation. You can also put your email address of your mail gateway if you use one." ),
2518 'default_email_event': fields.many2one('email.template','Event Confirmation Email', help="It will select this default confirmation event mail value when you choose this event"),
2519 'default_email_registration': fields.many2one('email.template','Registration Confirmation Email', help="It will select this default confirmation registration mail value when you choose this event"),
2520 'default_registration_min': fields.integer('Default Minimum Registration', help="It will select this default minimum value when you choose this event"),
2521@@ -174,7 +174,7 @@
2522 return [(x, x) for x in pytz.all_timezones]
2523
2524 _columns = {
2525- 'name': fields.char('Event Name', size=64, required=True, translate=True, readonly=False, states={'done': [('readonly', True)]}),
2526+ 'name': fields.char('Event Name', required=True, translate=True, readonly=False, states={'done': [('readonly', True)]}),
2527 'user_id': fields.many2one('res.users', 'Responsible User', readonly=False, states={'done': [('readonly', True)]}),
2528 'type': fields.many2one('event.type', 'Type of Event', readonly=False, states={'done': [('readonly', True)]}),
2529 'seats_max': fields.integer('Maximum Avalaible Seats', oldname='register_max', help="You can for each event define a maximum registration level. If you have too much registrations you are not able to confirm your event. (put 0 to ignore this rule )", readonly=True, states={'draft': [('readonly', False)]}),
2530@@ -202,7 +202,7 @@
2531 ('cancel', 'Cancelled'),
2532 ('confirm', 'Confirmed'),
2533 ('done', 'Done')],
2534- 'Status', readonly=True, required=True,
2535+ 'Status', size=7, readonly=True, required=True,
2536 help='If event is created, the status is \'Draft\'.If event is confirmed for the particular dates the status is set to \'Confirmed\'. If the event is over, the status is set to \'Done\'.If event is cancelled the status is set to \'Cancelled\'.'),
2537 'email_registration_id' : fields.many2one('email.template','Registration Confirmation Email', help='This field contains the template of the mail that will be automatically sent each time a registration for this event is confirmed.'),
2538 'email_confirmation_id' : fields.many2one('email.template','Event Confirmation Email', help="If you set an email template, each participant will receive this email announcing the confirmation of the event."),
2539@@ -299,14 +299,14 @@
2540 _inherit = ['mail.thread', 'ir.needaction_mixin']
2541 _columns = {
2542 'id': fields.integer('ID'),
2543- 'origin': fields.char('Source Document', size=124,readonly=True,help="Reference of the sales order which created the registration"),
2544+ 'origin': fields.char('Source Document', readonly=True,help="Reference of the sales order which created the registration"),
2545 'nb_register': fields.integer('Number of Participants', required=True, readonly=True, states={'draft': [('readonly', False)]}),
2546 'event_id': fields.many2one('event.event', 'Event', required=True, readonly=True, states={'draft': [('readonly', False)]}),
2547 'partner_id': fields.many2one('res.partner', 'Partner', states={'done': [('readonly', True)]}),
2548 'create_date': fields.datetime('Creation Date' , readonly=True),
2549 'date_closed': fields.datetime('Attended Date', readonly=True),
2550 'date_open': fields.datetime('Registration Date', readonly=True),
2551- 'reply_to': fields.related('event_id','reply_to',string='Reply-to Email', type='char', size=128, readonly=True,),
2552+ 'reply_to': fields.related('event_id','reply_to',string='Reply-to Email', type='char', readonly=True,),
2553 'log_ids': fields.one2many('mail.message', 'res_id', 'Logs', domain=[('model','=',_name)]),
2554 'event_end_date': fields.related('event_id','date_end', type='datetime', string="Event End Date", readonly=True),
2555 'event_begin_date': fields.related('event_id', 'date_begin', type='datetime', string="Event Start Date", readonly=True),
2556@@ -316,10 +316,10 @@
2557 ('cancel', 'Cancelled'),
2558 ('open', 'Confirmed'),
2559 ('done', 'Attended')], 'Status',
2560- size=16, readonly=True),
2561+ size=6, readonly=True),
2562 'email': fields.char('Email', size=64),
2563 'phone': fields.char('Phone', size=64),
2564- 'name': fields.char('Name', size=128, select=True),
2565+ 'name': fields.char('Name', select=True),
2566 }
2567 _defaults = {
2568 'nb_register': 1,
2569
2570=== modified file 'event_sale/event_sale.py'
2571--- event_sale/event_sale.py 2014-05-02 14:01:52 +0000
2572+++ event_sale/event_sale.py 2014-05-12 18:39:30 +0000
2573@@ -201,7 +201,7 @@
2574
2575
2576 _columns = {
2577- 'name': fields.char('Name', size=64, required=True, translate=True),
2578+ 'name': fields.char('Name', required=True, translate=True),
2579 'event_id': fields.many2one('event.event', "Event", required=True, ondelete='cascade'),
2580 'product_id': fields.many2one('product.product', 'Product', required=True, domain=[("event_type_id", "!=", False)]),
2581 'registration_ids': fields.one2many('event.registration', 'event_ticket_id', 'Registrations'),
2582
2583=== modified file 'fetchmail/fetchmail.py'
2584--- fetchmail/fetchmail.py 2014-02-17 09:12:03 +0000
2585+++ fetchmail/fetchmail.py 2014-05-12 18:39:30 +0000
2586@@ -47,27 +47,27 @@
2587 _order = 'priority'
2588
2589 _columns = {
2590- 'name':fields.char('Name', size=256, required=True, readonly=False),
2591+ 'name':fields.char('Name', required=True, readonly=False),
2592 'active':fields.boolean('Active', required=False),
2593 'state':fields.selection([
2594 ('draft', 'Not Confirmed'),
2595 ('done', 'Confirmed'),
2596- ], 'Status', select=True, readonly=True),
2597- 'server' : fields.char('Server Name', size=256, readonly=True, help="Hostname or IP of the mail server", states={'draft':[('readonly', False)]}),
2598+ ], 'Status', select=True, size=5, readonly=True),
2599+ 'server' : fields.char('Server Name', readonly=True, help="Hostname or IP of the mail server", states={'draft':[('readonly', False)]}),
2600 'port' : fields.integer('Port', readonly=True, states={'draft':[('readonly', False)]}),
2601 'type':fields.selection([
2602 ('pop', 'POP Server'),
2603 ('imap', 'IMAP Server'),
2604 ('local', 'Local Server'),
2605- ], 'Server Type', select=True, required=True, readonly=False),
2606+ ], 'Server Type', select=True, size=5, required=True, readonly=False),
2607 'is_ssl':fields.boolean('SSL/TLS', help="Connections are encrypted with SSL/TLS through a dedicated port (default: IMAPS=993, POP3S=995)"),
2608 'attach':fields.boolean('Keep Attachments', help="Whether attachments should be downloaded. "
2609 "If not enabled, incoming emails will be stripped of any attachments before being processed"),
2610 'original':fields.boolean('Keep Original', help="Whether a full original copy of each email should be kept for reference"
2611 "and attached to each processed message. This will usually double the size of your message database."),
2612 'date': fields.datetime('Last Fetch Date', readonly=True),
2613- 'user' : fields.char('Username', size=256, readonly=True, states={'draft':[('readonly', False)]}),
2614- 'password' : fields.char('Password', size=1024, readonly=True, states={'draft':[('readonly', False)]}),
2615+ 'user' : fields.char('Username', readonly=True, states={'draft':[('readonly', False)]}),
2616+ 'password' : fields.char('Password', readonly=True, states={'draft':[('readonly', False)]}),
2617 'action_id':fields.many2one('ir.actions.server', 'Server Action', help="Optional custom server action to trigger for each incoming mail, "
2618 "on the record that was created or updated by this mail"),
2619 'object_id': fields.many2one('ir.model', "Create a New Record", help="Process each incoming mail as part of a conversation "
2620@@ -78,7 +78,7 @@
2621 "lower values mean higher priority"),
2622 'message_ids': fields.one2many('mail.mail', 'fetchmail_server_id', 'Messages', readonly=True),
2623 'configuration' : fields.text('Configuration', readonly=True),
2624- 'script' : fields.char('Script', readonly=True, size=64),
2625+ 'script' : fields.char('Script', readonly=True),
2626 }
2627 _defaults = {
2628 'state': "draft",
2629
2630=== modified file 'fleet/fleet.py'
2631--- fleet/fleet.py 2014-05-07 07:56:45 +0000
2632+++ fleet/fleet.py 2014-05-12 18:39:30 +0000
2633@@ -67,7 +67,7 @@
2634 'vehicle_id': fields.many2one('fleet.vehicle', 'Vehicle', required=True, help='Vehicle concerned by this log'),
2635 'cost_subtype_id': fields.many2one('fleet.service.type', 'Type', help='Cost type purchased with this cost'),
2636 'amount': fields.float('Total Price'),
2637- 'cost_type': fields.selection([('contract', 'Contract'), ('services','Services'), ('fuel','Fuel'), ('other','Other')], 'Category of the cost', help='For internal purpose only', required=True),
2638+ 'cost_type': fields.selection([('contract', 'Contract'), ('services','Services'), ('fuel','Fuel'), ('other','Other')], 'Category of the cost', size=8, help='For internal purpose only', required=True),
2639 'parent_id': fields.many2one('fleet.vehicle.cost', 'Parent', help='Parent cost to this current cost'),
2640 'cost_ids': fields.one2many('fleet.vehicle.cost', 'parent_id', 'Included Services'),
2641 'odometer_id': fields.many2one('fleet.vehicle.odometer', 'Odometer', help='Odometer measure of the vehicle at the moment of this log'),
2642@@ -145,7 +145,7 @@
2643
2644 _columns = {
2645 'name': fields.function(_model_name_get_fnc, type="char", string='Name', store=True),
2646- 'modelname': fields.char('Model name', size=32, required=True),
2647+ 'modelname': fields.char('Model name', required=True),
2648 'brand_id': fields.many2one('fleet.vehicle.model.brand', 'Model Brand', required=True, help='Brand of the vehicle'),
2649 'vendors': fields.many2many('res.partner', 'fleet_vehicle_model_vendors', 'model_id', 'partner_id', string='Vendors'),
2650 'image': fields.related('brand_id', 'image', type="binary", string="Logo"),
2651@@ -170,7 +170,7 @@
2652 return self.write(cr, uid, [id], {'image': tools.image_resize_image_big(value)}, context=context)
2653
2654 _columns = {
2655- 'name': fields.char('Brand Name', size=64, required=True),
2656+ 'name': fields.char('Brand Name', required=True),
2657 'image': fields.binary("Logo",
2658 help="This field holds the image used as logo for the brand, limited to 1024x1024px."),
2659 'image_medium': fields.function(_get_image, fnct_inv=_set_image,
2660@@ -337,8 +337,8 @@
2661 _columns = {
2662 'name': fields.function(_vehicle_name_get_fnc, type="char", string='Name', store=True),
2663 'company_id': fields.many2one('res.company', 'Company'),
2664- 'license_plate': fields.char('License Plate', size=32, required=True, help='License plate number of the vehicle (ie: plate number for a car)'),
2665- 'vin_sn': fields.char('Chassis Number', size=32, help='Unique number written on the vehicle motor (VIN/SN number)'),
2666+ 'license_plate': fields.char('License Plate', required=True, help='License plate number of the vehicle (ie: plate number for a car)'),
2667+ 'vin_sn': fields.char('Chassis Number', help='Unique number written on the vehicle motor (VIN/SN number)'),
2668 'driver_id': fields.many2one('res.partner', 'Driver', help='Driver of the vehicle'),
2669 'model_id': fields.many2one('fleet.vehicle.model', 'Model', required=True, help='Model of the vehicle'),
2670 'log_fuel': fields.one2many('fleet.vehicle.log.fuel', 'vehicle_id', 'Fuel Logs'),
2671@@ -350,16 +350,16 @@
2672 'fuel_logs_count': fields.function(_count_all, type='integer', string='Fuel Logs', multi=True),
2673 'odometer_count': fields.function(_count_all, type='integer', string='Odometer', multi=True),
2674 'acquisition_date': fields.date('Acquisition Date', required=False, help='Date when the vehicle has been bought'),
2675- 'color': fields.char('Color', size=32, help='Color of the vehicle'),
2676+ 'color': fields.char('Color', help='Color of the vehicle'),
2677 'state_id': fields.many2one('fleet.vehicle.state', 'State', help='Current state of the vehicle', ondelete="set null"),
2678- 'location': fields.char('Location', size=128, help='Location of the vehicle (garage, ...)'),
2679+ 'location': fields.char('Location', help='Location of the vehicle (garage, ...)'),
2680 'seats': fields.integer('Seats Number', help='Number of seats of the vehicle'),
2681 'doors': fields.integer('Doors Number', help='Number of doors of the vehicle'),
2682 'tag_ids' :fields.many2many('fleet.vehicle.tag', 'fleet_vehicle_vehicle_tag_rel', 'vehicle_tag_id','tag_id', 'Tags'),
2683 'odometer': fields.function(_get_odometer, fnct_inv=_set_odometer, type='float', string='Last Odometer', help='Odometer measure of the vehicle at the moment of this log'),
2684- 'odometer_unit': fields.selection([('kilometers', 'Kilometers'),('miles','Miles')], 'Odometer Unit', help='Unit of the odometer ',required=True),
2685- 'transmission': fields.selection([('manual', 'Manual'), ('automatic', 'Automatic')], 'Transmission', help='Transmission Used by the vehicle'),
2686- 'fuel_type': fields.selection([('gasoline', 'Gasoline'), ('diesel', 'Diesel'), ('electric', 'Electric'), ('hybrid', 'Hybrid')], 'Fuel Type', help='Fuel Used by the vehicle'),
2687+ 'odometer_unit': fields.selection([('kilometers', 'Kilometers'),('miles','Miles')], 'Odometer Unit', size=10, help='Unit of the odometer ',required=True),
2688+ 'transmission': fields.selection([('manual', 'Manual'), ('automatic', 'Automatic')], 'Transmission', size=10, help='Transmission Used by the vehicle'),
2689+ 'fuel_type': fields.selection([('gasoline', 'Gasoline'), ('diesel', 'Diesel'), ('electric', 'Electric'), ('hybrid', 'Hybrid')], 'Fuel Type', size=10, help='Fuel Used by the vehicle'),
2690 'horsepower': fields.integer('Horsepower'),
2691 'horsepower_tax': fields.float('Horsepower Taxation'),
2692 'power': fields.integer('Power', help='Power in kW of the vehicle'),
2693@@ -607,7 +607,7 @@
2694 _description = 'Services for vehicles'
2695 _columns = {
2696 'purchaser_id': fields.many2one('res.partner', 'Purchaser', domain="['|',('customer','=',True),('employee','=',True)]"),
2697- 'inv_ref': fields.char('Invoice Reference', size=64),
2698+ 'inv_ref': fields.char('Invoice Reference'),
2699 'vendor_id': fields.many2one('res.partner', 'Supplier', domain="[('supplier','=',True)]"),
2700 'cost_amount': fields.related('cost_id', 'amount', string='Amount', type='float', store=True), #we need to keep this field as a related with store=True because the graph view doesn't support (1) to address fields from inherited table and (2) fields that aren't stored in database
2701 'notes': fields.text('Notes'),
2702@@ -625,7 +625,7 @@
2703 _description = 'Type of services available on a vehicle'
2704 _columns = {
2705 'name': fields.char('Name', required=True, translate=True),
2706- 'category': fields.selection([('contract', 'Contract'), ('service', 'Service'), ('both', 'Both')], 'Category', required=True, help='Choose wheter the service refer to contracts, vehicle services or both'),
2707+ 'category': fields.selection([('contract', 'Contract'), ('service', 'Service'), ('both', 'Both')], 'Category', size=8, required=True, help='Choose wheter the service refer to contracts, vehicle services or both'),
2708 }
2709
2710
2711@@ -847,5 +847,5 @@
2712 _description = 'Contains the different possible status of a leasing contract'
2713
2714 _columns = {
2715- 'name':fields.char('Contract Status', size=64, required=True),
2716+ 'name':fields.char('Contract Status', required=True),
2717 }
2718
2719=== modified file 'gamification/models/badge.py'
2720--- gamification/models/badge.py 2014-05-12 09:27:18 +0000
2721+++ gamification/models/badge.py 2014-05-12 18:39:30 +0000
2722@@ -149,6 +149,7 @@
2723 ('nobody', 'No one, assigned through challenges'),
2724 ],
2725 string="Allowance to Grant",
2726+ size=8,
2727 help="Who can grant this badge",
2728 required=True),
2729 'rule_auth_user_ids': fields.many2many('res.users', 'rel_badge_auth_users',
2730
2731=== modified file 'gamification/models/challenge.py'
2732--- gamification/models/challenge.py 2014-05-12 09:27:18 +0000
2733+++ gamification/models/challenge.py 2014-05-12 18:39:30 +0000
2734@@ -125,7 +125,7 @@
2735 ('inprogress', 'In Progress'),
2736 ('done', 'Done'),
2737 ],
2738- string='State', required=True, track_visibility='onchange'),
2739+ string='State', size=10, required=True, track_visibility='onchange'),
2740 'manager_id': fields.many2one('res.users',
2741 string='Responsible', help="The user responsible for the challenge."),
2742
2743@@ -142,6 +142,7 @@
2744 ('yearly', 'Yearly')
2745 ],
2746 string='Periodicity',
2747+ size=7,
2748 help='Period of automatic goal assigment. If none is selected, should be launched manually.',
2749 required=True),
2750 'start_date': fields.date('Start Date',
2751@@ -169,7 +170,7 @@
2752 ('personal', 'Individual Goals'),
2753 ('ranking', 'Leader Board (Group Ranking)'),
2754 ],
2755- string="Display Mode", required=True),
2756+ string="Display Mode", size=8, required=True),
2757
2758 'report_message_frequency': fields.selection([
2759 ('never', 'Never'),
2760@@ -179,7 +180,7 @@
2761 ('monthly', 'Monthly'),
2762 ('yearly', 'Yearly')
2763 ],
2764- string="Report Frequency", required=True),
2765+ string="Report Frequency", size=8, required=True),
2766 'report_message_group_id': fields.many2one('mail.group',
2767 string='Send a copy to',
2768 help='Group that will receive a copy of the report in addition to the user'),
2769
2770=== modified file 'gamification/models/goal.py'
2771--- gamification/models/goal.py 2014-05-06 11:38:31 +0000
2772+++ gamification/models/goal.py 2014-05-12 18:39:30 +0000
2773@@ -71,13 +71,14 @@
2774 ('python', 'Automatic: execute a specific Python code'),
2775 ],
2776 string="Computation Mode",
2777+ size=8,
2778 help="Defined how will be computed the goals. The result of the operation will be stored in the field 'Current'.",
2779 required=True),
2780 'display_mode': fields.selection([
2781 ('progress', 'Progressive (using numerical values)'),
2782 ('boolean', 'Exclusive (done or not-done)'),
2783 ],
2784- string="Displayed as", required=True),
2785+ string="Displayed as", size=8, required=True),
2786 'model_id': fields.many2one('ir.model',
2787 string='Model',
2788 help='The model object for the field to evaluate'),
2789@@ -105,6 +106,7 @@
2790 ('lower', 'The lower the better')
2791 ],
2792 string='Goal Performance',
2793+ size=6,
2794 help='A goal is considered as completed when the current value is compared to the value to reach',
2795 required=True),
2796 'action_id': fields.many2one('ir.actions.act_window', string="Action",
2797@@ -187,6 +189,7 @@
2798 ('canceled', 'Canceled'),
2799 ],
2800 string='State',
2801+ size=10,
2802 required=True,
2803 track_visibility='always'),
2804 'to_update': fields.boolean('To update'),
2805
2806=== modified file 'google_drive/google_drive.py'
2807--- google_drive/google_drive.py 2014-01-29 12:13:16 +0000
2808+++ google_drive/google_drive.py 2014-05-12 18:39:30 +0000
2809@@ -192,14 +192,14 @@
2810 return result
2811
2812 _columns = {
2813- 'name': fields.char('Template Name', required=True, size=1024),
2814+ 'name': fields.char('Template Name', required=True),
2815 'model_id': fields.many2one('ir.model', 'Model', ondelete='set null', required=True),
2816 'model': fields.related('model_id', 'model', type='char', string='Model', readonly=True),
2817 'filter_id': fields.many2one('ir.filters', 'Filter', domain="[('model_id', '=', model)]"),
2818 'google_drive_template_url': fields.char('Template URL', required=True, size=1024),
2819 'google_drive_resource_id': fields.function(_resource_get, type="char", string='Resource Id'),
2820 'google_drive_client_id': fields.function(_client_id_get, type="char", string='Google Client '),
2821- 'name_template': fields.char('Google Drive Name Pattern', size=64, help='Choose how the new google drive will be named, on google side. Eg. gdoc_%(field_name)s', required=True),
2822+ 'name_template': fields.char('Google Drive Name Pattern', help='Choose how the new google drive will be named, on google side. Eg. gdoc_%(field_name)s', required=True),
2823 'active': fields.boolean('Active'),
2824 }
2825
2826@@ -235,7 +235,7 @@
2827 _inherit = "base.config.settings"
2828
2829 _columns = {
2830- 'google_drive_authorization_code': fields.char('Authorization Code', size=124),
2831+ 'google_drive_authorization_code': fields.char('Authorization Code'),
2832 'google_drive_uri': fields.char('URI', readonly=True, help="The URL to generate the authorization code from Google"),
2833 }
2834 _defaults = {
2835
2836=== modified file 'hr/hr.py'
2837--- hr/hr.py 2014-05-07 17:01:12 +0000
2838+++ hr/hr.py 2014-05-12 18:39:30 +0000
2839@@ -51,7 +51,7 @@
2840 _name = "hr.employee.category"
2841 _description = "Employee Category"
2842 _columns = {
2843- 'name': fields.char("Employee Tag", size=64, required=True),
2844+ 'name': fields.char("Employee Tag", required=True),
2845 'complete_name': fields.function(_name_get_fnc, type="char", string='Name'),
2846 'parent_id': fields.many2one('hr.employee.category', 'Parent Employee Tag', select=True),
2847 'child_ids': fields.one2many('hr.employee.category', 'parent_id', 'Child Categories'),
2848@@ -96,7 +96,7 @@
2849 _description = "Job Position"
2850 _inherit = ['mail.thread', 'ir.needaction_mixin']
2851 _columns = {
2852- 'name': fields.char('Job Name', size=128, required=True, select=True),
2853+ 'name': fields.char('Job Name', required=True, select=True),
2854 'expected_employees': fields.function(_get_nbr_employees, string='Total Forecasted Employees',
2855 help='Expected number of employees for this job position after new recruitment.',
2856 store = {
2857@@ -118,7 +118,7 @@
2858 'department_id': fields.many2one('hr.department', 'Department'),
2859 'company_id': fields.many2one('res.company', 'Company'),
2860 'state': fields.selection([('open', 'Recruitment Closed'), ('recruit', 'Recruitment in Progress')],
2861- string='Status', readonly=True, required=True,
2862+ string='Status', size=7, readonly=True, required=True,
2863 track_visibility='always',
2864 help="By default 'Closed', set it to 'In Recruitment' if recruitment process is going on for this job position."),
2865 'write_date': fields.datetime('Update Date', readonly=True),
2866@@ -192,20 +192,20 @@
2867 'name_related': fields.related('resource_id', 'name', type='char', string='Name', readonly=True, store=True),
2868 'country_id': fields.many2one('res.country', 'Nationality'),
2869 'birthday': fields.date("Date of Birth"),
2870- 'ssnid': fields.char('SSN No', size=32, help='Social Security Number'),
2871- 'sinid': fields.char('SIN No', size=32, help="Social Insurance Number"),
2872- 'identification_id': fields.char('Identification No', size=32),
2873- 'otherid': fields.char('Other Id', size=64),
2874- 'gender': fields.selection([('male', 'Male'), ('female', 'Female')], 'Gender'),
2875- 'marital': fields.selection([('single', 'Single'), ('married', 'Married'), ('widower', 'Widower'), ('divorced', 'Divorced')], 'Marital Status'),
2876+ 'ssnid': fields.char('SSN No', help='Social Security Number'),
2877+ 'sinid': fields.char('SIN No', help="Social Insurance Number"),
2878+ 'identification_id': fields.char('Identification No'),
2879+ 'otherid': fields.char('Other Id'),
2880+ 'gender': fields.selection([('male', 'Male'), ('female', 'Female')], 'Gender', size=6),
2881+ 'marital': fields.selection([('single', 'Single'), ('married', 'Married'), ('widower', 'Widower'), ('divorced', 'Divorced')], 'Marital Status', size=8),
2882 'department_id': fields.many2one('hr.department', 'Department'),
2883 'address_id': fields.many2one('res.partner', 'Working Address'),
2884 'address_home_id': fields.many2one('res.partner', 'Home Address'),
2885 'bank_account_id': fields.many2one('res.partner.bank', 'Bank Account Number', domain="[('partner_id','=',address_home_id)]", help="Employee bank salary account"),
2886- 'work_phone': fields.char('Work Phone', size=32, readonly=False),
2887- 'mobile_phone': fields.char('Work Mobile', size=32, readonly=False),
2888+ 'work_phone': fields.char('Work Phone', readonly=False),
2889+ 'mobile_phone': fields.char('Work Mobile', readonly=False),
2890 'work_email': fields.char('Work Email', size=240),
2891- 'work_location': fields.char('Office Location', size=32),
2892+ 'work_location': fields.char('Office Location'),
2893 'notes': fields.text('Notes'),
2894 'parent_id': fields.many2one('hr.employee', 'Manager'),
2895 'category_ids': fields.many2many('hr.employee.category', 'employee_category_rel', 'emp_id', 'category_id', 'Tags'),
2896@@ -232,7 +232,7 @@
2897 help="Small-sized photo of the employee. It is automatically "\
2898 "resized as a 64x64px image, with aspect ratio preserved. "\
2899 "Use this field anywhere a small image is required."),
2900- 'passport_id': fields.char('Passport No', size=64),
2901+ 'passport_id': fields.char('Passport No'),
2902 'color': fields.integer('Color Index'),
2903 'city': fields.related('address_id', 'city', type='char', string='City'),
2904 'login': fields.related('user_id', 'login', type='char', string='Login', readonly=1),
2905@@ -382,7 +382,7 @@
2906
2907 _name = "hr.department"
2908 _columns = {
2909- 'name': fields.char('Department Name', size=64, required=True),
2910+ 'name': fields.char('Department Name', required=True),
2911 'complete_name': fields.function(_dept_name_get_fnc, type="char", string='Name'),
2912 'company_id': fields.many2one('res.company', 'Company', select=True, required=False),
2913 'parent_id': fields.many2one('hr.department', 'Parent Department', select=True),
2914
2915=== modified file 'hr_attendance/hr_attendance.py'
2916--- hr_attendance/hr_attendance.py 2014-04-24 09:26:39 +0000
2917+++ hr_attendance/hr_attendance.py 2014-05-12 18:39:30 +0000
2918@@ -30,8 +30,8 @@
2919 _name = "hr.action.reason"
2920 _description = "Action Reason"
2921 _columns = {
2922- 'name': fields.char('Reason', size=64, required=True, help='Specifies the reason for Signing In/Signing Out.'),
2923- 'action_type': fields.selection([('sign_in', 'Sign in'), ('sign_out', 'Sign out')], "Action Type"),
2924+ 'name': fields.char('Reason', required=True, help='Specifies the reason for Signing In/Signing Out.'),
2925+ 'action_type': fields.selection([('sign_in', 'Sign in'), ('sign_out', 'Sign out')], "Action Type", size=8),
2926 }
2927 _defaults = {
2928 'action_type': 'sign_in',
2929@@ -72,7 +72,7 @@
2930
2931 _columns = {
2932 'name': fields.datetime('Date', required=True, select=1),
2933- 'action': fields.selection([('sign_in', 'Sign In'), ('sign_out', 'Sign Out'), ('action','Action')], 'Action', required=True),
2934+ 'action': fields.selection([('sign_in', 'Sign In'), ('sign_out', 'Sign Out'), ('action','Action')], 'Action', size=8, required=True),
2935 'action_desc': fields.many2one("hr.action.reason", "Action Reason", domain="[('action_type', '=', action)]", help='Specifies the reason for Signing In/Signing Out in case of extra hours.'),
2936 'employee_id': fields.many2one('hr.employee', "Employee", required=True, select=True),
2937 'worked_hours': fields.function(_worked_hours_compute, type='float', string='Worked Hours', store=True),
2938
2939=== modified file 'hr_contract/hr_contract.py'
2940--- hr_contract/hr_contract.py 2014-05-07 14:07:18 +0000
2941+++ hr_contract/hr_contract.py 2014-05-12 18:39:30 +0000
2942@@ -48,9 +48,9 @@
2943 _columns = {
2944 'manager': fields.boolean('Is a Manager'),
2945 'medic_exam': fields.date('Medical Examination Date'),
2946- 'place_of_birth': fields.char('Place of Birth', size=30),
2947+ 'place_of_birth': fields.char('Place of Birth'),
2948 'children': fields.integer('Number of Children'),
2949- 'vehicle': fields.char('Company Vehicle', size=64),
2950+ 'vehicle': fields.char('Company Vehicle'),
2951 'vehicle_distance': fields.integer('Home-Work Dist.', help="In kilometers"),
2952 'contract_ids': fields.one2many('hr.contract', 'employee_id', 'Contracts'),
2953 'contract_id':fields.function(_get_latest_contract, string='Contract', type='many2one', relation="hr.contract", help='Latest contract of the employee'),
2954@@ -62,14 +62,14 @@
2955 _name = 'hr.contract.type'
2956 _description = 'Contract Type'
2957 _columns = {
2958- 'name': fields.char('Contract Type', size=32, required=True),
2959+ 'name': fields.char('Contract Type', required=True),
2960 }
2961
2962 class hr_contract(osv.osv):
2963 _name = 'hr.contract'
2964 _description = 'Contract'
2965 _columns = {
2966- 'name': fields.char('Contract Reference', size=64, required=True),
2967+ 'name': fields.char('Contract Reference', required=True),
2968 'employee_id': fields.many2one('hr.employee', "Employee", required=True),
2969 'department_id': fields.related('employee_id','department_id', type='many2one', relation='hr.department', string="Department", readonly=True),
2970 'type_id': fields.many2one('hr.contract.type', "Contract Type", required=True),
2971@@ -82,8 +82,8 @@
2972 'wage': fields.float('Wage', digits=(16,2), required=True, help="Basic Salary of the employee"),
2973 'advantages': fields.text('Advantages'),
2974 'notes': fields.text('Notes'),
2975- 'permit_no': fields.char('Work Permit No', size=256, required=False, readonly=False),
2976- 'visa_no': fields.char('Visa No', size=64, required=False, readonly=False),
2977+ 'permit_no': fields.char('Work Permit No', required=False, readonly=False),
2978+ 'visa_no': fields.char('Visa No', required=False, readonly=False),
2979 'visa_expire': fields.date('Visa Expire Date'),
2980 }
2981
2982
2983=== modified file 'hr_evaluation/hr_evaluation.py'
2984--- hr_evaluation/hr_evaluation.py 2014-05-07 09:03:28 +0000
2985+++ hr_evaluation/hr_evaluation.py 2014-05-12 18:39:30 +0000
2986@@ -33,7 +33,7 @@
2987 _name = "hr_evaluation.plan"
2988 _description = "Appraisal Plan"
2989 _columns = {
2990- 'name': fields.char("Appraisal Plan", size=64, required=True),
2991+ 'name': fields.char("Appraisal Plan", required=True),
2992 'company_id': fields.many2one('res.company', 'Company', required=True),
2993 'phase_ids': fields.one2many('hr_evaluation.plan.phase', 'plan_id', 'Appraisal Phases'),
2994 'month_first': fields.integer('First Appraisal in (months)', help="This number of months will be used to schedule the first evaluation date of the employee when selecting an evaluation plan. "),
2995
2996=== modified file 'hr_evaluation/report/hr_evaluation_report.py'
2997--- hr_evaluation/report/hr_evaluation_report.py 2014-02-11 15:35:24 +0000
2998+++ hr_evaluation/report/hr_evaluation_report.py 2014-05-12 18:39:30 +0000
2999@@ -38,7 +38,7 @@
3000 'year': fields.char('Year', size=4, readonly=True),
3001 'month': fields.selection([('01', 'January'), ('02', 'February'), ('03', 'March'), ('04', 'April'),
3002 ('05', 'May'), ('06', 'June'), ('07', 'July'), ('08', 'August'), ('09', 'September'),
3003- ('10', 'October'), ('11', 'November'), ('12', 'December')], 'Month', readonly=True),
3004+ ('10', 'October'), ('11', 'November'), ('12', 'December')], 'Month', size=2, readonly=True),
3005 'plan_id': fields.many2one('hr_evaluation.plan', 'Plan', readonly=True),
3006 'employee_id': fields.many2one('hr.employee', "Employee", readonly=True),
3007 'rating': fields.selection([
3008@@ -47,7 +47,7 @@
3009 ('2', 'Meet expectations'),
3010 ('3', 'Exceeds expectations'),
3011 ('4', 'Significantly exceeds expectations'),
3012- ], "Overall Rating", readonly=True),
3013+ ], "Overall Rating", size=1, readonly=True),
3014 'nbr': fields.integer('# of Requests', readonly=True),
3015 'state': fields.selection([
3016 ('draft', 'Draft'),
3017@@ -55,7 +55,7 @@
3018 ('progress', 'Final Validation'),
3019 ('done', 'Done'),
3020 ('cancel', 'Cancelled'),
3021- ], 'Status', readonly=True),
3022+ ], 'Status', size=8, readonly=True),
3023 }
3024 _order = 'create_date desc'
3025
3026
3027=== modified file 'hr_expense/hr_expense.py'
3028--- hr_expense/hr_expense.py 2014-03-10 14:36:00 +0000
3029+++ hr_expense/hr_expense.py 2014-05-12 18:39:30 +0000
3030@@ -65,7 +65,7 @@
3031 }
3032
3033 _columns = {
3034- 'name': fields.char('Description', size=128, required=True, readonly=True, states={'draft':[('readonly',False)], 'confirm':[('readonly',False)]}),
3035+ 'name': fields.char('Description', required=True, readonly=True, states={'draft':[('readonly',False)], 'confirm':[('readonly',False)]}),
3036 'id': fields.integer('Sheet ID', readonly=True),
3037 'date': fields.date('Date', select=True, readonly=True, states={'draft':[('readonly',False)], 'confirm':[('readonly',False)]}),
3038 'journal_id': fields.many2one('account.journal', 'Force Journal', help = "The journal used when the expense is done."),
3039@@ -92,7 +92,7 @@
3040 ('done', 'Waiting Payment'),
3041 ('paid', 'Paid'),
3042 ],
3043- 'Status', readonly=True, track_visibility='onchange',
3044+ 'Status', size=9, readonly=True, track_visibility='onchange',
3045 help='When the expense request is created the status is \'Draft\'.\n It is confirmed by the user and request is sent to admin, the status is \'Waiting Confirmation\'.\
3046 \nIf the admin accepts it, the status is \'Accepted\'.\n If the accounting entries are made for the expense request, the status is \'Waiting Payment\'.'),
3047
3048@@ -415,7 +415,7 @@
3049 return result and result[1] or False
3050
3051 _columns = {
3052- 'name': fields.char('Expense Note', size=128, required=True),
3053+ 'name': fields.char('Expense Note', required=True),
3054 'date_value': fields.date('Date', required=True),
3055 'expense_id': fields.many2one('hr.expense.expense', 'Expense', ondelete='cascade', select=True),
3056 'total_amount': fields.function(_amount, string='Total', digits_compute=dp.get_precision('Account')),
3057@@ -425,7 +425,7 @@
3058 'uom_id': fields.many2one('product.uom', 'Unit of Measure', required=True),
3059 'description': fields.text('Description'),
3060 'analytic_account': fields.many2one('account.analytic.account','Analytic account'),
3061- 'ref': fields.char('Reference', size=32),
3062+ 'ref': fields.char('Reference'),
3063 'sequence': fields.integer('Sequence', select=True, help="Gives the sequence order when displaying a list of expense lines."),
3064 }
3065 _defaults = {
3066
3067=== modified file 'hr_expense/report/hr_expense_report.py'
3068--- hr_expense/report/hr_expense_report.py 2013-10-27 12:31:04 +0000
3069+++ hr_expense/report/hr_expense_report.py 2014-05-12 18:39:30 +0000
3070@@ -36,7 +36,7 @@
3071 'day': fields.char('Day', size=128, readonly=True),
3072 'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'),
3073 ('05','May'), ('06','June'), ('07','July'), ('08','August'), ('09','September'),
3074- ('10','October'), ('11','November'), ('12','December')], 'Month',readonly=True),
3075+ ('10','October'), ('11','November'), ('12','December')], 'Month', size=2, readonly=True),
3076 'product_id':fields.many2one('product.product', 'Product', readonly=True),
3077 'journal_id': fields.many2one('account.journal', 'Force Journal', readonly=True),
3078 'product_qty':fields.float('Qty', readonly=True),
3079@@ -61,7 +61,7 @@
3080 ('accepted', 'Accepted'),
3081 ('done', 'Done'),
3082 ('cancelled', 'Cancelled')],
3083- 'Status', readonly=True),
3084+ 'Status', size=9, readonly=True),
3085 }
3086 _order = 'date desc'
3087 def init(self, cr):
3088
3089=== modified file 'hr_holidays/report/hr_holidays_report.py'
3090--- hr_holidays/report/hr_holidays_report.py 2013-10-27 12:31:04 +0000
3091+++ hr_holidays/report/hr_holidays_report.py 2014-05-12 18:39:30 +0000
3092@@ -27,10 +27,10 @@
3093 _description = "Total holidays by type"
3094 _auto = False
3095 _columns = {
3096- 'name': fields.char('Employee', size=64),
3097+ 'name': fields.char('Employee'),
3098 'no_of_leaves': fields.integer('Remaining leaves'),
3099 'user_id': fields.many2one('res.users', 'User'),
3100- 'leave_type': fields.char('Leave Type', size=64),
3101+ 'leave_type': fields.char('Leave Type'),
3102 }
3103
3104 def init(self, cr):
3105
3106=== modified file 'hr_holidays/wizard/hr_holidays_summary_department.py'
3107--- hr_holidays/wizard/hr_holidays_summary_department.py 2013-10-27 12:31:04 +0000
3108+++ hr_holidays/wizard/hr_holidays_summary_department.py 2014-05-12 18:39:30 +0000
3109@@ -30,7 +30,7 @@
3110 _columns = {
3111 'date_from': fields.date('From', required=True),
3112 'depts': fields.many2many('hr.department', 'summary_dept_rel', 'sum_id', 'dept_id', 'Department(s)'),
3113- 'holiday_type': fields.selection([('Approved','Approved'),('Confirmed','Confirmed'),('both','Both Approved and Confirmed')], 'Leave Type', required=True)
3114+ 'holiday_type': fields.selection([('Approved','Approved'),('Confirmed','Confirmed'),('both','Both Approved and Confirmed')], 'Leave Type', size=9, required=True)
3115 }
3116
3117 _defaults = {
3118
3119=== modified file 'hr_holidays/wizard/hr_holidays_summary_employees.py'
3120--- hr_holidays/wizard/hr_holidays_summary_employees.py 2013-10-27 12:31:04 +0000
3121+++ hr_holidays/wizard/hr_holidays_summary_employees.py 2014-05-12 18:39:30 +0000
3122@@ -28,7 +28,7 @@
3123 _columns = {
3124 'date_from': fields.date('From', required=True),
3125 'emp': fields.many2many('hr.employee', 'summary_emp_rel', 'sum_id', 'emp_id', 'Employee(s)'),
3126- 'holiday_type': fields.selection([('Approved','Approved'),('Confirmed','Confirmed'),('both','Both Approved and Confirmed')], 'Select Leave Type', required=True)
3127+ 'holiday_type': fields.selection([('Approved','Approved'),('Confirmed','Confirmed'),('both','Both Approved and Confirmed')], 'Select Leave Type', size=9, required=True)
3128 }
3129
3130 _defaults = {
3131
3132=== modified file 'hr_payroll/hr_payroll.py'
3133--- hr_payroll/hr_payroll.py 2014-05-07 13:58:26 +0000
3134+++ hr_payroll/hr_payroll.py 2014-05-12 18:39:30 +0000
3135@@ -44,7 +44,7 @@
3136 _name = 'hr.payroll.structure'
3137 _description = 'Salary Structure'
3138 _columns = {
3139- 'name':fields.char('Name', size=256, required=True),
3140+ 'name':fields.char('Name', required=True),
3141 'code':fields.char('Reference', size=64, required=True),
3142 'company_id':fields.many2one('res.company', 'Company', required=True),
3143 'note': fields.text('Description'),
3144@@ -131,7 +131,7 @@
3145 ('weekly', 'Weekly'),
3146 ('bi-weekly', 'Bi-weekly'),
3147 ('bi-monthly', 'Bi-monthly'),
3148- ], 'Scheduled Pay', select=True),
3149+ ], 'Scheduled Pay', size=13, select=True),
3150 }
3151
3152 _defaults = {
3153@@ -160,7 +160,7 @@
3154 _columns = {
3155 'company_id':fields.many2one('res.company', 'Company'),
3156 'partner_id':fields.many2one('res.partner', 'Partner'),
3157- 'name':fields.char('Name', size=256, required=True, readonly=False),
3158+ 'name':fields.char('Name', required=True, readonly=False),
3159 'register_line_ids':fields.one2many('hr.payslip.line', 'register_id', 'Register Line', readonly=True),
3160 'note': fields.text('Description'),
3161 }
3162@@ -179,7 +179,7 @@
3163 _name = 'hr.salary.rule.category'
3164 _description = 'Salary Rule Category'
3165 _columns = {
3166- 'name':fields.char('Name', size=64, required=True, readonly=False),
3167+ 'name':fields.char('Name', required=True, readonly=False),
3168 'code':fields.char('Code', size=64, required=True, readonly=False),
3169 'parent_id':fields.many2one('hr.salary.rule.category', 'Parent', help="Linking a salary category to its parent is used only for the reporting purpose."),
3170 'children_ids': fields.one2many('hr.salary.rule.category', 'parent_id', 'Children'),
3171@@ -214,12 +214,12 @@
3172 _name = 'hr.payslip.run'
3173 _description = 'Payslip Batches'
3174 _columns = {
3175- 'name': fields.char('Name', size=64, required=True, readonly=True, states={'draft': [('readonly', False)]}),
3176+ 'name': fields.char('Name', required=True, readonly=True, states={'draft': [('readonly', False)]}),
3177 'slip_ids': fields.one2many('hr.payslip', 'payslip_run_id', 'Payslips', required=False, readonly=True, states={'draft': [('readonly', False)]}),
3178 'state': fields.selection([
3179 ('draft', 'Draft'),
3180 ('close', 'Close'),
3181- ], 'Status', select=True, readonly=True),
3182+ ], 'Status', select=True, size=6, readonly=True),
3183 'date_start': fields.date('Date From', required=True, readonly=True, states={'draft': [('readonly', False)]}),
3184 'date_end': fields.date('Date To', required=True, readonly=True, states={'draft': [('readonly', False)]}),
3185 'credit_note': fields.boolean('Credit Note', readonly=True, states={'draft': [('readonly', False)]}, help="If its checked, indicates that all payslips generated from here are refund payslips."),
3186@@ -267,8 +267,8 @@
3187
3188 _columns = {
3189 'struct_id': fields.many2one('hr.payroll.structure', 'Structure', readonly=True, states={'draft': [('readonly', False)]}, help='Defines the rules that have to be applied to this payslip, accordingly to the contract chosen. If you let empty the field contract, this field isn\'t mandatory anymore and thus the rules applied will be all the rules set on the structure of all contracts of the employee valid for the chosen period'),
3190- 'name': fields.char('Payslip Name', size=64, required=False, readonly=True, states={'draft': [('readonly', False)]}),
3191- 'number': fields.char('Reference', size=64, required=False, readonly=True, states={'draft': [('readonly', False)]}),
3192+ 'name': fields.char('Payslip Name', required=False, readonly=True, states={'draft': [('readonly', False)]}),
3193+ 'number': fields.char('Reference', required=False, readonly=True, states={'draft': [('readonly', False)]}),
3194 'employee_id': fields.many2one('hr.employee', 'Employee', required=True, readonly=True, states={'draft': [('readonly', False)]}),
3195 'date_from': fields.date('Date From', readonly=True, states={'draft': [('readonly', False)]}, required=True),
3196 'date_to': fields.date('Date To', readonly=True, states={'draft': [('readonly', False)]}, required=True),
3197@@ -277,7 +277,7 @@
3198 ('verify', 'Waiting'),
3199 ('done', 'Done'),
3200 ('cancel', 'Rejected'),
3201- ], 'Status', select=True, readonly=True,
3202+ ], 'Status', size=6, select=True, readonly=True,
3203 help='* When the payslip is created the status is \'Draft\'.\
3204 \n* If the payslip is under verification, the status is \'Waiting\'. \
3205 \n* If the payslip is confirmed then status is set to \'Done\'.\
3206@@ -731,7 +731,7 @@
3207 _name = 'hr.payslip.worked_days'
3208 _description = 'Payslip Worked Days'
3209 _columns = {
3210- 'name': fields.char('Description', size=256, required=True),
3211+ 'name': fields.char('Description', required=True),
3212 'payslip_id': fields.many2one('hr.payslip', 'Pay Slip', required=True, ondelete='cascade', select=True),
3213 'sequence': fields.integer('Sequence', required=True, select=True),
3214 'code': fields.char('Code', size=52, required=True, help="The code that can be used in the salary rules"),
3215@@ -752,7 +752,7 @@
3216 _name = 'hr.payslip.input'
3217 _description = 'Payslip Input'
3218 _columns = {
3219- 'name': fields.char('Description', size=256, required=True),
3220+ 'name': fields.char('Description', required=True),
3221 'payslip_id': fields.many2one('hr.payslip', 'Pay Slip', required=True, ondelete='cascade', select=True),
3222 'sequence': fields.integer('Sequence', required=True, select=True),
3223 'code': fields.char('Code', size=52, required=True, help="The code that can be used in the salary rules"),
3224@@ -770,17 +770,17 @@
3225
3226 _name = 'hr.salary.rule'
3227 _columns = {
3228- 'name':fields.char('Name', size=256, required=True, readonly=False),
3229+ 'name':fields.char('Name', required=True, readonly=False),
3230 'code':fields.char('Code', size=64, required=True, help="The code of salary rules can be used as reference in computation of other rules. In that case, it is case sensitive."),
3231 'sequence': fields.integer('Sequence', required=True, help='Use to arrange calculation sequence', select=True),
3232- 'quantity': fields.char('Quantity', size=256, help="It is used in computation for percentage and fixed amount.For e.g. A rule for Meal Voucher having fixed amount of 1€ per worked day can have its quantity defined in expression like worked_days.WORK100.number_of_days."),
3233+ 'quantity': fields.char('Quantity', help="It is used in computation for percentage and fixed amount.For e.g. A rule for Meal Voucher having fixed amount of 1€ per worked day can have its quantity defined in expression like worked_days.WORK100.number_of_days."),
3234 'category_id':fields.many2one('hr.salary.rule.category', 'Category', required=True),
3235 'active':fields.boolean('Active', help="If the active field is set to false, it will allow you to hide the salary rule without removing it."),
3236 'appears_on_payslip': fields.boolean('Appears on Payslip', help="Used to display the salary rule on payslip."),
3237 'parent_rule_id':fields.many2one('hr.salary.rule', 'Parent Salary Rule', select=True),
3238 'company_id':fields.many2one('res.company', 'Company', required=False),
3239- 'condition_select': fields.selection([('none', 'Always True'),('range', 'Range'), ('python', 'Python Expression')], "Condition Based on", required=True),
3240- 'condition_range':fields.char('Range Based on',size=1024, readonly=False, help='This will be used to compute the % fields values; in general it is on basic, but you can also use categories code fields in lowercase as a variable names (hra, ma, lta, etc.) and the variable basic.'),
3241+ 'condition_select': fields.selection([('none', 'Always True'),('range', 'Range'), ('python', 'Python Expression')], "Condition Based on", size=6, required=True),
3242+ 'condition_range':fields.char('Range Based on', readonly=False, help='This will be used to compute the % fields values; in general it is on basic, but you can also use categories code fields in lowercase as a variable names (hra, ma, lta, etc.) and the variable basic.'),
3243 'condition_python':fields.text('Python Condition', required=True, readonly=False, help='Applied this rule for calculation if condition is true. You can specify condition like basic > 1000.'),
3244 'condition_range_min': fields.float('Minimum Range', required=False, help="The minimum amount, applied for this rule."),
3245 'condition_range_max': fields.float('Maximum Range', required=False, help="The maximum amount, applied for this rule."),
3246@@ -788,11 +788,11 @@
3247 ('percentage','Percentage (%)'),
3248 ('fix','Fixed Amount'),
3249 ('code','Python Code'),
3250- ],'Amount Type', select=True, required=True, help="The computation method for the rule amount."),
3251+ ],'Amount Type', size=10, select=True, required=True, help="The computation method for the rule amount."),
3252 'amount_fix': fields.float('Fixed Amount', digits_compute=dp.get_precision('Payroll'),),
3253 'amount_percentage': fields.float('Percentage (%)', digits_compute=dp.get_precision('Payroll Rate'), help='For example, enter 50.0 to apply a percentage of 50%'),
3254 'amount_python_compute':fields.text('Python Code'),
3255- 'amount_percentage_base':fields.char('Percentage based on',size=1024, required=False, readonly=False, help='result will be affected to a variable'),
3256+ 'amount_percentage_base':fields.char('Percentage based on', required=False, readonly=False, help='result will be affected to a variable'),
3257 'child_ids':fields.one2many('hr.salary.rule', 'parent_rule_id', 'Child Salary Rule'),
3258 'register_id':fields.many2one('hr.contribution.register', 'Contribution Register', help="Eventual third party involved in the salary payment of the employees."),
3259 'input_ids': fields.one2many('hr.rule.input', 'input_id', 'Inputs'),
3260@@ -911,7 +911,7 @@
3261 _name = 'hr.rule.input'
3262 _description = 'Salary Rule Input'
3263 _columns = {
3264- 'name': fields.char('Description', size=256, required=True),
3265+ 'name': fields.char('Description', required=True),
3266 'code': fields.char('Code', size=52, required=True, help="The code that can be used in the salary rules"),
3267 'input_id': fields.many2one('hr.salary.rule', 'Salary Rule Input', required=True)
3268 }
3269
3270=== modified file 'hr_recruitment/hr_recruitment.py'
3271--- hr_recruitment/hr_recruitment.py 2014-05-08 12:35:29 +0000
3272+++ hr_recruitment/hr_recruitment.py 2014-05-12 18:39:30 +0000
3273@@ -37,7 +37,7 @@
3274 _name = "hr.recruitment.source"
3275 _description = "Source of Applicants"
3276 _columns = {
3277- 'name': fields.char('Source Name', size=64, required=True, translate=True),
3278+ 'name': fields.char('Source Name', required=True, translate=True),
3279 }
3280
3281 class hr_recruitment_stage(osv.osv):
3282@@ -46,7 +46,7 @@
3283 _description = "Stage of Recruitment"
3284 _order = 'sequence'
3285 _columns = {
3286- 'name': fields.char('Name', size=64, required=True, translate=True),
3287+ 'name': fields.char('Name', required=True, translate=True),
3288 'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of stages."),
3289 'department_id':fields.many2one('hr.department', 'Specific to a Department', help="Stages of the recruitment process may be different per department. If this stage is common to all departments, keep this field empty."),
3290 'requirements': fields.text('Requirements'),
3291@@ -64,7 +64,7 @@
3292 _name = "hr.recruitment.degree"
3293 _description = "Degree of Recruitment"
3294 _columns = {
3295- 'name': fields.char('Name', size=64, required=True, translate=True),
3296+ 'name': fields.char('Name', required=True, translate=True),
3297 'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of degrees."),
3298 }
3299 _defaults = {
3300@@ -179,7 +179,7 @@
3301 return res
3302
3303 _columns = {
3304- 'name': fields.char('Subject / Application Name', size=128, required=True),
3305+ 'name': fields.char('Subject / Application Name', required=True),
3306 'active': fields.boolean('Active', help="If the active field is set to false, it will allow you to hide the case without removing it."),
3307 'description': fields.text('Description'),
3308 'email_from': fields.char('Email', size=128, help="These people will receive email."),
3309@@ -200,21 +200,21 @@
3310 'date_last_stage_update': fields.datetime('Last Stage Update', select=True),
3311 'date_action': fields.date('Next Action Date'),
3312 'title_action': fields.char('Next Action', size=64),
3313- 'priority': fields.selection(AVAILABLE_PRIORITIES, 'Appreciation'),
3314+ 'priority': fields.selection(AVAILABLE_PRIORITIES, 'Appreciation', size=1),
3315 'job_id': fields.many2one('hr.job', 'Applied Job'),
3316- 'salary_proposed_extra': fields.char('Proposed Salary Extra', size=100, help="Salary Proposed by the Organisation, extra advantages"),
3317- 'salary_expected_extra': fields.char('Expected Salary Extra', size=100, help="Salary Expected by Applicant, extra advantages"),
3318+ 'salary_proposed_extra': fields.char('Proposed Salary Extra', help="Salary Proposed by the Organisation, extra advantages"),
3319+ 'salary_expected_extra': fields.char('Expected Salary Extra', help="Salary Expected by Applicant, extra advantages"),
3320 'salary_proposed': fields.float('Proposed Salary', help="Salary Proposed by the Organisation"),
3321 'salary_expected': fields.float('Expected Salary', help="Salary Expected by Applicant"),
3322 'availability': fields.integer('Availability', help="The number of days in which the applicant will be available to start working"),
3323- 'partner_name': fields.char("Applicant's Name", size=64),
3324+ 'partner_name': fields.char("Applicant's Name"),
3325 'partner_phone': fields.char('Phone', size=32),
3326 'partner_mobile': fields.char('Mobile', size=32),
3327 'type_id': fields.many2one('hr.recruitment.degree', 'Degree'),
3328 'department_id': fields.many2one('hr.department', 'Department'),
3329 'survey': fields.related('job_id', 'survey_id', type='many2one', relation='survey.survey', string='Survey'),
3330 'response_id': fields.many2one('survey.user_input', "Response", ondelete='set null', oldname="response"),
3331- 'reference': fields.char('Referred By', size=128),
3332+ 'reference': fields.char('Referred By'),
3333 'source_id': fields.many2one('hr.recruitment.source', 'Source'),
3334 'day_open': fields.function(_compute_day, string='Days to Open', \
3335 multi='day_open', type="float", store=True),
3336@@ -589,7 +589,7 @@
3337 _name = "hr.applicant_category"
3338 _description = "Category of applicant"
3339 _columns = {
3340- 'name': fields.char('Name', size=64, required=True, translate=True),
3341+ 'name': fields.char('Name', required=True, translate=True),
3342 }
3343
3344 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
3345
3346=== modified file 'hr_recruitment/report/hr_recruitment_report.py'
3347--- hr_recruitment/report/hr_recruitment_report.py 2014-01-27 09:23:08 +0000
3348+++ hr_recruitment/report/hr_recruitment_report.py 2014-05-12 18:39:30 +0000
3349@@ -42,7 +42,7 @@
3350 'stage_id': fields.many2one ('hr.recruitment.stage', 'Stage'),
3351 'type_id': fields.many2one('hr.recruitment.degree', 'Degree'),
3352 'department_id': fields.many2one('hr.department','Department',readonly=True),
3353- 'priority': fields.selection(hr_recruitment.AVAILABLE_PRIORITIES, 'Appreciation'),
3354+ 'priority': fields.selection(hr_recruitment.AVAILABLE_PRIORITIES, 'Appreciation', size=1),
3355 'salary_prop' : fields.float("Salary Proposed", digits_compute=dp.get_precision('Account')),
3356 'salary_prop_avg' : fields.float("Avg. Proposed Salary", group_operator="avg", digits_compute=dp.get_precision('Account')),
3357 'salary_exp' : fields.float("Salary Expected", digits_compute=dp.get_precision('Account')),
3358
3359=== modified file 'hr_timesheet/wizard/hr_timesheet_sign_in_out.py'
3360--- hr_timesheet/wizard/hr_timesheet_sign_in_out.py 2013-10-27 12:31:04 +0000
3361+++ hr_timesheet/wizard/hr_timesheet_sign_in_out.py 2014-05-12 18:39:30 +0000
3362@@ -28,11 +28,11 @@
3363 _description = 'Sign Out By Project'
3364 _columns = {
3365 'account_id': fields.many2one('account.analytic.account', 'Project / Analytic Account', domain=[('type','=','normal')]),
3366- 'info': fields.char('Work Description', size=256, required=True),
3367+ 'info': fields.char('Work Description', required=True),
3368 'date_start': fields.datetime('Starting Date', readonly=True),
3369 'date': fields.datetime('Closing Date'),
3370 'analytic_amount': fields.float('Minimum Analytic Amount'),
3371- 'name': fields.char('Employee\'s Name', size=32, required=True, readonly=True),
3372+ 'name': fields.char('Employee\'s Name', required=True, readonly=True),
3373 'state': fields.related('emp_id', 'state', string='Current Status', type='selection', selection=[('present', 'Present'), ('absent', 'Absent')], required=True, readonly=True),
3374 'server_date': fields.datetime('Current Date', required=True, readonly=True),
3375 'emp_id': fields.many2one('hr.employee', 'Employee ID')
3376@@ -109,7 +109,7 @@
3377 _name = 'hr.sign.in.project'
3378 _description = 'Sign In By Project'
3379 _columns = {
3380- 'name': fields.char('Employee\'s Name', size=32, readonly=True),
3381+ 'name': fields.char('Employee\'s Name', readonly=True),
3382 'state': fields.related('emp_id', 'state', string='Current Status', type='selection', selection=[('present', 'Present'), ('absent', 'Absent')], required=True, readonly=True),
3383 'date': fields.datetime('Starting Date'),
3384 'server_date': fields.datetime('Current Date', readonly=True),
3385
3386=== modified file 'hr_timesheet_invoice/hr_timesheet_invoice.py'
3387--- hr_timesheet_invoice/hr_timesheet_invoice.py 2014-01-15 21:44:54 +0000
3388+++ hr_timesheet_invoice/hr_timesheet_invoice.py 2014-05-12 18:39:30 +0000
3389@@ -29,8 +29,8 @@
3390 _description = "Invoice Rate"
3391 _order = 'factor'
3392 _columns = {
3393- 'name': fields.char('Internal Name', size=128, required=True, translate=True),
3394- 'customer_name': fields.char('Name', size=128, help="Label for the customer"),
3395+ 'name': fields.char('Internal Name', required=True, translate=True),
3396+ 'customer_name': fields.char('Name', help="Label for the customer"),
3397 'factor': fields.float('Discount (%)', required=True, help="Discount in percentage"),
3398 }
3399 _defaults = {
3400
3401=== modified file 'hr_timesheet_invoice/report/hr_timesheet_invoice_report.py'
3402--- hr_timesheet_invoice/report/hr_timesheet_invoice_report.py 2013-10-27 12:31:04 +0000
3403+++ hr_timesheet_invoice/report/hr_timesheet_invoice_report.py 2014-05-12 18:39:30 +0000
3404@@ -27,7 +27,7 @@
3405 _description = "Timesheet Line"
3406 _auto = False
3407 _columns = {
3408- 'name': fields.char('Year',size=64,required=False, readonly=True),
3409+ 'name': fields.char('Year', required=False, readonly=True),
3410 'user_id': fields.many2one('res.users', 'User', readonly=True),
3411 'date': fields.date('Date', readonly=True),
3412 'day': fields.char('Day', size=128, readonly=True),
3413@@ -38,7 +38,7 @@
3414 'general_account_id': fields.many2one('account.account', 'General Account', readonly=True),
3415 'invoice_id': fields.many2one('account.invoice', 'Invoiced', readonly=True),
3416 'month': fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'), ('05','May'), ('06','June'),
3417- ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')],'Month',readonly=True),
3418+ ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')],'Month', size=2, readonly=True),
3419 }
3420 _order = 'name desc,user_id desc'
3421 def init(self, cr):
3422@@ -80,12 +80,12 @@
3423 _description = "Timesheet per day"
3424 _auto = False
3425 _columns = {
3426- 'name': fields.char('Year',size=64,required=False, readonly=True),
3427+ 'name': fields.char('Year', required=False, readonly=True),
3428 'user_id':fields.many2one('res.users', 'User', readonly=True),
3429 'quantity': fields.float('Time', readonly=True),
3430 'cost': fields.float('Cost', readonly=True),
3431 'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'), ('05','May'), ('06','June'),
3432- ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')],'Month',readonly=True),
3433+ ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')],'Month', size=2, readonly=True),
3434 }
3435 _order = 'name desc,user_id desc'
3436 def init(self, cr):
3437@@ -112,12 +112,12 @@
3438 _description = "Timesheet per account"
3439 _auto = False
3440 _columns = {
3441- 'name': fields.char('Year',size=64,required=False, readonly=True),
3442+ 'name': fields.char('Year', required=False, readonly=True),
3443 'user_id':fields.many2one('res.users', 'User', readonly=True),
3444 'account_id':fields.many2one('account.analytic.account', 'Analytic Account', readonly=True),
3445 'quantity': fields.float('Time', readonly=True),
3446 'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'), ('05','May'), ('06','June'),
3447- ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')],'Month',readonly=True),
3448+ ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')],'Month', size=2, readonly=True),
3449
3450 }
3451 _order = 'name desc,account_id desc,user_id desc'
3452@@ -145,12 +145,12 @@
3453 _description = "Daily timesheet per account"
3454 _auto = False
3455 _columns = {
3456- 'name': fields.char('Year',size=64,required=False, readonly=True),
3457+ 'name': fields.char('Year', required=False, readonly=True),
3458 'user_id':fields.many2one('res.users', 'User', readonly=True),
3459 'account_id':fields.many2one('account.analytic.account', 'Analytic Account', readonly=True),
3460 'quantity': fields.float('Time', readonly=True),
3461 'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'), ('05','May'), ('06','June'),
3462- ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')],'Month',readonly=True),
3463+ ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')],'Month', size=2, readonly=True),
3464 }
3465 _order = 'name desc,account_id desc,user_id desc'
3466
3467
3468=== modified file 'hr_timesheet_invoice/report/report_analytic.py'
3469--- hr_timesheet_invoice/report/report_analytic.py 2013-10-27 12:31:04 +0000
3470+++ hr_timesheet_invoice/report/report_analytic.py 2014-05-12 18:39:30 +0000
3471@@ -30,7 +30,7 @@
3472 _auto = False
3473 _columns = {
3474 'name': fields.many2one('account.analytic.account', 'Analytic account', readonly=True),
3475- 'state': fields.char('Status', size=32, readonly=True),
3476+ 'state': fields.char('Status', readonly=True),
3477 'partner_id': fields.many2one('res.partner', 'Partner', readonly=True),
3478 'quantity': fields.float('Quantity', readonly=True),
3479 'quantity_max': fields.float('Max. Quantity', readonly=True),
3480@@ -66,7 +66,7 @@
3481 _description = "Analytic lines to invoice report"
3482 _auto = False
3483 _columns = {
3484- 'name': fields.char('Year',size=64,required=False, readonly=True),
3485+ 'name': fields.char('Year', required=False, readonly=True),
3486 'product_id':fields.many2one('product.product', 'Product', readonly=True),
3487 'account_id':fields.many2one('account.analytic.account', 'Analytic account', readonly=True),
3488 'product_uom_id':fields.many2one('product.uom', 'Unit of Measure', readonly=True),
3489@@ -74,7 +74,7 @@
3490 'sale_price': fields.float('Sale price', readonly=True, digits_compute=dp.get_precision('Product Price')),
3491 'amount': fields.float('Amount', readonly=True, digits_compute=dp.get_precision('Account')),
3492 'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'), ('05','May'), ('06','June'),
3493- ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')],'Month',readonly=True),
3494+ ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')],'Month', size=2, readonly=True),
3495 }
3496 _order = 'name desc, product_id asc, account_id asc'
3497
3498
3499=== modified file 'hr_timesheet_sheet/hr_timesheet_sheet.py'
3500--- hr_timesheet_sheet/hr_timesheet_sheet.py 2014-05-07 17:01:12 +0000
3501+++ hr_timesheet_sheet/hr_timesheet_sheet.py 2014-05-12 18:39:30 +0000
3502@@ -147,7 +147,7 @@
3503 }
3504
3505 _columns = {
3506- 'name': fields.char('Note', size=64, select=1,
3507+ 'name': fields.char('Note', select=1,
3508 states={'confirm':[('readonly', True)], 'done':[('readonly', True)]}),
3509 'employee_id': fields.many2one('hr.employee', 'Employee', required=True),
3510 'user_id': fields.related('employee_id', 'user_id', type="many2one", relation="res.users", store=True, string="User", required=False, readonly=True),#fields.many2one('res.users', 'User', required=True, select=1, states={'confirm':[('readonly', True)], 'done':[('readonly', True)]}),
3511@@ -164,7 +164,7 @@
3512 ('new', 'New'),
3513 ('draft','Open'),
3514 ('confirm','Waiting Approval'),
3515- ('done','Approved')], 'Status', select=True, required=True, readonly=True,
3516+ ('done','Approved')], 'Status', size=7, select=True, required=True, readonly=True,
3517 help=' * The \'Draft\' status is used when a user is encoding a new and unconfirmed timesheet. \
3518 \n* The \'Confirmed\' status is used for to confirm the timesheet by user. \
3519 \n* The \'Done\' status is used when users timesheet is accepted by his/her senior.'),
3520@@ -628,7 +628,7 @@
3521 _inherit = 'res.company'
3522 _columns = {
3523 'timesheet_range': fields.selection(
3524- [('day','Day'),('week','Week'),('month','Month')], 'Timesheet range',
3525+ [('day','Day'),('week','Week'),('month','Month')], 'Timesheet range', size=5,
3526 help="Periodicity on which you validate your timesheets."),
3527 'timesheet_max_difference': fields.float('Timesheet allowed difference(Hours)',
3528 help="Allowed difference in hours between the sign in/out and the timesheet " \
3529
3530=== modified file 'hr_timesheet_sheet/report/hr_timesheet_report.py'
3531--- hr_timesheet_sheet/report/hr_timesheet_report.py 2014-01-27 13:03:51 +0000
3532+++ hr_timesheet_sheet/report/hr_timesheet_report.py 2014-05-12 18:39:30 +0000
3533@@ -30,7 +30,7 @@
3534 _auto = False
3535 _columns = {
3536 'date': fields.date('Date', readonly=True),
3537- 'name': fields.char('Description', size=64,readonly=True),
3538+ 'name': fields.char('Description',readonly=True),
3539 'product_id' : fields.many2one('product.product', 'Product',readonly=True),
3540 'journal_id' : fields.many2one('account.analytic.journal', 'Journal',readonly=True),
3541 'general_account_id' : fields.many2one('account.account', 'General Account', readonly=True),
3542
3543=== modified file 'hr_timesheet_sheet/report/timesheet_report.py'
3544--- hr_timesheet_sheet/report/timesheet_report.py 2013-11-27 15:32:57 +0000
3545+++ hr_timesheet_sheet/report/timesheet_report.py 2014-05-12 18:39:30 +0000
3546@@ -27,13 +27,13 @@
3547 _description = "Timesheet"
3548 _auto = False
3549 _columns = {
3550- 'year': fields.char('Year',size=64,required=False, readonly=True),
3551+ 'year': fields.char('Year', size=4, required=False, readonly=True),
3552 'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'),
3553 ('05','May'), ('06','June'), ('07','July'), ('08','August'), ('09','September'),
3554- ('10','October'), ('11','November'), ('12','December')], 'Month',readonly=True),
3555+ ('10','October'), ('11','November'), ('12','December')], 'Month', size=2, readonly=True),
3556 'day': fields.char('Day', size=128, readonly=True),
3557 'date': fields.date('Date', readonly=True),
3558- 'name': fields.char('Description', size=64,readonly=True),
3559+ 'name': fields.char('Description', readonly=True),
3560 'product_id' : fields.many2one('product.product', 'Product'),
3561 'general_account_id' : fields.many2one('account.account', 'General Account', readonly=True),
3562 'user_id': fields.many2one('res.users', 'User',readonly=True),
3563@@ -52,7 +52,7 @@
3564 ('new', 'New'),
3565 ('draft','Draft'),
3566 ('confirm','Confirmed'),
3567- ('done','Done')], 'Status', readonly=True),
3568+ ('done','Done')], 'Status', size=7, readonly=True),
3569 'quantity': fields.float('Time',readonly=True),
3570 'cost': fields.float('#Cost',readonly=True),
3571 }
3572
3573=== modified file 'hr_timesheet_sheet/res_config.py'
3574--- hr_timesheet_sheet/res_config.py 2013-10-27 12:31:04 +0000
3575+++ hr_timesheet_sheet/res_config.py 2014-05-12 18:39:30 +0000
3576@@ -26,7 +26,7 @@
3577
3578 _columns = {
3579 'timesheet_range': fields.selection([('day','Day'),('week','Week'),('month','Month')],
3580- 'Validate timesheets every', help="Periodicity on which you validate your timesheets."),
3581+ 'Validate timesheets every', size=5, help="Periodicity on which you validate your timesheets."),
3582 'timesheet_max_difference': fields.float('Allow a difference of time between timesheets and attendances of (in hours)',
3583 help='Allowed difference in hours between the sign in/out and the timesheet '
3584 'computation for one sheet. Set this to 0 if you do not want any control.'),
3585
3586=== modified file 'im_livechat/im_livechat.py'
3587--- im_livechat/im_livechat.py 2014-01-29 19:08:34 +0000
3588+++ im_livechat/im_livechat.py 2014-05-12 18:39:30 +0000
3589@@ -120,14 +120,14 @@
3590 return res
3591
3592 _columns = {
3593- 'name': fields.char(string="Channel Name", size=200, required=True),
3594+ 'name': fields.char(string="Channel Name", required=True),
3595 'user_ids': fields.many2many('res.users', 'im_livechat_channel_im_user', 'channel_id', 'user_id', string="Users"),
3596 'are_you_inside': fields.function(_are_you_inside, type='boolean', string='Are you inside the matrix?', store=False),
3597 'script': fields.function(_script, type='text', string='Script', store=False),
3598 'web_page': fields.function(_web_page, type='url', string='Web Page', store=False, size="200"),
3599- 'button_text': fields.char(string="Text of the Button", size=200),
3600- 'input_placeholder': fields.char(string="Chat Input Placeholder", size=200),
3601- 'default_message': fields.char(string="Welcome Message", size=200, help="This is an automated 'welcome' message that your visitor will see when they initiate a new chat session."),
3602+ 'button_text': fields.char(string="Text of the Button"),
3603+ 'input_placeholder': fields.char(string="Chat Input Placeholder"),
3604+ 'default_message': fields.char(string="Welcome Message", help="This is an automated 'welcome' message that your visitor will see when they initiate a new chat session."),
3605 # image: all image fields are base64 encoded and PIL-supported
3606 'image': fields.binary("Photo",
3607 help="This field holds the image used as photo for the group, limited to 1024x1024px."),
3608
3609=== modified file 'l10n_be/wizard/l10n_be_account_vat_declaration.py'
3610--- l10n_be/wizard/l10n_be_account_vat_declaration.py 2013-11-27 15:32:57 +0000
3611+++ l10n_be/wizard/l10n_be_account_vat_declaration.py 2014-05-12 18:39:30 +0000
3612@@ -40,10 +40,10 @@
3613 return ''
3614
3615 _columns = {
3616- 'name': fields.char('File Name', size=32),
3617+ 'name': fields.char('File Name'),
3618 'period_id': fields.many2one('account.period','Period', required=True),
3619 'tax_code_id': fields.many2one('account.tax.code', 'Tax Code', domain=[('parent_id', '=', False)], required=True),
3620- 'msg': fields.text('File created', size=64, readonly=True),
3621+ 'msg': fields.text('File created', readonly=True),
3622 'file_save': fields.binary('Save File'),
3623 'ask_restitution': fields.boolean('Ask Restitution',help='It indicates whether a restitution is to make or not?'),
3624 'ask_payment': fields.boolean('Ask Payment',help='It indicates whether a payment is to make or not?'),
3625
3626=== modified file 'l10n_be/wizard/l10n_be_partner_vat_listing.py'
3627--- l10n_be/wizard/l10n_be_partner_vat_listing.py 2014-04-22 12:11:05 +0000
3628+++ l10n_be/wizard/l10n_be_partner_vat_listing.py 2014-05-12 18:39:30 +0000
3629@@ -33,8 +33,8 @@
3630 class vat_listing_clients(osv.osv_memory):
3631 _name = 'vat.listing.clients'
3632 _columns = {
3633- 'name': fields.char('Client Name', size=32),
3634- 'vat': fields.char('VAT', size=64),
3635+ 'name': fields.char('Client Name'),
3636+ 'vat': fields.char('VAT'),
3637 'turnover': fields.float('Base Amount'),
3638 'vat_amount': fields.float('VAT Amount'),
3639 }
3640@@ -121,7 +121,7 @@
3641 _name = "partner.vat.list"
3642 _columns = {
3643 'partner_ids': fields.many2many('vat.listing.clients', 'vat_partner_rel', 'vat_id', 'partner_id', 'Clients', help='You can remove clients/partners which you do not want to show in xml file'),
3644- 'name': fields.char('File Name', size=32),
3645+ 'name': fields.char('File Name'),
3646 'file_save' : fields.binary('Save File', readonly=True),
3647 'comments': fields.text('Comments'),
3648 }
3649
3650=== modified file 'l10n_be/wizard/l10n_be_vat_intra.py'
3651--- l10n_be/wizard/l10n_be_vat_intra.py 2014-04-22 12:11:05 +0000
3652+++ l10n_be/wizard/l10n_be_vat_intra.py 2014-05-12 18:39:30 +0000
3653@@ -46,8 +46,8 @@
3654 return self.pool.get('res.country').search(cursor, user, [('code', 'in', ['AT', 'BG', 'CY', 'CZ', 'DK', 'EE', 'FI', 'FR', 'DE', 'GR', 'HU', 'IE', 'IT', 'LV', 'LT', 'LU', 'MT', 'NL', 'PL', 'PT', 'RO', 'SK', 'SI', 'ES', 'SE', 'GB'])])
3655
3656 _columns = {
3657- 'name': fields.char('File Name', size=32),
3658- 'period_code': fields.char('Period Code',size = 6,required = True, help = '''This is where you have to set the period code for the intracom declaration using the format: ppyyyy
3659+ 'name': fields.char('File Name'),
3660+ 'period_code': fields.char('Period Code', size=6, required = True, help = '''This is where you have to set the period code for the intracom declaration using the format: ppyyyy
3661 PP can stand for a month: from '01' to '12'.
3662 PP can stand for a trimester: '31','32','33','34'
3663 The first figure means that it is a trimester,
3664@@ -59,9 +59,9 @@
3665 'period_ids': fields.many2many('account.period', 'account_period_rel', 'acc_id', 'period_id', 'Period (s)', help = 'Select here the period(s) you want to include in your intracom declaration'),
3666 'tax_code_id': fields.many2one('account.tax.code', 'Company', domain=[('parent_id', '=', False)], help="Keep empty to use the user's company", required=True),
3667 'test_xml': fields.boolean('Test XML file', help="Sets the XML output as test file"),
3668- 'mand_id' : fields.char('Reference', size=14, help="Reference given by the Representative of the sending company."),
3669- 'msg': fields.text('File created', size=14, readonly=True),
3670- 'no_vat': fields.text('Partner With No VAT', size=14, readonly=True, help="The Partner whose VAT number is not defined and they are not included in XML File."),
3671+ 'mand_id' : fields.char('Reference', help="Reference given by the Representative of the sending company."),
3672+ 'msg': fields.text('File created', readonly=True),
3673+ 'no_vat': fields.text('Partner With No VAT', readonly=True, help="The Partner whose VAT number is not defined and they are not included in XML File."),
3674 'file_save' : fields.binary('Save File', readonly=True),
3675 'country_ids': fields.many2many('res.country', 'vat_country_rel', 'vat_id', 'country_id', 'European Countries'),
3676 'comments': fields.text('Comments'),
3677
3678=== modified file 'l10n_be_coda/wizard/account_coda_import.py'
3679--- l10n_be_coda/wizard/account_coda_import.py 2013-10-27 12:31:04 +0000
3680+++ l10n_be_coda/wizard/account_coda_import.py 2014-05-12 18:39:30 +0000
3681@@ -35,7 +35,7 @@
3682 _description = 'Import CODA File'
3683 _columns = {
3684 'coda_data': fields.binary('CODA File', required=True),
3685- 'coda_fname': fields.char('CODA Filename', size=128, required=True),
3686+ 'coda_fname': fields.char('CODA Filename', required=True),
3687 'note': fields.text('Log'),
3688 'temporary_account_id': fields.many2one('account.account', 'Temporary Account', domain="[('type','!=','view')]", help="It acts as a temporary account for general amount", required=True),
3689 }
3690
3691=== modified file 'l10n_be_hr_payroll/l10n_be_hr_payroll.py'
3692--- l10n_be_hr_payroll/l10n_be_hr_payroll.py 2013-10-27 12:31:04 +0000
3693+++ l10n_be_hr_payroll/l10n_be_hr_payroll.py 2014-05-12 18:39:30 +0000
3694@@ -44,7 +44,7 @@
3695 _inherit = 'hr.employee'
3696
3697 _columns = {
3698- 'spouse_fiscal_status': fields.selection([('without income','Without Income'),('with income','With Income')], 'Tax status for spouse'),
3699+ 'spouse_fiscal_status': fields.selection([('without income','Without Income'),('with income','With Income')], 'Tax status for spouse', size=14),
3700 'disabled_spouse_bool': fields.boolean('Disabled Spouse', help="if recipient spouse is declared disabled by law"),
3701 'disabled_children_bool': fields.boolean('Disabled Children', help="if recipient children is/are declared disabled by law"),
3702 'resident_bool': fields.boolean('Nonresident', help="if recipient lives in a foreign country"),
3703
3704=== modified file 'l10n_be_invoice_bba/invoice.py'
3705--- l10n_be_invoice_bba/invoice.py 2013-10-27 12:31:04 +0000
3706+++ l10n_be_invoice_bba/invoice.py 2014-05-12 18:39:30 +0000
3707@@ -221,8 +221,8 @@
3708 return super(account_invoice, self).copy(cr, uid, id, default, context=context)
3709
3710 _columns = {
3711- 'reference': fields.char('Communication', size=64, help="The partner reference of this invoice."),
3712- 'reference_type': fields.selection(_get_reference_type, 'Communication Type',
3713+ 'reference': fields.char('Communication', help="The partner reference of this invoice."),
3714+ 'reference_type': fields.selection(_get_reference_type, 'Communication Type', size=4,
3715 required=True),
3716 }
3717 _constraints = [
3718
3719=== modified file 'l10n_be_invoice_bba/partner.py'
3720--- l10n_be_invoice_bba/partner.py 2013-10-27 12:31:04 +0000
3721+++ l10n_be_invoice_bba/partner.py 2014-05-12 18:39:30 +0000
3722@@ -34,13 +34,13 @@
3723 return res
3724
3725 _columns = {
3726- 'out_inv_comm_type': fields.selection(_get_comm_type, 'Communication Type', change_default=True,
3727+ 'out_inv_comm_type': fields.selection(_get_comm_type, 'Communication Type', size=4, change_default=True,
3728 help='Select Default Communication Type for Outgoing Invoices.' ),
3729 'out_inv_comm_algorithm': fields.selection([
3730 ('random','Random'),
3731 ('date','Date'),
3732 ('partner_ref','Customer Reference'),
3733- ], 'Communication Algorithm',
3734+ ], 'Communication Algorithm', size=11,
3735 help='Select Algorithm to generate the Structured Communication on Outgoing Invoices.' ),
3736 }
3737
3738
3739=== modified file 'l10n_br/account.py'
3740--- l10n_br/account.py 2013-10-27 12:31:04 +0000
3741+++ l10n_br/account.py 2014-05-12 18:39:30 +0000
3742@@ -21,7 +21,7 @@
3743 from openerp.osv import fields, osv
3744
3745 TAX_CODE_COLUMNS = {
3746- 'domain':fields.char('Domain', size=32,
3747+ 'domain':fields.char('Domain',
3748 help="This field is only used if you develop your own module allowing developers to create specific taxes in a custom domain."),
3749 'tax_discount': fields.boolean('Discount this Tax in Prince',
3750 help="Mark it for (ICMS, PIS, COFINS and others taxes included)."),
3751@@ -115,7 +115,7 @@
3752 ('none','None'),
3753 ('code','Python Code'),
3754 ('balance','Balance'),
3755- ('quantity','Quantity')], 'Tax Type', required=True,
3756+ ('quantity','Quantity')], 'Tax Type', size=8, required=True,
3757 help="The computation method for the tax amount."),
3758 }
3759 _defaults = TAX_DEFAULTS
3760
3761=== modified file 'l10n_fr/l10n_fr.py'
3762--- l10n_fr/l10n_fr.py 2013-10-27 12:31:04 +0000
3763+++ l10n_fr/l10n_fr.py 2014-05-12 18:39:30 +0000
3764@@ -26,7 +26,7 @@
3765 _description = 'Report for l10n_fr'
3766 _columns = {
3767 'code': fields.char('Code', size=64),
3768- 'name': fields.char('Name', size=128),
3769+ 'name': fields.char('Name'),
3770 'line_ids': fields.one2many('l10n.fr.line', 'report_id', 'Lines'),
3771 }
3772 _sql_constraints = [
3773@@ -39,8 +39,8 @@
3774 _description = 'Report Lines for l10n_fr'
3775 _columns = {
3776 'code': fields.char('Variable Name', size=64),
3777- 'definition': fields.char('Definition', size=512),
3778- 'name': fields.char('Name', size=256),
3779+ 'definition': fields.char('Definition'),
3780+ 'name': fields.char('Name'),
3781 'report_id': fields.many2one('l10n.fr.report', 'Report'),
3782 }
3783 _sql_constraints = [
3784@@ -52,8 +52,8 @@
3785 _inherit = 'res.company'
3786
3787 _columns = {
3788- 'siret': fields.char('SIRET', size=64),
3789- 'ape': fields.char('APE', size=64),
3790+ 'siret': fields.char('SIRET'),
3791+ 'ape': fields.char('APE'),
3792 }
3793
3794
3795
3796=== modified file 'l10n_fr_hr_payroll/l10n_fr_hr_payroll.py'
3797--- l10n_fr_hr_payroll/l10n_fr_hr_payroll.py 2013-10-27 12:31:04 +0000
3798+++ l10n_fr_hr_payroll/l10n_fr_hr_payroll.py 2014-05-12 18:39:30 +0000
3799@@ -30,8 +30,8 @@
3800 'plafond_secu': fields.float('Plafond de la Securite Sociale', digits_compute=dp.get_precision('Payroll')),
3801 'nombre_employes': fields.integer('Nombre d\'employes'),
3802 'cotisation_prevoyance': fields.float('Cotisation Patronale Prevoyance', digits_compute=dp.get_precision('Payroll')),
3803- 'org_ss': fields.char('Organisme de securite sociale', size=64),
3804- 'conv_coll': fields.char('Convention collective', size=64),
3805+ 'org_ss': fields.char('Organisme de securite sociale'),
3806+ 'conv_coll': fields.char('Convention collective'),
3807 }
3808
3809
3810@@ -39,16 +39,16 @@
3811 _inherit = 'hr.contract'
3812
3813 _columns = {
3814- 'qualif': fields.char('Qualification', size=64),
3815- 'niveau': fields.char('Niveau', size=64),
3816- 'coef': fields.char('Coefficient', size=64),
3817+ 'qualif': fields.char('Qualification'),
3818+ 'niveau': fields.char('Niveau'),
3819+ 'coef': fields.char('Coefficient'),
3820 }
3821
3822 class hr_payslip(osv.osv):
3823 _inherit = 'hr.payslip'
3824
3825 _columns = {
3826- 'payment_mode': fields.char('Mode de paiement', size=64),
3827+ 'payment_mode': fields.char('Mode de paiement'),
3828 }
3829
3830 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
3831
3832=== modified file 'l10n_fr_rib/bank.py'
3833--- l10n_fr_rib/bank.py 2013-10-27 12:31:04 +0000
3834+++ l10n_fr_rib/bank.py 2014-05-12 18:39:30 +0000
3835@@ -99,7 +99,7 @@
3836 return results
3837
3838 _columns = {
3839- 'rib_code': fields.char('RIB Bank Code', size=64),
3840+ 'rib_code': fields.char('RIB Bank Code'),
3841 }
3842 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
3843
3844
3845=== modified file 'l10n_in_hr_payroll/l10n_in_hr_payroll.py'
3846--- l10n_in_hr_payroll/l10n_in_hr_payroll.py 2013-10-27 12:31:04 +0000
3847+++ l10n_in_hr_payroll/l10n_in_hr_payroll.py 2014-05-12 18:39:30 +0000
3848@@ -56,17 +56,17 @@
3849 _name = 'hr.payroll.advice'
3850 _description = 'Bank Advice'
3851 _columns = {
3852- 'name':fields.char('Name', size=32, readonly=True, required=True, states={'draft': [('readonly', False)]},),
3853+ 'name':fields.char('Name', readonly=True, required=True, states={'draft': [('readonly', False)]},),
3854 'note': fields.text('Description'),
3855 'date': fields.date('Date', readonly=True, required=True, states={'draft': [('readonly', False)]}, help="Advice Date is used to search Payslips"),
3856 'state':fields.selection([
3857 ('draft', 'Draft'),
3858 ('confirm', 'Confirmed'),
3859 ('cancel', 'Cancelled'),
3860- ], 'Status', select=True, readonly=True),
3861- 'number':fields.char('Reference', size=16, readonly=True),
3862+ ], 'Status', size=7, select=True, readonly=True),
3863+ 'number':fields.char('Reference', readonly=True),
3864 'line_ids':fields.one2many('hr.payroll.advice.line', 'advice_id', 'Employee Salary', states={'draft': [('readonly', False)]}, readonly=True),
3865- 'chaque_nos':fields.char('Cheque Numbers', size=256),
3866+ 'chaque_nos':fields.char('Cheque Numbers'),
3867 'neft': fields.boolean('NEFT Transaction', help="Check this box if your company use online transfer for salary"),
3868 'company_id':fields.many2one('res.company', 'Company', required=True, readonly=True, states={'draft': [('readonly', False)]}),
3869 'bank_id':fields.many2one('res.bank', 'Bank', readonly=True, states={'draft': [('readonly', False)]}, help="Select the Bank from which the salary is going to be paid"),
3870
3871=== modified file 'l10n_in_hr_payroll/report/payment_advice_report.py'
3872--- l10n_in_hr_payroll/report/payment_advice_report.py 2013-10-27 12:31:04 +0000
3873+++ l10n_in_hr_payroll/report/payment_advice_report.py 2014-05-12 18:39:30 +0000
3874@@ -27,28 +27,28 @@
3875 _description = "Payment Advice Analysis"
3876 _auto = False
3877 _columns = {
3878- 'name':fields.char('Name', size=32, readonly=True),
3879+ 'name':fields.char('Name', readonly=True),
3880 'date': fields.date('Date', readonly=True,),
3881 'year': fields.char('Year', size=4, readonly=True),
3882 'month': fields.selection([('01', 'January'), ('02', 'February'), ('03', 'March'), ('04', 'April'),
3883 ('05', 'May'), ('06', 'June'), ('07', 'July'), ('08', 'August'), ('09', 'September'),
3884- ('10', 'October'), ('11', 'November'), ('12', 'December')], 'Month', readonly=True),
3885+ ('10', 'October'), ('11', 'November'), ('12', 'December')], 'Month', size=2, readonly=True),
3886 'day': fields.char('Day', size=128, readonly=True),
3887 'state':fields.selection([
3888 ('draft', 'Draft'),
3889 ('confirm', 'Confirmed'),
3890 ('cancel', 'Cancelled'),
3891- ], 'Status', select=True, readonly=True),
3892+ ], 'Status', size=7, select=True, readonly=True),
3893 'employee_id': fields.many2one('hr.employee', 'Employee', readonly=True),
3894 'nbr': fields.integer('# Payment Lines', readonly=True),
3895- 'number':fields.char('Number', size=16, readonly=True),
3896+ 'number':fields.char('Number', readonly=True),
3897 'bysal': fields.float('By Salary', readonly=True),
3898 'bank_id':fields.many2one('res.bank', 'Bank', readonly=True),
3899 'company_id':fields.many2one('res.company', 'Company', readonly=True),
3900- 'cheque_nos':fields.char('Cheque Numbers', size=256, readonly=True),
3901+ 'cheque_nos':fields.char('Cheque Numbers', readonly=True),
3902 'neft': fields.boolean('NEFT Transaction', readonly=True),
3903 'ifsc_code': fields.char('IFSC Code', size=32, readonly=True),
3904- 'employee_bank_no': fields.char('Employee Bank Account', size=32, required=True),
3905+ 'employee_bank_no': fields.char('Employee Bank Account', required=True),
3906 }
3907 def init(self, cr):
3908 tools.drop_view_if_exists(cr, 'payment_advice_report')
3909
3910=== modified file 'l10n_in_hr_payroll/report/payslip_report.py'
3911--- l10n_in_hr_payroll/report/payslip_report.py 2013-10-27 12:31:04 +0000
3912+++ l10n_in_hr_payroll/report/payslip_report.py 2014-05-12 18:39:30 +0000
3913@@ -27,22 +27,22 @@
3914 _description = "Payslip Analysis"
3915 _auto = False
3916 _columns = {
3917- 'name':fields.char('Name', size=32, readonly=True),
3918+ 'name':fields.char('Name', readonly=True),
3919 'date_from': fields.date('Date From', readonly=True,),
3920 'date_to': fields.date('Date To', readonly=True,),
3921 'year': fields.char('Year', size=4, readonly=True),
3922 'month': fields.selection([('01', 'January'), ('02', 'February'), ('03', 'March'), ('04', 'April'),
3923 ('05', 'May'), ('06', 'June'), ('07', 'July'), ('08', 'August'), ('09', 'September'),
3924- ('10', 'October'), ('11', 'November'), ('12', 'December')], 'Month', readonly=True),
3925+ ('10', 'October'), ('11', 'November'), ('12', 'December')], 'Month', size=2, readonly=True),
3926 'day': fields.char('Day', size=128, readonly=True),
3927 'state': fields.selection([
3928 ('draft', 'Draft'),
3929 ('done', 'Done'),
3930 ('cancel', 'Rejected'),
3931- ], 'Status', readonly=True),
3932+ ], 'Status', size=6, readonly=True),
3933 'employee_id': fields.many2one('hr.employee', 'Employee', readonly=True),
3934 'nbr': fields.integer('# Payslip lines', readonly=True),
3935- 'number': fields.char('Number', size=16, readonly=True),
3936+ 'number': fields.char('Number', readonly=True),
3937 'struct_id': fields.many2one('hr.payroll.structure', 'Structure', readonly=True),
3938 'company_id':fields.many2one('res.company', 'Company', readonly=True),
3939 'paid': fields.boolean('Made Payment Order ? ', readonly=True),
3940
3941=== modified file 'l10n_ma/l10n_ma.py'
3942--- l10n_ma/l10n_ma.py 2013-10-27 12:31:04 +0000
3943+++ l10n_ma/l10n_ma.py 2014-05-12 18:39:30 +0000
3944@@ -27,7 +27,7 @@
3945 _description = 'Report for l10n_ma_kzc'
3946 _columns = {
3947 'code': fields.char('Code', size=64),
3948- 'name': fields.char('Name', size=128),
3949+ 'name': fields.char('Name'),
3950 'line_ids': fields.one2many('l10n.ma.line', 'report_id', 'Lines'),
3951 }
3952 _sql_constraints = [
3953@@ -39,8 +39,8 @@
3954 _description = 'Report Lines for l10n_ma'
3955 _columns = {
3956 'code': fields.char('Variable Name', size=64),
3957- 'definition': fields.char('Definition', size=512),
3958- 'name': fields.char('Name', size=256),
3959+ 'definition': fields.char('Definition'),
3960+ 'name': fields.char('Name'),
3961 'report_id': fields.many2one('l10n.ma.report', 'Report'),
3962 }
3963 _sql_constraints = [
3964
3965=== modified file 'l10n_multilang/account.py'
3966--- l10n_multilang/account.py 2013-10-27 12:31:04 +0000
3967+++ l10n_multilang/account.py 2014-05-12 18:39:30 +0000
3968@@ -29,41 +29,41 @@
3969 class account_account_template(osv.osv):
3970 _inherit = 'account.account.template'
3971 _columns = {
3972- 'name': fields.char('Name', size=128, required=True, select=True, translate=True),
3973+ 'name': fields.char('Name', required=True, select=True, translate=True),
3974 }
3975
3976 class account_account(osv.osv):
3977 _inherit = 'account.account'
3978 _columns = {
3979- 'name': fields.char('Name', size=128, required=True, select=True, translate=True),
3980+ 'name': fields.char('Name', required=True, select=True, translate=True),
3981 }
3982
3983 class account_tax(osv.osv):
3984 _inherit = 'account.tax'
3985 _columns = {
3986- 'name': fields.char('Tax Name', size=128, required=True, select=True, translate=True),
3987+ 'name': fields.char('Tax Name', required=True, select=True, translate=True),
3988 }
3989
3990
3991 class account_tax_template(osv.osv):
3992 _inherit = 'account.tax.template'
3993 _columns = {
3994- 'name': fields.char('Tax Name', size=128, required=True, select=True, translate=True),
3995+ 'name': fields.char('Tax Name', required=True, select=True, translate=True),
3996 }
3997
3998
3999 class account_tax_code_template(osv.osv):
4000 _inherit = 'account.tax.code.template'
4001 _columns = {
4002- 'name': fields.char('Tax Case Name', size=64, required=True, translate=True),
4003+ 'name': fields.char('Tax Case Name', required=True, translate=True),
4004 }
4005
4006
4007 class account_chart_template(osv.osv):
4008 _inherit = 'account.chart.template'
4009 _columns={
4010- 'name': fields.char('Name', size=64, required=True, translate=True),
4011- 'spoken_languages': fields.char('Spoken Languages', size=64, help="State here the languages for which the translations of templates could be loaded at the time of installation of this localization module and copied in the final object when generating them from templates. You must provide the language codes separated by ';'"),
4012+ 'name': fields.char('Name', required=True, translate=True),
4013+ 'spoken_languages': fields.char('Spoken Languages', help="State here the languages for which the translations of templates could be loaded at the time of installation of this localization module and copied in the final object when generating them from templates. You must provide the language codes separated by ';'"),
4014 }
4015 _order = 'name'
4016
4017@@ -71,33 +71,33 @@
4018 class account_fiscal_position(osv.osv):
4019 _inherit = 'account.fiscal.position'
4020 _columns = {
4021- 'name': fields.char('Fiscal Position', size=64, required=True, translate=True),
4022+ 'name': fields.char('Fiscal Position', required=True, translate=True),
4023 }
4024
4025
4026 class account_fiscal_position_template(osv.osv):
4027 _inherit = 'account.fiscal.position.template'
4028 _columns = {
4029- 'name': fields.char('Fiscal Position Template', size=64, required=True, translate=True),
4030+ 'name': fields.char('Fiscal Position Template', required=True, translate=True),
4031 }
4032
4033
4034 class account_journal(osv.osv):
4035 _inherit = 'account.journal'
4036 _columns = {
4037- 'name': fields.char('Journal Name', size=64, required=True, translate=True),
4038+ 'name': fields.char('Journal Name', required=True, translate=True),
4039 }
4040
4041
4042 class account_analytic_account(osv.osv):
4043 _inherit = 'account.analytic.account'
4044 _columns = {
4045- 'name': fields.char('Account Name', size=128, required=True, translate=True),
4046+ 'name': fields.char('Account Name', required=True, translate=True),
4047 }
4048
4049
4050 class account_analytic_journal(osv.osv):
4051 _inherit = 'account.analytic.journal'
4052 _columns = {
4053- 'name': fields.char('Journal Name', size=64, required=True, translate=True),
4054+ 'name': fields.char('Journal Name', required=True, translate=True),
4055 }
4056
4057=== modified file 'l10n_ro/res_partner.py'
4058--- l10n_ro/res_partner.py 2013-10-27 12:31:04 +0000
4059+++ l10n_ro/res_partner.py 2014-05-12 18:39:30 +0000
4060@@ -25,7 +25,7 @@
4061 _name = "res.partner"
4062 _inherit = "res.partner"
4063 _columns = {
4064- 'nrc' : fields.char('NRC', size=16, help='Registration number at the Registry of Commerce'),
4065+ 'nrc' : fields.char('NRC', help='Registration number at the Registry of Commerce'),
4066 }
4067
4068 # The SQL constraints are no-ops but present only to display the right error message to the
4069
4070=== modified file 'lunch/lunch.py'
4071--- lunch/lunch.py 2013-10-27 12:31:04 +0000
4072+++ lunch/lunch.py 2014-05-12 18:39:30 +0000
4073@@ -307,7 +307,7 @@
4074 ('confirmed','Confirmed'), \
4075 ('cancelled','Cancelled'), \
4076 ('partially','Partially Confirmed')] \
4077- ,'Status', readonly=True, select=True),
4078+ ,'Status', size=9, readonly=True, select=True),
4079 'alerts': fields.function(_alerts_get, string="Alerts", type='text'),
4080 }
4081
4082@@ -416,7 +416,7 @@
4083 ('confirmed', 'Received'), \
4084 ('ordered', 'Ordered'), \
4085 ('cancelled', 'Cancelled')], \
4086- 'Status', readonly=True, select=True),
4087+ 'Status', size=9, readonly=True, select=True),
4088 'cashmove': fields.one2many('lunch.cashmove', 'order_id', 'Cash Move', ondelete='cascade'),
4089
4090 }
4091@@ -432,7 +432,7 @@
4092 _name = 'lunch.product'
4093 _description = 'lunch product'
4094 _columns = {
4095- 'name': fields.char('Product', required=True, size=64),
4096+ 'name': fields.char('Product', required=True),
4097 'category_id': fields.many2one('lunch.product.category', 'Category', required=True),
4098 'description': fields.text('Description', size=256),
4099 'price': fields.float('Price', digits=(16,2)), #TODO: use decimal precision of 'Account', move it from product to decimal_precision
4100@@ -461,7 +461,7 @@
4101 'amount': fields.float('Amount', required=True), #depending on the kind of cashmove, the amount will be positive or negative
4102 'description': fields.text('Description'), #the description can be an order or a payment
4103 'order_id': fields.many2one('lunch.order.line', 'Order', ondelete='cascade'),
4104- 'state': fields.selection([('order','Order'), ('payment','Payment')], 'Is an order or a Payment'),
4105+ 'state': fields.selection([('order','Order'), ('payment','Payment')], 'Is an order or a Payment', size=7),
4106 }
4107 _defaults = {
4108 'user_id': lambda self, cr, uid, context: uid,
4109@@ -480,7 +480,7 @@
4110 'alter_type': fields.selection([('specific', 'Specific Day'), \
4111 ('week', 'Every Week'), \
4112 ('days', 'Every Day')], \
4113- string='Recurrency', required=True, select=True),
4114+ string='Recurrency', size=8, required=True, select=True),
4115 'specific_day': fields.date('Day'),
4116 'monday': fields.boolean('Monday'),
4117 'tuesday': fields.boolean('Tuesday'),
4118
4119=== modified file 'lunch/report/report_lunch_order.py'
4120--- lunch/report/report_lunch_order.py 2013-10-27 12:31:04 +0000
4121+++ lunch/report/report_lunch_order.py 2014-05-12 18:39:30 +0000
4122@@ -32,11 +32,11 @@
4123 'year': fields.char('Year', size=4, readonly=True),
4124 'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'),
4125 ('05','May'), ('06','June'), ('07','July'), ('08','August'), ('09','September'),
4126- ('10','October'), ('11','November'), ('12','December')], 'Month',readonly=True),
4127+ ('10','October'), ('11','November'), ('12','December')], 'Month', size=2, readonly=True),
4128 'day': fields.char('Day', size=128, readonly=True),
4129 'user_id': fields.many2one('res.users', 'User Name'),
4130 'price_total':fields.float('Total Price', readonly=True),
4131- 'note' : fields.text('Note',size=256,readonly=True),
4132+ 'note' : fields.text('Note', readonly=True),
4133 }
4134 _order = 'date desc'
4135 def init(self, cr):
4136
4137=== modified file 'mail/mail_alias.py'
4138--- mail/mail_alias.py 2014-05-09 10:23:55 +0000
4139+++ mail/mail_alias.py 2014-05-12 18:39:30 +0000
4140@@ -87,7 +87,7 @@
4141 help="Optional ID of a thread (record) to which all incoming "
4142 "messages will be attached, even if they did not reply to it. "
4143 "If set, this will disable the creation of new records completely."),
4144- 'alias_domain': fields.function(_get_alias_domain, string="Alias domain", type='char', size=None),
4145+ 'alias_domain': fields.function(_get_alias_domain, string="Alias domain", type='char'),
4146 'alias_parent_model_id': fields.many2one('ir.model', 'Parent Model',
4147 help="Parent model holding the alias. The model holding the alias reference\n"
4148 "is not necessarily the model given by alias_model_id\n"
4149@@ -98,7 +98,7 @@
4150 ('everyone', 'Everyone'),
4151 ('partners', 'Authenticated Partners'),
4152 ('followers', 'Followers only'),
4153- ], string='Alias Contact Security', required=True,
4154+ ], string='Alias Contact Security', size=9, required=True,
4155 help="Policy to post a message on the document using the mailgateway.\n"
4156 "- everyone: everyone can post\n"
4157 "- partners: only authenticated partners\n"
4158
4159=== modified file 'mail/mail_followers.py'
4160--- mail/mail_followers.py 2014-04-23 12:53:19 +0000
4161+++ mail/mail_followers.py 2014-05-12 18:39:30 +0000
4162@@ -37,7 +37,7 @@
4163 _log_access = False
4164 _description = 'Document Followers'
4165 _columns = {
4166- 'res_model': fields.char('Related Document Model', size=128,
4167+ 'res_model': fields.char('Related Document Model',
4168 required=True, select=1,
4169 help='Model of the followed resource'),
4170 'res_id': fields.integer('Related Document ID', select=1,
4171
4172=== modified file 'mail/mail_group.py'
4173--- mail/mail_group.py 2014-03-20 15:08:55 +0000
4174+++ mail/mail_group.py 2014-05-12 18:39:30 +0000
4175@@ -45,10 +45,10 @@
4176 return self.write(cr, uid, [id], {'image': tools.image_resize_image_big(value)}, context=context)
4177
4178 _columns = {
4179- 'name': fields.char('Name', size=64, required=True, translate=True),
4180+ 'name': fields.char('Name', required=True, translate=True),
4181 'description': fields.text('Description'),
4182 'menu_id': fields.many2one('ir.ui.menu', string='Related Menu', required=True, ondelete="cascade"),
4183- 'public': fields.selection([('public', 'Public'), ('private', 'Private'), ('groups', 'Selected Group Only')], 'Privacy', required=True,
4184+ 'public': fields.selection([('public', 'Public'), ('private', 'Private'), ('groups', 'Selected Group Only')], 'Privacy', size=8, required=True,
4185 help='This group is visible by non members. \
4186 Invisible groups can add members through the invite button.'),
4187 'group_public_id': fields.many2one('res.groups', string='Authorized Group'),
4188
4189=== modified file 'mail/mail_mail.py'
4190--- mail/mail_mail.py 2014-05-09 10:23:55 +0000
4191+++ mail/mail_mail.py 2014-05-12 18:39:30 +0000
4192@@ -51,7 +51,7 @@
4193 ('received', 'Received'),
4194 ('exception', 'Delivery Failed'),
4195 ('cancel', 'Cancelled'),
4196- ], 'Status', readonly=True),
4197+ ], 'Status', size=9, readonly=True),
4198 'auto_delete': fields.boolean('Auto Delete',
4199 help="Permanently delete this email after sending it, to save space"),
4200 'references': fields.text('References', help='Message references, such as identifiers of previous messages', readonly=1),
4201
4202=== modified file 'mail/mail_message.py'
4203--- mail/mail_message.py 2014-05-09 10:23:55 +0000
4204+++ mail/mail_message.py 2014-05-12 18:39:30 +0000
4205@@ -124,7 +124,7 @@
4206 ('email', 'Email'),
4207 ('comment', 'Comment'),
4208 ('notification', 'System notification'),
4209- ], 'Type',
4210+ ], 'Type', size=12,
4211 help="Message type: email for email message, notification for system "\
4212 "message, comment for other messages such as user replies"),
4213 'email_from': fields.char('From',
4214
4215=== modified file 'mail/res_partner.py'
4216--- mail/res_partner.py 2014-04-17 09:41:33 +0000
4217+++ mail/res_partner.py 2014-05-12 18:39:30 +0000
4218@@ -34,7 +34,7 @@
4219 'notify_email': fields.selection([
4220 ('none', 'Never'),
4221 ('always', 'All Messages'),
4222- ], 'Receive Inbox Notifications by Email', required=True,
4223+ ], 'Receive Inbox Notifications by Email', size=6, required=True,
4224 oldname='notification_email_send',
4225 help="Policy to receive emails for new messages pushed to your personal Inbox:\n"
4226 "- Never: no emails are sent\n"
4227
4228=== modified file 'mail/wizard/invite.py'
4229--- mail/wizard/invite.py 2014-03-10 14:36:00 +0000
4230+++ mail/wizard/invite.py 2014-05-12 18:39:30 +0000
4231@@ -48,7 +48,7 @@
4232 return result
4233
4234 _columns = {
4235- 'res_model': fields.char('Related Document Model', size=128,
4236+ 'res_model': fields.char('Related Document Model',
4237 required=True, select=1,
4238 help='Model of the followed resource'),
4239 'res_id': fields.integer('Related Document ID', select=1,
4240
4241=== modified file 'marketing_campaign/marketing_campaign.py'
4242--- marketing_campaign/marketing_campaign.py 2014-03-26 12:34:57 +0000
4243+++ marketing_campaign/marketing_campaign.py 2014-05-12 18:39:30 +0000
4244@@ -96,7 +96,7 @@
4245 return res
4246
4247 _columns = {
4248- 'name': fields.char('Name', size=64, required=True),
4249+ 'name': fields.char('Name', required=True),
4250 'object_id': fields.many2one('ir.model', 'Resource', required=True,
4251 help="Choose the resource on which you want \
4252 this campaign to be run"),
4253@@ -117,7 +117,7 @@
4254 ('test_realtime', 'Test in Realtime'),
4255 ('manual', 'With Manual Confirmation'),
4256 ('active', 'Normal')],
4257- 'Mode', required=True, help= \
4258+ 'Mode', size=13, required=True, help= \
4259 """Test - It creates and process all the activities directly (without waiting for the delay on transitions) but does not send emails or produce reports.
4260 Test in Realtime - It creates and processes all the activities directly but does not send emails or produce reports.
4261 With Manual Confirmation - the campaigns runs normally, but the user has to validate all workitem manually.
4262@@ -126,7 +126,7 @@
4263 ('running', 'Running'),
4264 ('cancelled', 'Cancelled'),
4265 ('done', 'Done')],
4266- 'Status',),
4267+ 'Status', size=9),
4268 'activity_ids': fields.one2many('marketing.campaign.activity',
4269 'campaign_id', 'Activities'),
4270 'fixed_cost': fields.float('Fixed Cost', help="Fixed cost for running this campaign. You may also specify variable cost and revenue on each campaign activity. Cost and Revenue statistics are included in Campaign Reporting.", digits_compute=dp.get_precision('Product Price')),
4271@@ -261,7 +261,7 @@
4272 return dict.fromkeys(ids, next_sync)
4273
4274 _columns = {
4275- 'name': fields.char('Name', size=64,required=True),
4276+ 'name': fields.char('Name', required=True),
4277 'campaign_id': fields.many2one('marketing.campaign', 'Campaign', required=True, select=1, ondelete="cascade"),
4278 'object_id': fields.related('campaign_id','object_id', type='many2one', relation='ir.model', string='Resource'),
4279 'ir_filter_id': fields.many2one('ir.filters', 'Filter', ondelete="restrict",
4280@@ -273,7 +273,7 @@
4281 'sync_mode': fields.selection([('create_date', 'Only records created after last sync'),
4282 ('write_date', 'Only records modified after last sync (no duplicates)'),
4283 ('all', 'All records (no duplicates)')],
4284- 'Synchronization mode',
4285+ 'Synchronization mode', size=11,
4286 help="Determines an additional criterion to add to the filter when selecting new records to inject in the campaign. "\
4287 '"No duplicates" prevents selecting records which have already entered the campaign previously.'\
4288 'If the campaign has a "unique field" set, "no duplicates" will also prevent selecting records which have '\
4289@@ -282,7 +282,7 @@
4290 ('cancelled', 'Cancelled'),
4291 ('running', 'Running'),
4292 ('done', 'Done')],
4293- 'Status',),
4294+ 'Status', size=9),
4295 'date_run': fields.datetime('Launch Date', help="Initial start date of this segment."),
4296 'date_done': fields.datetime('End Date', help="Date this segment was last closed or cancelled."),
4297 'date_next_sync': fields.function(_get_next_sync, string='Next Synchronization', type='datetime', help="Next time the synchronization job is scheduled to run automatically"),
4298@@ -411,7 +411,7 @@
4299 ]
4300
4301 _columns = {
4302- 'name': fields.char('Name', size=128, required=True),
4303+ 'name': fields.char('Name', required=True),
4304 'campaign_id': fields.many2one('marketing.campaign', 'Campaign',
4305 required = True, ondelete='cascade', select=1),
4306 'object_id': fields.related('campaign_id','object_id',
4307@@ -426,7 +426,7 @@
4308 " - resource: the resource object this campaign item represents\n"
4309 " - transitions: list of campaign transitions outgoing from this activity\n"
4310 "...- re: Python regular expression module"),
4311- 'type': fields.selection(_action_types, 'Type', required=True,
4312+ 'type': fields.selection(_action_types, 'Type', required=True, size=6,
4313 help="""The type of action to execute when an item enters this activity, such as:
4314 - Email: send an email using a predefined email template
4315 - Report: print an existing Report defined on the resource item and save it into a specific directory
4316@@ -446,7 +446,7 @@
4317 'Previous Activities'),
4318 'variable_cost': fields.float('Variable Cost', help="Set a variable cost if you consider that every campaign item that has reached this point has entailed a certain cost. You can get cost statistics in the Reporting section", digits_compute=dp.get_precision('Product Price')),
4319 'revenue': fields.float('Revenue', help="Set an expected revenue if you consider that every campaign item that has reached this point has generated a certain revenue. You can get revenue statistics in the Reporting section", digits_compute=dp.get_precision('Account')),
4320- 'signal': fields.char('Signal', size=128,
4321+ 'signal': fields.char('Signal',
4322 help='An activity with a signal can be called programmatically. Be careful, the workitem is always created when a signal is sent'),
4323 'keep_if_condition_not_met': fields.boolean("Don't Delete Workitems",
4324 help="By activating this option, workitems that aren't executed because the condition is not met are marked as cancelled instead of being deleted.")
4325@@ -560,14 +560,14 @@
4326 'Next Activity',
4327 required=True, ondelete="cascade"),
4328 'interval_nbr': fields.integer('Interval Value', required=True),
4329- 'interval_type': fields.selection(_interval_units, 'Interval Unit',
4330+ 'interval_type': fields.selection(_interval_units, 'Interval Unit', size=6,
4331 required=True),
4332
4333 'trigger': fields.selection([('auto', 'Automatic'),
4334 ('time', 'Time'),
4335 ('cosmetic', 'Cosmetic'), # fake plastic transition
4336 ],
4337- 'Trigger', required=True,
4338+ 'Trigger', required=True, size=8,
4339 help="How is the destination workitem triggered"),
4340 }
4341
4342@@ -658,7 +658,7 @@
4343 ('cancelled', 'Cancelled'),
4344 ('exception', 'Exception'),
4345 ('done', 'Done'),
4346- ], 'Status', readonly=True),
4347+ ], 'Status', size=9, readonly=True),
4348 'error_msg' : fields.text('Error Message', readonly=True)
4349 }
4350 _defaults = {
4351
4352=== modified file 'marketing_campaign/report/campaign_analysis.py'
4353--- marketing_campaign/report/campaign_analysis.py 2013-10-27 12:31:04 +0000
4354+++ marketing_campaign/report/campaign_analysis.py 2014-05-12 18:39:30 +0000
4355@@ -50,7 +50,7 @@
4356 ('03','March'), ('04','April'),('05','May'), ('06','June'),
4357 ('07','July'), ('08','August'), ('09','September'),
4358 ('10','October'), ('11','November'), ('12','December')],
4359- 'Month', readonly=True),
4360+ 'Month', size=2, readonly=True),
4361 'day': fields.char('Day', size=10, readonly=True),
4362 'date': fields.date('Date', readonly=True, select=True),
4363 'campaign_id': fields.many2one('marketing.campaign', 'Campaign',
4364@@ -68,7 +68,7 @@
4365 'count' : fields.integer('# of Actions', readonly=True),
4366 'state': fields.selection([('todo', 'To Do'),
4367 ('exception', 'Exception'), ('done', 'Done'),
4368- ('cancelled', 'Cancelled')], 'Status', readonly=True),
4369+ ('cancelled', 'Cancelled')], 'Status', size=9, readonly=True),
4370 }
4371 def init(self, cr):
4372 tools.drop_view_if_exists(cr, 'campaign_analysis')
4373
4374=== modified file 'mass_mailing/models/mass_mailing.py'
4375--- mass_mailing/models/mass_mailing.py 2014-04-29 16:54:30 +0000
4376+++ mass_mailing/models/mass_mailing.py 2014-05-12 18:39:30 +0000
4377@@ -326,7 +326,7 @@
4378 ),
4379 'state': fields.selection(
4380 [('draft', 'Draft'), ('test', 'Tested'), ('done', 'Sent')],
4381- string='Status', required=True,
4382+ string='Status', size=5, required=True,
4383 ),
4384 'color': fields.related(
4385 'mass_mailing_campaign_id', 'color',
4386@@ -335,7 +335,7 @@
4387 # mailing options
4388 'reply_to_mode': fields.selection(
4389 [('thread', 'In Document'), ('email', 'Specified Email Address')],
4390- string='Reply-To Mode', required=True,
4391+ string='Reply-To Mode', size=6, required=True,
4392 ),
4393 'reply_to': fields.char('Reply To', help='Preferred Reply-To Address'),
4394 # recipients
4395
4396=== modified file 'membership/report/report_membership.py'
4397--- membership/report/report_membership.py 2013-10-27 12:31:04 +0000
4398+++ membership/report/report_membership.py 2014-05-12 18:39:30 +0000
4399@@ -47,7 +47,7 @@
4400 ('05', 'May'), ('06', 'June'), \
4401 ('07', 'July'), ('08', 'August'),\
4402 ('09', 'September'), ('10', 'October'),\
4403- ('11', 'November'), ('12', 'December')], 'Month', readonly=True),
4404+ ('11', 'November'), ('12', 'December')], 'Month', size=2, readonly=True),
4405 'date_from': fields.datetime('Start Date', readonly=True, help="Start membership date"),
4406 'date_to': fields.datetime('End Date', readonly=True, help="End membership date"),
4407 'num_waiting': fields.integer('# Waiting', readonly=True),
4408@@ -58,7 +58,7 @@
4409 'partner_id': fields.many2one('res.partner', 'Member', readonly=True),
4410 'associate_member_id': fields.many2one('res.partner', 'Associate Member', readonly=True),
4411 'membership_id': fields.many2one('product.product', 'Membership Product', readonly=True),
4412- 'membership_state': fields.selection(STATE, 'Current Membership State', readonly=True),
4413+ 'membership_state': fields.selection(STATE, 'Current Membership State', size=9, readonly=True),
4414 'user_id': fields.many2one('res.users', 'Salesperson', readonly=True),
4415 'company_id': fields.many2one('res.company', 'Company', readonly=True)
4416 }
4417
4418=== modified file 'mrp/mrp.py'
4419--- mrp/mrp.py 2014-05-08 11:59:17 +0000
4420+++ mrp/mrp.py 2014-05-12 18:39:30 +0000
4421@@ -36,7 +36,7 @@
4422 _name = 'mrp.property.group'
4423 _description = 'Property Group'
4424 _columns = {
4425- 'name': fields.char('Property Group', size=64, required=True),
4426+ 'name': fields.char('Property Group', required=True),
4427 'description': fields.text('Description'),
4428 }
4429
4430@@ -47,8 +47,8 @@
4431 _name = 'mrp.property'
4432 _description = 'Property'
4433 _columns = {
4434- 'name': fields.char('Name', size=64, required=True),
4435- 'composition': fields.selection([('min','min'),('max','max'),('plus','plus')], 'Properties composition', required=True, help="Not used in computations, for information purpose only."),
4436+ 'name': fields.char('Name', required=True),
4437+ 'composition': fields.selection([('min','min'),('max','max'),('plus','plus')], 'Properties composition', size=4, required=True, help="Not used in computations, for information purpose only."),
4438 'group_id': fields.many2one('mrp.property.group', 'Property Group', required=True),
4439 'description': fields.text('Description'),
4440 }
4441@@ -103,7 +103,7 @@
4442 _name = 'mrp.routing'
4443 _description = 'Routing'
4444 _columns = {
4445- 'name': fields.char('Name', size=64, required=True),
4446+ 'name': fields.char('Name', required=True),
4447 'active': fields.boolean('Active', help="If the active field is set to False, it will allow you to hide the routing without removing it."),
4448 'code': fields.char('Code', size=8),
4449
4450@@ -131,7 +131,7 @@
4451 _order = 'sequence'
4452 _columns = {
4453 'workcenter_id': fields.many2one('mrp.workcenter', 'Work Center', required=True),
4454- 'name': fields.char('Name', size=64, required=True),
4455+ 'name': fields.char('Name', required=True),
4456 'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of routing Work Centers."),
4457 'cycle_nbr': fields.float('Number of Cycles', required=True,
4458 help="Number of iterations this work center has to do in the specified operation of the routing."),
4459@@ -193,7 +193,7 @@
4460 return result
4461
4462 _columns = {
4463- 'name': fields.char('Name', size=64),
4464+ 'name': fields.char('Name'),
4465 'code': fields.char('Reference', size=16),
4466 'active': fields.boolean('Active', help="If the active field is set to False, it will allow you to hide the bills of material without removing it."),
4467 'type': fields.selection([('normal', 'Normal BoM'), ('phantom', 'Sets / Phantom')], 'BoM Type', required=True,
4468@@ -203,7 +203,7 @@
4469 'date_start': fields.date('Valid From', help="Validity of this BoM or component. Keep empty if it's always valid."),
4470 'date_stop': fields.date('Valid Until', help="Validity of this BoM or component. Keep empty if it's always valid."),
4471 'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of bills of material."),
4472- 'position': fields.char('Internal Reference', size=64, help="Reference to a position in an external plan."),
4473+ 'position': fields.char('Internal Reference', help="Reference to a position in an external plan."),
4474 'product_id': fields.many2one('product.product', 'Product', required=True),
4475 'product_uos_qty': fields.float('Product UOS Qty'),
4476 'product_uos': fields.many2one('product.uom', 'Product UOS', help="Product UOS (Unit of Sale) is the unit of measurement for the invoicing and promotion of stock."),
4477@@ -452,11 +452,11 @@
4478 return res
4479
4480 _columns = {
4481- 'name': fields.char('Reference', size=64, required=True, readonly=True, states={'draft': [('readonly', False)]}),
4482- 'origin': fields.char('Source Document', size=64, readonly=True, states={'draft': [('readonly', False)]},
4483+ 'name': fields.char('Reference', required=True, readonly=True, states={'draft': [('readonly', False)]}),
4484+ 'origin': fields.char('Source Document', readonly=True, states={'draft': [('readonly', False)]},
4485 help="Reference of the document that generated this production order request."),
4486 'priority': fields.selection([('0', 'Not urgent'), ('1', 'Normal'), ('2', 'Urgent'), ('3', 'Very Urgent')], 'Priority',
4487- select=True, readonly=True, states=dict.fromkeys(['draft', 'confirmed'], [('readonly', False)])),
4488+ size=1, select=True, readonly=True, states=dict.fromkeys(['draft', 'confirmed'], [('readonly', False)])),
4489
4490 'product_id': fields.many2one('product.product', 'Product', required=True, readonly=True, states={'draft': [('readonly', False)]}),
4491 'product_qty': fields.float('Product Quantity', digits_compute=dp.get_precision('Product Unit of Measure'), required=True, readonly=True, states={'draft': [('readonly', False)]}),
4492@@ -495,7 +495,7 @@
4493 'state': fields.selection(
4494 [('draft', 'New'), ('cancel', 'Cancelled'), ('confirmed', 'Awaiting Raw Materials'),
4495 ('ready', 'Ready to Produce'), ('in_production', 'Production Started'), ('done', 'Done')],
4496- string='Status', readonly=True,
4497+ string='Status', size=13, readonly=True,
4498 track_visibility='onchange',
4499 help="When the production order is created the status is set to 'Draft'.\n\
4500 If the order is confirmed the status is set to 'Waiting Goods'.\n\
4501@@ -1084,7 +1084,7 @@
4502 _inherit = ['mail.thread']
4503
4504 _columns = {
4505- 'name': fields.char('Work Order', size=64, required=True),
4506+ 'name': fields.char('Work Order', required=True),
4507 'workcenter_id': fields.many2one('mrp.workcenter', 'Work Center', required=True),
4508 'cycle': fields.float('Number of Cycles', digits=(16, 2)),
4509 'hour': fields.float('Number of Hours', digits=(16, 2)),
4510@@ -1102,7 +1102,7 @@
4511 _name = 'mrp.production.product.line'
4512 _description = 'Production Scheduled Product'
4513 _columns = {
4514- 'name': fields.char('Name', size=64, required=True),
4515+ 'name': fields.char('Name', required=True),
4516 'product_id': fields.many2one('product.product', 'Product', required=True),
4517 'product_qty': fields.float('Product Quantity', digits_compute=dp.get_precision('Product Unit of Measure'), required=True),
4518 'product_uom': fields.many2one('product.uom', 'Product Unit of Measure', required=True),
4519
4520=== modified file 'mrp/report/mrp_report.py'
4521--- mrp/report/mrp_report.py 2013-11-29 16:56:44 +0000
4522+++ mrp/report/mrp_report.py 2014-05-12 18:39:30 +0000
4523@@ -28,7 +28,7 @@
4524 _auto = False
4525 _log_access = False
4526 _columns = {
4527- 'name': fields.char('Week', size=64, required=True),
4528+ 'name': fields.char('Week', required=True),
4529 'workcenter_id': fields.many2one('mrp.workcenter', 'Work Center', required=True),
4530 'cycle': fields.float('Number of Cycles'),
4531 'hour': fields.float('Number of Hours'),
4532@@ -61,7 +61,7 @@
4533 _log_access = False
4534 _rec_name = 'date'
4535 _columns = {
4536- 'date': fields.char('Week', size=64, required=True),
4537+ 'date': fields.char('Week', required=True),
4538 'value': fields.float('Stock value', required=True, digits=(16,2)),
4539 'company_id': fields.many2one('res.company', 'Company', required=True),
4540 }
4541
4542=== modified file 'mrp/wizard/mrp_product_produce.py'
4543--- mrp/wizard/mrp_product_produce.py 2014-05-07 16:59:51 +0000
4544+++ mrp/wizard/mrp_product_produce.py 2014-05-12 18:39:30 +0000
4545@@ -43,7 +43,7 @@
4546 'product_id': fields.many2one('product.product', type='many2one'),
4547 'product_qty': fields.float('Select Quantity', digits_compute=dp.get_precision('Product Unit of Measure'), required=True),
4548 'mode': fields.selection([('consume_produce', 'Consume & Produce'),
4549- ('consume', 'Consume Only')], 'Mode', required=True,
4550+ ('consume', 'Consume Only')], 'Mode', size=15, required=True,
4551 help="'Consume only' mode will only consume the products with the quantity selected.\n"
4552 "'Consume & Produce' mode will consume as well as produce the products with the quantity selected "
4553 "and it will finish the production order when total ordered quantities are produced."),
4554
4555=== modified file 'mrp/wizard/mrp_workcenter_load.py'
4556--- mrp/wizard/mrp_workcenter_load.py 2013-10-27 12:31:04 +0000
4557+++ mrp/wizard/mrp_workcenter_load.py 2014-05-12 18:39:30 +0000
4558@@ -26,8 +26,8 @@
4559 _description = 'Work Center Load'
4560
4561 _columns = {
4562- 'time_unit': fields.selection([('day', 'Day by day'),('week', 'Per week'),('month', 'Per month')],'Type of period', required=True),
4563- 'measure_unit': fields.selection([('hours', 'Amount in hours'),('cycles', 'Amount in cycles')],'Amount measuring unit', required=True),
4564+ 'time_unit': fields.selection([('day', 'Day by day'),('week', 'Per week'),('month', 'Per month')],'Type of period', size=5, required=True),
4565+ 'measure_unit': fields.selection([('hours', 'Amount in hours'),('cycles', 'Amount in cycles')],'Amount measuring unit', size=6, required=True),
4566 }
4567
4568 def print_report(self, cr, uid, ids, context=None):
4569
4570=== modified file 'mrp_byproduct/mrp_byproduct.py'
4571--- mrp_byproduct/mrp_byproduct.py 2014-04-22 12:16:25 +0000
4572+++ mrp_byproduct/mrp_byproduct.py 2014-05-12 18:39:30 +0000
4573@@ -31,7 +31,7 @@
4574 'product_id': fields.many2one('product.product', 'Product', required=True),
4575 'product_qty': fields.float('Product Qty', digits_compute=dp.get_precision('Product Unit of Measure'), required=True),
4576 'product_uom': fields.many2one('product.uom', 'Product Unit of Measure', required=True),
4577- 'subproduct_type': fields.selection([('fixed','Fixed'),('variable','Variable')], 'Quantity Type', required=True, help="Define how the quantity of byproducts will be set on the production orders using this BoM.\
4578+ 'subproduct_type': fields.selection([('fixed','Fixed'),('variable','Variable')], 'Quantity Type', size=8, required=True, help="Define how the quantity of byproducts will be set on the production orders using this BoM.\
4579 'Fixed' depicts a situation where the quantity of created byproduct is always equal to the quantity set on the BoM, regardless of how many are created in the production order.\
4580 By opposition, 'Variable' means that the quantity will be computed as\
4581 '(quantity of byproduct set on the BoM / quantity of manufactured product set on the BoM * quantity of manufactured product in the production order.)'"),
4582
4583=== modified file 'mrp_operations/mrp_operations.py'
4584--- mrp_operations/mrp_operations.py 2014-04-23 09:48:07 +0000
4585+++ mrp_operations/mrp_operations.py 2014-05-12 18:39:30 +0000
4586@@ -84,7 +84,7 @@
4587 _order = "sequence, date_planned"
4588
4589 _columns = {
4590- 'state': fields.selection([('draft','Draft'),('cancel','Cancelled'),('pause','Pending'),('startworking', 'In Progress'),('done','Finished')],'Status', readonly=True,
4591+ 'state': fields.selection([('draft','Draft'),('cancel','Cancelled'),('pause','Pending'),('startworking', 'In Progress'),('done','Finished')],'Status', size=12, readonly=True,
4592 help="* When a work order is created it is set in 'Draft' status.\n" \
4593 "* When user sets work order in start mode that time it will be set in 'In Progress' status.\n" \
4594 "* When work order is in running mode, during that time if user wants to stop or to make changes in order then can set in 'Pending' status.\n" \
4595@@ -98,6 +98,7 @@
4596 'production_state':fields.related('production_id','state',
4597 type='selection',
4598 selection=[('draft','Draft'),('confirmed','Waiting Goods'),('ready','Ready to Produce'),('in_production','In Production'),('cancel','Canceled'),('done','Done')],
4599+ size=13,
4600 string='Production Status', readonly=True),
4601 'product':fields.related('production_id','product_id',type='many2one',relation='product.product',string='Product',
4602 readonly=True),
4603@@ -376,9 +377,9 @@
4604 class mrp_operations_operation_code(osv.osv):
4605 _name="mrp_operations.operation.code"
4606 _columns={
4607- 'name': fields.char('Operation Name',size=64, required=True),
4608+ 'name': fields.char('Operation Name', required=True),
4609 'code': fields.char('Code', size=16, required=True),
4610- 'start_stop': fields.selection([('start','Start'),('pause','Pause'),('resume','Resume'),('cancel','Cancelled'),('done','Done')], 'Status', required=True),
4611+ 'start_stop': fields.selection([('start','Start'),('pause','Pause'),('resume','Resume'),('cancel','Cancelled'),('done','Done')], 'Status', size=6, required=True),
4612 }
4613
4614 class mrp_operations_operation(osv.osv):
4615
4616=== modified file 'mrp_operations/report/mrp_workorder_analysis.py'
4617--- mrp_operations/report/mrp_workorder_analysis.py 2014-01-29 14:30:55 +0000
4618+++ mrp_operations/report/mrp_workorder_analysis.py 2014-05-12 18:39:30 +0000
4619@@ -32,7 +32,7 @@
4620 'date': fields.date('Date', readonly=True),
4621 'product_id': fields.many2one('product.product', 'Product', readonly=True),
4622 'product_qty': fields.float('Product Qty', digits_compute=dp.get_precision('Product Unit of Measure'), readonly=True),
4623- 'state': fields.selection([('draft','Draft'),('startworking', 'In Progress'),('pause','Pause'),('cancel','Cancelled'),('done','Finished')],'Status', readonly=True),
4624+ 'state': fields.selection([('draft','Draft'),('startworking', 'In Progress'),('pause','Pause'),('cancel','Cancelled'),('done','Finished')], 'Status', size=12, readonly=True),
4625 'total_hours': fields.float('Total Hours', readonly=True),
4626 'total_cycles': fields.float('Total Cycles', readonly=True),
4627 'delay': fields.float('Delay', readonly=True),
4628
4629=== modified file 'mrp_repair/mrp_repair.py'
4630--- mrp_repair/mrp_repair.py 2014-05-08 14:39:40 +0000
4631+++ mrp_repair/mrp_repair.py 2014-05-12 18:39:30 +0000
4632@@ -113,7 +113,7 @@
4633 return self.pool['mrp.repair'].search(cr, uid, [('fees_lines', 'in', ids)], context=context)
4634
4635 _columns = {
4636- 'name': fields.char('Repair Reference', size=24, required=True, states={'confirmed': [('readonly', True)]}),
4637+ 'name': fields.char('Repair Reference', required=True, states={'confirmed': [('readonly', True)]}),
4638 'product_id': fields.many2one('product.product', string='Product to Repair', required=True, readonly=True, states={'draft': [('readonly', False)]}),
4639 'product_qty': fields.float('Product Quantity', digits_compute=dp.get_precision('Product Unit of Measure'),
4640 required=True, readonly=True, states={'draft': [('readonly', False)]}),
4641@@ -130,7 +130,7 @@
4642 ('2binvoiced', 'To be Invoiced'),
4643 ('invoice_except', 'Invoice Exception'),
4644 ('done', 'Repaired')
4645- ], 'Status', readonly=True, track_visibility='onchange',
4646+ ], 'Status', size=14, readonly=True, track_visibility='onchange',
4647 help=' * The \'Draft\' status is used when a user is encoding a new and unconfirmed repair order. \
4648 \n* The \'Confirmed\' status is used when a user confirms the repair order. \
4649 \n* The \'Ready to Repair\' status is used to start to repairing, user can start repairing only after repair order is confirmed. \
4650@@ -149,7 +149,7 @@
4651 ("b4repair", "Before Repair"),
4652 ("after_repair", "After Repair")
4653 ], "Invoice Method",
4654- select=True, required=True, states={'draft': [('readonly', False)]}, readonly=True, help='Selecting \'Before Repair\' or \'After Repair\' will allow you to generate invoice before or after the repair is done respectively. \'No invoice\' means you don\'t want to generate invoice for this repair order.'),
4655+ select=True, size=12, required=True, states={'draft': [('readonly', False)]}, readonly=True, help='Selecting \'Before Repair\' or \'After Repair\' will allow you to generate invoice before or after the repair is done respectively. \'No invoice\' means you don\'t want to generate invoice for this repair order.'),
4656 'invoice_id': fields.many2one('account.invoice', 'Invoice', readonly=True, track_visibility="onchange"),
4657 'move_id': fields.many2one('stock.move', 'Move', readonly=True, help="Move created by the repair order", track_visibility="onchange"),
4658 'fees_lines': fields.one2many('mrp.repair.fee', 'repair_id', 'Fees', readonly=True, states={'draft': [('readonly', False)]}),
4659@@ -583,9 +583,9 @@
4660 return res
4661
4662 _columns = {
4663- 'name': fields.char('Description', size=64, required=True),
4664+ 'name': fields.char('Description', required=True),
4665 'repair_id': fields.many2one('mrp.repair', 'Repair Order Reference', ondelete='cascade', select=True),
4666- 'type': fields.selection([('add', 'Add'), ('remove', 'Remove')], 'Type', required=True),
4667+ 'type': fields.selection([('add', 'Add'), ('remove', 'Remove')], 'Type', size=6, required=True),
4668 'to_invoice': fields.boolean('To Invoice'),
4669 'product_id': fields.many2one('product.product', 'Product', required=True),
4670 'invoiced': fields.boolean('Invoiced', readonly=True),
4671@@ -603,7 +603,7 @@
4672 ('draft', 'Draft'),
4673 ('confirmed', 'Confirmed'),
4674 ('done', 'Done'),
4675- ('cancel', 'Cancelled')], 'Status', required=True, readonly=True,
4676+ ('cancel', 'Cancelled')], 'Status', size=9, required=True, readonly=True,
4677 help=' * The \'Draft\' status is set automatically as draft when repair order in draft status. \
4678 \n* The \'Confirmed\' status is set automatically as confirm when repair order in confirm status. \
4679 \n* The \'Done\' status is set automatically when repair order is completed.\
4680@@ -681,7 +681,7 @@
4681
4682 _columns = {
4683 'repair_id': fields.many2one('mrp.repair', 'Repair Order Reference', required=True, ondelete='cascade', select=True),
4684- 'name': fields.char('Description', size=64, select=True, required=True),
4685+ 'name': fields.char('Description', select=True, required=True),
4686 'product_id': fields.many2one('product.product', 'Product'),
4687 'product_uom_qty': fields.float('Quantity', digits_compute=dp.get_precision('Product Unit of Measure'), required=True),
4688 'price_unit': fields.float('Unit Price', required=True),
4689
4690=== modified file 'payment/models/payment_acquirer.py'
4691--- payment/models/payment_acquirer.py 2014-04-16 12:10:55 +0000
4692+++ payment/models/payment_acquirer.py 2014-05-12 18:39:30 +0000
4693@@ -67,11 +67,12 @@
4694 'validation': fields.selection(
4695 [('manual', 'Manual'), ('automatic', 'Automatic')],
4696 string='Process Method',
4697+ size=9,
4698 help='Static payments are payments like transfer, that require manual steps.'),
4699 'view_template_id': fields.many2one('ir.ui.view', 'Form Button Template', required=True),
4700 'environment': fields.selection(
4701 [('test', 'Test'), ('prod', 'Production')],
4702- string='Environment', oldname='env'),
4703+ size=4, string='Environment', oldname='env'),
4704 'website_published': fields.boolean(
4705 'Visible in Portal / Website',
4706 help="Make this payment acquirer available (Customer invoices, etc.)"),
4707@@ -332,12 +333,12 @@
4708 ),
4709 'type': fields.selection(
4710 [('server2server', 'Server To Server'), ('form', 'Form')],
4711- string='Type', required=True),
4712+ string='Type', size=13, required=True),
4713 'state': fields.selection(
4714 [('draft', 'Draft'), ('pending', 'Pending'),
4715 ('done', 'Done'), ('error', 'Error'),
4716 ('cancel', 'Canceled')
4717- ], 'Status', required=True,
4718+ ], 'Status', size=7, required=True,
4719 track_visiblity='onchange'),
4720 'state_message': fields.text('Message',
4721 help='Field used to store error and/or validation messages for information'),
4722
4723=== modified file 'payment_ogone/models/ogone.py'
4724--- payment_ogone/models/ogone.py 2014-04-16 12:10:55 +0000
4725+++ payment_ogone/models/ogone.py 2014-05-12 18:39:30 +0000
4726@@ -45,8 +45,8 @@
4727 'ogone_pspid': fields.char('PSPID', required_if_provider='ogone'),
4728 'ogone_userid': fields.char('API User ID', required_if_provider='ogone'),
4729 'ogone_password': fields.char('API User Password', required_if_provider='ogone'),
4730- 'ogone_shakey_in': fields.char('SHA Key IN', size=32, required_if_provider='ogone'),
4731- 'ogone_shakey_out': fields.char('SHA Key OUT', size=32, required_if_provider='ogone'),
4732+ 'ogone_shakey_in': fields.char('SHA Key IN', required_if_provider='ogone'),
4733+ 'ogone_shakey_out': fields.char('SHA Key OUT', required_if_provider='ogone'),
4734 }
4735
4736 def _ogone_generate_shasign(self, acquirer, inout, values):
4737
4738=== modified file 'plugin_outlook/plugin_outlook.py'
4739--- plugin_outlook/plugin_outlook.py 2012-12-06 14:56:32 +0000
4740+++ plugin_outlook/plugin_outlook.py 2014-05-12 18:39:30 +0000
4741@@ -28,8 +28,8 @@
4742 _name = 'outlook.installer'
4743 _inherit = 'res.config.installer'
4744 _columns = {
4745- 'plugin32': fields.char('Outlook Plug-in 32bits', size=256, readonly=True, help="Outlook plug-in file. Save this file and install it in Outlook."),
4746- 'plugin64': fields.char('Outlook Plug-in 64bits', size=256, readonly=True, help="Outlook plug-in file. Save this file and install it in Outlook."),
4747+ 'plugin32': fields.char('Outlook Plug-in 32bits', readonly=True, help="Outlook plug-in file. Save this file and install it in Outlook."),
4748+ 'plugin64': fields.char('Outlook Plug-in 64bits', readonly=True, help="Outlook plug-in file. Save this file and install it in Outlook."),
4749 }
4750
4751 def default_get(self, cr, uid, fields, context=None):
4752
4753=== modified file 'plugin_thunderbird/plugin_thunderbird.py'
4754--- plugin_thunderbird/plugin_thunderbird.py 2012-12-06 14:56:32 +0000
4755+++ plugin_thunderbird/plugin_thunderbird.py 2014-05-12 18:39:30 +0000
4756@@ -27,8 +27,8 @@
4757
4758 _columns = {
4759 'thunderbird': fields.boolean('Thunderbird Plug-in', help="Allows you to select an object that you would like to add to your email and its attachments."),
4760- 'plugin_name': fields.char('File name', size=64),
4761- 'plugin_file': fields.char('Thunderbird Plug-in', size=256, readonly=True, help="Thunderbird plug-in file. Save this file and install it in Thunderbird."),
4762+ 'plugin_name': fields.char('File name'),
4763+ 'plugin_file': fields.char('Thunderbird Plug-in', readonly=True, help="Thunderbird plug-in file. Save this file and install it in Thunderbird."),
4764 }
4765
4766 _defaults = {
4767
4768=== modified file 'point_of_sale/point_of_sale.py'
4769--- point_of_sale/point_of_sale.py 2014-05-08 14:39:40 +0000
4770+++ point_of_sale/point_of_sale.py 2014-05-12 18:39:30 +0000
4771@@ -56,7 +56,7 @@
4772 return result
4773
4774 _columns = {
4775- 'name' : fields.char('Point of Sale Name', size=32, select=1,
4776+ 'name' : fields.char('Point of Sale Name', select=1,
4777 required=True, help="An internal identification of the point of sale"),
4778 'journal_ids' : fields.many2many('account.journal', 'pos_config_journal_rel',
4779 'pos_config_id', 'journal_id', 'Available Payment Methods',
4780@@ -81,7 +81,7 @@
4781 'receipt_footer': fields.text('Receipt Footer',help="A short text that will be inserted as a footer in the printed receipt"),
4782 'proxy_ip': fields.char('IP Address', help='The hostname or ip address of the hardware proxy, Will be autodetected if left empty', size=45),
4783
4784- 'state' : fields.selection(POS_CONFIG_STATE, 'Status', required=True, readonly=True),
4785+ 'state' : fields.selection(POS_CONFIG_STATE, 'Status', size=10, required=True, readonly=True),
4786 'sequence_id' : fields.many2one('ir.sequence', 'Order IDs Sequence', readonly=True,
4787 help="This sequence is automatically created by OpenERP but you can change it "\
4788 "to customize the reference numbers of your orders."),
4789@@ -227,7 +227,7 @@
4790 domain="[('state', '=', 'active')]",
4791 ),
4792
4793- 'name' : fields.char('Session ID', size=32, required=True, readonly=True),
4794+ 'name' : fields.char('Session ID', required=True, readonly=True),
4795 'user_id' : fields.many2one('res.users', 'Responsible',
4796 required=True,
4797 select=1,
4798@@ -238,7 +238,7 @@
4799 'start_at' : fields.datetime('Opening Date', readonly=True),
4800 'stop_at' : fields.datetime('Closing Date', readonly=True),
4801
4802- 'state' : fields.selection(POS_SESSION_STATE, 'Status',
4803+ 'state' : fields.selection(POS_SESSION_STATE, 'Status', size=15,
4804 required=True, readonly=True,
4805 select=1),
4806
4807@@ -656,7 +656,7 @@
4808 return super(pos_order, self).copy(cr, uid, id, d, context=context)
4809
4810 _columns = {
4811- 'name': fields.char('Order Ref', size=64, required=True, readonly=True),
4812+ 'name': fields.char('Order Ref', required=True, readonly=True),
4813 'company_id':fields.many2one('res.company', 'Company', required=True, readonly=True),
4814 'date_order': fields.datetime('Order Date', readonly=True, select=True),
4815 'user_id': fields.many2one('res.users', 'Salesman', help="Person who uses the the cash register. It can be a reliever, a student or an interim employee."),
4816@@ -681,7 +681,7 @@
4817 ('paid', 'Paid'),
4818 ('done', 'Posted'),
4819 ('invoiced', 'Invoiced')],
4820- 'Status', readonly=True),
4821+ 'Status', size=8, readonly=True),
4822
4823 'invoice_id': fields.many2one('account.invoice', 'Invoice'),
4824 'account_move': fields.many2one('account.move', 'Journal Entry', readonly=True),
4825@@ -690,7 +690,7 @@
4826 'location_id': fields.related('session_id', 'config_id', 'stock_location_id', string="Location", type='many2one', store=True, relation='stock.location'),
4827 'note': fields.text('Internal Notes'),
4828 'nb_print': fields.integer('Number of Print', readonly=True),
4829- 'pos_reference': fields.char('Receipt Ref', size=64, readonly=True),
4830+ 'pos_reference': fields.char('Receipt Ref', readonly=True),
4831 'sale_journal': fields.related('session_id', 'config_id', 'journal_id', relation='account.journal', type='many2one', string='Sale Journal', store=True, readonly=True),
4832 }
4833
4834@@ -1276,8 +1276,8 @@
4835
4836 _columns = {
4837 'company_id': fields.many2one('res.company', 'Company', required=True),
4838- 'name': fields.char('Line No', size=32, required=True),
4839- 'notice': fields.char('Discount Notice', size=128),
4840+ 'name': fields.char('Line No', required=True),
4841+ 'notice': fields.char('Discount Notice'),
4842 'product_id': fields.many2one('product.product', 'Product', domain=[('sale_ok', '=', True)], required=True, change_default=True),
4843 'price_unit': fields.float(string='Unit Price', digits_compute=dp.get_precision('Account')),
4844 'qty': fields.float('Quantity', digits_compute=dp.get_precision('Product UoS')),
4845@@ -1308,7 +1308,7 @@
4846 class ean_wizard(osv.osv_memory):
4847 _name = 'pos.ean_wizard'
4848 _columns = {
4849- 'ean13_pattern': fields.char('Reference', size=32, required=True, translate=True),
4850+ 'ean13_pattern': fields.char('Reference', size=13, required=True, translate=True),
4851 }
4852 def sanitize_ean13(self, cr, uid, ids, context):
4853 for r in self.browse(cr,uid,ids):
4854
4855=== modified file 'point_of_sale/report/pos_order_report.py'
4856--- point_of_sale/report/pos_order_report.py 2014-03-24 15:22:11 +0000
4857+++ point_of_sale/report/pos_order_report.py 2014-05-12 18:39:30 +0000
4858@@ -31,7 +31,7 @@
4859 'partner_id':fields.many2one('res.partner', 'Partner', readonly=True),
4860 'product_id':fields.many2one('product.product', 'Product', readonly=True),
4861 'state': fields.selection([('draft', 'New'), ('paid', 'Closed'), ('done', 'Synchronized'), ('invoiced', 'Invoiced'), ('cancel', 'Cancelled')],
4862- 'Status'),
4863+ 'Status', size=8),
4864 'user_id':fields.many2one('res.users', 'Salesperson', readonly=True),
4865 'price_total':fields.float('Total Price', readonly=True),
4866 'total_discount':fields.float('Total Discount', readonly=True),
4867
4868=== modified file 'point_of_sale/wizard/pos_payment.py'
4869--- point_of_sale/wizard/pos_payment.py 2014-04-14 10:49:54 +0000
4870+++ point_of_sale/wizard/pos_payment.py 2014-05-12 18:39:30 +0000
4871@@ -118,7 +118,7 @@
4872 _columns = {
4873 'journal_id' : fields.many2one('account.journal', 'Payment Mode', required=True),
4874 'amount': fields.float('Amount', digits=(16,2), required= True),
4875- 'payment_name': fields.char('Payment Reference', size=32),
4876+ 'payment_name': fields.char('Payment Reference'),
4877 'payment_date': fields.date('Payment Date', required=True),
4878 }
4879 _defaults = {
4880
4881=== modified file 'point_of_sale/wizard/pos_session_opening.py'
4882--- point_of_sale/wizard/pos_session_opening.py 2013-12-07 17:00:14 +0000
4883+++ point_of_sale/wizard/pos_session_opening.py 2014-05-12 18:39:30 +0000
4884@@ -15,7 +15,7 @@
4885 type='selection',
4886 selection=pos_session.POS_SESSION_STATE,
4887 string='Session Status', readonly=True),
4888- 'pos_state_str' : fields.char('Status', 32, readonly=True),
4889+ 'pos_state_str' : fields.char('Status', readonly=True),
4890 'show_config' : fields.boolean('Show Config', readonly=True),
4891 'pos_session_name' : fields.related('pos_session_id', 'name',
4892 type='char', size=64, readonly=True),
4893
4894=== modified file 'portal/wizard/portal_wizard.py'
4895--- portal/wizard/portal_wizard.py 2014-03-24 14:35:58 +0000
4896+++ portal/wizard/portal_wizard.py 2014-05-12 18:39:30 +0000
4897@@ -118,7 +118,7 @@
4898 _columns = {
4899 'wizard_id': fields.many2one('portal.wizard', string='Wizard', required=True, ondelete='cascade'),
4900 'partner_id': fields.many2one('res.partner', string='Contact', required=True, readonly=True),
4901- 'email': fields.char(size=240, string='Email'),
4902+ 'email': fields.char(string='Email', size=240),
4903 'in_portal': fields.boolean('In Portal'),
4904 }
4905
4906
4907=== modified file 'procurement/procurement.py'
4908--- procurement/procurement.py 2014-05-07 18:29:17 +0000
4909+++ procurement/procurement.py 2014-05-12 18:39:30 +0000
4910@@ -57,7 +57,7 @@
4911 'name': fields.char('Reference', required=True),
4912 'move_type': fields.selection([
4913 ('direct', 'Partial'), ('one', 'All at once')],
4914- 'Delivery Method', required=True),
4915+ 'Delivery Method', size=6, required=True),
4916 'procurement_ids': fields.one2many('procurement.order', 'group_id', 'Procurements'),
4917 }
4918 _defaults = {
4919@@ -107,13 +107,13 @@
4920 _columns = {
4921 'name': fields.text('Description', required=True),
4922
4923- 'origin': fields.char('Source Document', size=64,
4924+ 'origin': fields.char('Source Document',
4925 help="Reference of the document that created this Procurement.\n"
4926 "This is automatically completed by OpenERP."),
4927 'company_id': fields.many2one('res.company', 'Company', required=True),
4928
4929 # These two fields are used for shceduling
4930- 'priority': fields.selection([('0', 'Not urgent'), ('1', 'Normal'), ('2', 'Urgent'), ('3', 'Very Urgent')], 'Priority', required=True, select=True, track_visibility='onchange'),
4931+ 'priority': fields.selection([('0', 'Not urgent'), ('1', 'Normal'), ('2', 'Urgent'), ('3', 'Very Urgent')], 'Priority', size=1, required=True, select=True, track_visibility='onchange'),
4932 'date_planned': fields.datetime('Scheduled Date', required=True, select=True, track_visibility='onchange'),
4933
4934 'group_id': fields.many2one('procurement.group', 'Procurement Group'),
4935@@ -132,7 +132,7 @@
4936 ('exception', 'Exception'),
4937 ('running', 'Running'),
4938 ('done', 'Done')
4939- ], 'Status', required=True, track_visibility='onchange'),
4940+ ], 'Status', size=9, required=True, track_visibility='onchange'),
4941 }
4942
4943 _defaults = {
4944
4945=== modified file 'product/pricelist.py'
4946--- product/pricelist.py 2014-03-17 12:01:26 +0000
4947+++ product/pricelist.py 2014-05-12 18:39:30 +0000
4948@@ -53,7 +53,7 @@
4949 _name = "product.price.type"
4950 _description = "Price Type"
4951 _columns = {
4952- "name" : fields.char("Price Name", size=32, required=True, translate=True, help="Name of this kind of price."),
4953+ "name" : fields.char("Price Name", required=True, translate=True, help="Name of this kind of price."),
4954 "active" : fields.boolean("Active"),
4955 "field" : fields.selection(_price_field_get, "Product Field", size=32, required=True, help="Associated field in the product form."),
4956 "currency_id" : fields.many2one('res.currency', "Currency", required=True, help="The currency the field is expressed in."),
4957@@ -72,8 +72,8 @@
4958 _name = "product.pricelist.type"
4959 _description = "Pricelist Type"
4960 _columns = {
4961- 'name': fields.char('Name',size=64, required=True, translate=True),
4962- 'key': fields.char('Key', size=64, required=True, help="Used in the code to select specific prices based on the context. Keep unchanged."),
4963+ 'name': fields.char('Name', required=True, translate=True),
4964+ 'key': fields.char('Key', required=True, help="Used in the code to select specific prices based on the context. Keep unchanged."),
4965 }
4966
4967
4968@@ -94,9 +94,9 @@
4969 _description = "Pricelist"
4970 _order = 'name'
4971 _columns = {
4972- 'name': fields.char('Pricelist Name',size=64, required=True, translate=True),
4973+ 'name': fields.char('Pricelist Name', required=True, translate=True),
4974 'active': fields.boolean('Active', help="If unchecked, it will allow you to hide the pricelist without removing it."),
4975- 'type': fields.selection(_pricelist_type_get, 'Pricelist Type', required=True),
4976+ 'type': fields.selection(_pricelist_type_get, 'Pricelist Type', size=32, required=True),
4977 'version_id': fields.one2many('product.pricelist.version', 'pricelist_id', 'Pricelist Versions'),
4978 'currency_id': fields.many2one('res.currency', 'Currency', required=True),
4979 'company_id': fields.many2one('res.company', 'Company'),
4980@@ -317,7 +317,7 @@
4981 _columns = {
4982 'pricelist_id': fields.many2one('product.pricelist', 'Price List',
4983 required=True, select=True, ondelete='cascade'),
4984- 'name': fields.char('Name', size=64, required=True, translate=True),
4985+ 'name': fields.char('Name', required=True, translate=True),
4986 'active': fields.boolean('Active',
4987 help="When a version is duplicated it is set to non active, so that the " \
4988 "dates do not overlaps with original version. You should change the dates " \
4989@@ -420,7 +420,7 @@
4990 return True
4991
4992 _columns = {
4993- 'name': fields.char('Rule Name', size=64, help="Explicit rule name for this pricelist line."),
4994+ 'name': fields.char('Rule Name', help="Explicit rule name for this pricelist line."),
4995 'price_version_id': fields.many2one('product.pricelist.version', 'Price List Version', required=True, select=True, ondelete='cascade'),
4996 'product_tmpl_id': fields.many2one('product.template', 'Product Template', ondelete='cascade', help="Specify a template if this rule only applies to one product template. Keep empty otherwise."),
4997 'product_id': fields.many2one('product.product', 'Product', ondelete='cascade', help="Specify a product if this rule only applies to one product. Keep empty otherwise."),
4998
4999=== modified file 'product/product.py'
5000--- product/product.py 2014-05-09 07:33:15 +0000
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches

to all changes: