Commit Graph

85719 Commits

Author SHA1 Message Date
Thibault Delavallée 15e28717b4 [FIX] priority widget: css fixes
bzr revid: tde@openerp.com-20140508152516-1rv69jatyswj8e4r
2014-05-08 17:25:16 +02:00
Thibault Delavallée 750cc768c1 [CLEAN] web: cleaned priority widget implementation: cleaned xml / js code
bzr revid: tde@openerp.com-20140508140545-kkogxe1dhbh7ryrk
2014-05-08 16:05:45 +02:00
Thibault Delavallée dae5ee484a [CLEAN] web: cleaned dropdown selection widget implementation: cleaned css and js code.
bzr revid: tde@openerp.com-20140508123347-ye6pvk1uo5jargec
2014-05-08 14:33:47 +02:00
Thibault Delavallée 0b28fb706f [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20140508120955-m29bs4no8uogrm0n
2014-05-08 14:09:55 +02:00
Barad Mahendra 0b9126d0fe [IMP]remove unwanted css
bzr revid: mba@tinyerp.com-20140508083740-g0u9cfef10d94oxh
2014-05-08 14:07:40 +05:30
Barad Mahendra d9f8f11541 [IMP]improve the widget for dropdown selection and priority
bzr revid: mba@tinyerp.com-20140508055735-ekt5gh7w119w2i2j
2014-05-08 11:27:35 +05:30
Fabien Meghazi 8e29e128eb [FIX] Do not self close empty elements that are not html void elements
bzr revid: fme@openerp.com-20140507162903-1s2rmlvawohlxvc0
2014-05-07 18:29:03 +02:00
Antony Lesuisse 56eeefdfda [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

bzr revid: al@openerp.com-20140507153223-q73u5lhyrfw98o3a
2014-05-07 17:32:23 +02:00
Gery Debongnie 9086f5b613 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

bzr revid: ged@openerp.com-20140507151749-k37iclwt499ip3e4
2014-05-07 17:17:49 +02:00
Gery Debongnie 59f8fe0267 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140507151631-qvkun5z9wvew6069
2014-05-07 17:16:31 +02:00
Gery Debongnie eb1d981435 [FIX] code cleanup (addon purchase)
simplify a few _count methods by removing useless try/except/pass and by using search_count when appropriate.  It allows us to remove two one2many fields as well.

bzr revid: ged@openerp.com-20140507144532-dgm9mfgt9k5p10jr
2014-05-07 16:45:32 +02:00
Gery Debongnie ad0ed2c4d8 [FIX] code cleanup (addon hr_timesheet_sheet)
remove try/except/statement that should not be here, uses search_count when appropriate, and remove a now useless one2many field

bzr revid: ged@openerp.com-20140507141725-h2z9u72roscf407n
2014-05-07 16:17:25 +02:00
Gery Debongnie 188241ce00 [FIX] code cleanup (addon hr_contract)
simplify the method _contracts_count, remove try/except/pass statements

bzr revid: ged@openerp.com-20140507140718-waw1di92qicsch2z
2014-05-07 16:07:18 +02:00
Gery Debongnie 104110de33 [FIX] code cleanup (addon hr_payroll)
remove try/except/pass in _count_detail_payslip and in _payslip_count, improves these methods and remove the now useless field payslip_ids

bzr revid: ged@openerp.com-20140507135826-xlo5gn7iq612lonp
2014-05-07 15:58:26 +02:00
Gery Debongnie 3be9d940f7 [FIX] code cleanup (addon account_asset)
simplify the method _entry_count by using search_count and by removing try/except/pass

bzr revid: ged@openerp.com-20140507134544-oi3y8hwf16nituki
2014-05-07 15:45:44 +02:00
Gery Debongnie c13b9a1262 [FIX] code cleanup (addon procurement)
improves the _orderpoint_count method.  Also, as a bonus, the preexisting orderpoint_ids is not used
in any other place, so it can be removed as well

bzr revid: ged@openerp.com-20140507134134-isaor8ulq4pf5wrt
2014-05-07 15:41:34 +02:00
Gery Debongnie e83709bdcc [FIX] code cleanup (addon project_issue)
improves the code of _issue_count (both in partner and in project).  This makes the issue_ids field in res_partner useless,
so issue_ids is also removed.

bzr revid: ged@openerp.com-20140507132949-tbtd4pl33zwhzgwd
2014-05-07 15:29:49 +02:00
Gery Debongnie 626915508d [FIX] code cleanup (addon hr_recruitment)
remove try/except/pass in method _count_all, improves the logic

bzr revid: ged@openerp.com-20140507131629-knp2kvw2zs1k200x
2014-05-07 15:16:29 +02:00
Gery Debongnie 5e5333a1e9 [FIX] code cleanup (addon mrp)
change the way bom_count, bom_strct and mo_count are computed, removes the try/except/pass statements, improves the logic.

Also, for some reason, bom_strct is the same as bom_count, but I don't really know what it is supposed to be, and the Bom Structure and Bill of materials buttons leads to views with the same number of items.

bzr revid: ged@openerp.com-20140507125248-ctv491ktx008v9ic
2014-05-07 14:52:48 +02:00
Olivier Dony 4a248b029a [MERGE] I18N: make fr_CA one of the default installation languages, courtesy of Maxime Chambreuil (SavoirFaireLinux)
bzr revid: odo@openerp.com-20140507123155-blwh7uvmltajkmf5
2014-05-07 14:31:55 +02:00
Fabien Meghazi 4373f85773 [FIX] Do not self close empty elements that are not html void elements
bzr revid: fme@openerp.com-20140507121413-o7jqhexbm1wmitt6
2014-05-07 14:14:13 +02:00
Gery Debongnie aeebac88d9 [FIX] code cleanup (addon account)
improve the logic of _journal_item_count (removes try/except/pass, use search_count) and remove useless one2many field in res_partner (journal_item_ids)

bzr revid: ged@openerp.com-20140507121310-ya6m71fvs40rf90d
2014-05-07 14:13:10 +02:00
Barad Mahendra d3410a6924 [Merge]with trunk
bzr revid: mba@tinyerp.com-20140507104547-p7pmav8pez08zf1h
2014-05-07 16:15:47 +05:30
Xavier Morel 7a492f6202 [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)

bzr revid: xmo@openerp.com-20140507103056-ykr9f57yxpw1c542
2014-05-07 12:30:56 +02:00
Gery Debongnie 9f3abe3ea4 [FIX] code cleanup (addon crm)
improves the method to count opportunities/meetings/phonecalls in res_partner.py.  It was bugged in two different way: the phonecall_count field was counting the number of meetings and not of phone calls, and it was in the try statement, so it might give an incorrect value if an exception occurs in the computation of opportunity/meeting

Also, remove useless meeting_ids one2many field in crm_lead.py and improves the method meeting_count

bzr revid: ged@openerp.com-20140507100954-1aqnd93iu5wsixob
2014-05-07 12:09:54 +02:00
Gery Debongnie 88cef3a8eb [FIX] code cleanup (addon crm)
remove unused fields meeting_count and meeting_ids

bzr revid: ged@openerp.com-20140507094553-fwj05122ncr3uic1
2014-05-07 11:45:53 +02:00
Gery Debongnie ca5e95b7ef [FIX] code cleanup (addon stock)
improves the _move_count method by removing try statement and using better logic.  Also, removes now useless one2many field (move_ids)

bzr revid: ged@openerp.com-20140507093442-ew1gc06r58tbl9ug
2014-05-07 11:34:42 +02:00
Gery Debongnie 2d924f3e22 [FIX] code cleanup (addon sale)
improves the _sales_count method in product.product by removing try/catch and by using better logic.  Also, removes now useless sales_ids one2many field.

bzr revid: ged@openerp.com-20140507092303-a2g4gq2mq3obelye
2014-05-07 11:23:03 +02:00
Gery Debongnie 298edf7217 [MERGE] merge from trunk
bzr revid: ged@openerp.com-20140507091210-2bhcz5azxmgcc37o
2014-05-07 11:12:10 +02:00
Gery Debongnie d8fef2825e [FIX] code cleanup (addon account_analytic_default)
improves the _rules_count method (remove try/catch and better logic), and
removes now useless one2many field rules_ids

bzr revid: ged@openerp.com-20140507090841-jptga7kjrverd25n
2014-05-07 11:08:41 +02:00
Gery Debongnie 943f2d4e4e [FIX] code cleanup (addon hr_evaluation)
improves _appraisal_count method and remove now useless one2many field appraisal_ids

bzr revid: ged@openerp.com-20140507090328-wyl9gbfzdc540d1k
2014-05-07 11:03:28 +02:00
Gery Debongnie ff7ad5e918 [FIX] code cleanup (addon project)
improves the _task_count method by removing try clause and using
search_count

bzr revid: ged@openerp.com-20140507085535-16w47y51r6q3yqza
2014-05-07 10:55:35 +02:00
Gery Debongnie cc041c516a [FIX] code cleanup (addon hr_holidays)
improves th _leaves_count method, and remove an useless one2many field
(leaves_ids)

bzr revid: ged@openerp.com-20140507083556-rqm5sllj8fc3qfev
2014-05-07 10:35:56 +02:00
Gery Debongnie b08e0b0fe1 [FIX] code cleanup (addon crm_claim)
improves the _claim_count method by removing try/except/pass and by using
search_count. Also, removes the now useless one2many field claims_ids (strangely, it was defined before
_claim_count, but was not used.

bzr revid: ged@openerp.com-20140507081723-7pi1t33xxjb6hbwy
2014-05-07 10:17:23 +02:00
Gery Debongnie 0a9a393010 [FIX] code cleanup (addon fleet)
improve the _count_all method by removing try/catch/pass and by
using search_count instead of the one2many relation.

Also, removes now useless one2many fields costs_ids and odometer_ids

bzr revid: ged@openerp.com-20140507075645-2tp5zgayeea9ehv2
2014-05-07 09:56:45 +02:00
Fabien Meghazi cea5591742 [FIX] runbot color
bzr revid: fme@openerp.com-20140507074310-bt0r1vt6rsgy9wqe
2014-05-07 09:43:10 +02:00
Launchpad Translations on behalf of openerp 93bab6ba7a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140507062712-t81pc41duzjfrwa6
2014-05-07 06:27:12 +00:00
Fabien Meghazi 7db3619c37 [REM] html_template and render_bootstrap_template()
bzr revid: fme@openerp.com-20140506163422-vruavrvkcowu09zi
2014-05-06 18:34:22 +02:00
Fabien Meghazi 8dc5f240a9 [REM] Removed addons.web#html_template usage
bzr revid: fme@openerp.com-20140506163334-x94pz9bau4a0r0lb
2014-05-06 18:33:34 +02:00
Fabien Meghazi 15380fd5d2 [ADD] modules global rendering variable
This is temporary

bzr revid: fme@openerp.com-20140506163204-u63n3wv1yv6yohd3
2014-05-06 18:32:04 +02:00
Mohammed Shekha 0e62b9d8df [IMP] Jinja template for database manager
bzr revid: fme@openerp.com-20140506155051-3u3kkb9lpvm06iad
2014-05-06 17:50:51 +02:00
Fabien Meghazi ee1fbd17c8 [FIX] jQuery.ui - boostrap conflict
bzr revid: fme@openerp.com-20140506153335-x2fwpajvthcru1cv
2014-05-06 17:33:35 +02:00
Fabien Meghazi b393c4ac18 [FIX] jQuery.ui - boostrap conflicts
bzr revid: fme@openerp.com-20140506153300-0p1gwnrxihpb4y3r
2014-05-06 17:33:00 +02:00
Gery Debongnie c941eb8ca4 [FIX] code cleanup (addon purchase)
remove useless one2many field in product.product, and improves the way
purchase_count is computed

bzr revid: ged@openerp.com-20140506150732-e0ztuzqm7hqu183p
2014-05-06 17:07:32 +02:00
Fabien Meghazi f6e33eca13 [IMP] do_warn on ClientAction not found
bzr revid: fme@openerp.com-20140506122840-01b9xtewp4wcv42g
2014-05-06 14:28:40 +02:00
Fabien Meghazi c033b660e8 [ADD] openerp.loadBundle()
bzr revid: fme@openerp.com-20140506103649-wrfa25boj2chy6gl
2014-05-06 12:36:49 +02:00
chm@openerp.com 8065294976 [IMP] sale: add comment on onchange_fiscal_position and update taxes of order lines only if a product is defined
bzr revid: chm@openerp.com-20140506080525-4scwvtk7os8b63d0
2014-05-06 10:05:25 +02:00
Launchpad Translations on behalf of openerp 2b67c9c77b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506061338-jwpj0jxfcnakph24
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506061359-p8lxp23aopeb6mwh
bzr revid: launchpad_translations_on_behalf_of_openerp-20140506063612-leryt792evbx9hsy
2014-05-06 06:36:12 +00:00
Fabien Meghazi cf8cf4f255 [REM] preprocess_request from website
The method is still there with only a pass statement
Will completetly remove once chm merges his branch

bzr revid: fme@openerp.com-20140505163841-lstk3r37sf23ngrg
2014-05-05 18:38:41 +02:00
Kersten Jeremy 868f54780e [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...
bzr revid: jke@openerp.com-20140505162422-k332rm7j21af5ore
2014-05-05 18:24:22 +02:00