Commit Graph

76508 Commits

Author SHA1 Message Date
Quentin (OpenERP) df67219ebb [FIX] product_extended: fixed warnings
bzr revid: qdp-launchpad@openerp.com-20131211170824-by8xz0siyry686qm
2013-12-11 18:08:24 +01:00
Quentin (OpenERP) 49cd772560 [FIX] product_extended: fixed warnings
bzr revid: qdp-launchpad@openerp.com-20131211170548-nmqvliwo4uo0v3tu
2013-12-11 18:05:48 +01:00
Quentin (OpenERP) 5eca25cfa2 [FIX] stock_dropshipping: errors/warning in yaml test
bzr revid: qdp-launchpad@openerp.com-20131211170439-twfigfnx6myxuqx2
2013-12-11 18:04:39 +01:00
Quentin (OpenERP) 5965d92444 [FIX] purchase: fixing a warning in runbot (email_recipients fields doesn't exist anymore)
bzr revid: qdp-launchpad@openerp.com-20131211165556-88bxfik2w2nm7kru
2013-12-11 17:55:56 +01:00
Quentin (OpenERP) b135f11920 [FIX] stock: fixed wrong datetime format when push rule applies. Fixed also the setting to 'available' of the next pushed move when setting a move to 'done'
bzr revid: qdp-launchpad@openerp.com-20131211164834-iuxrbbs1bg7yatac
2013-12-11 17:48:34 +01:00
Quentin (OpenERP) 2d56a2d9bc [FIX] purchase_requisition: error in report printing
bzr revid: qdp-launchpad@openerp.com-20131211162630-1cv0tnno6oel2sht
2013-12-11 17:26:30 +01:00
Quentin (OpenERP) 1af2ac6f9c [FIX] fixed warnings in runbot
bzr revid: qdp-launchpad@openerp.com-20131211154840-u2nk7ztggcgewm7y
2013-12-11 16:48:40 +01:00
Quentin (OpenERP) a101d351b5 [FIX] stock: filled picking_type_id field on stock.move when created manually from a picking + fixed errors in dates with push rules
bzr revid: qdp-launchpad@openerp.com-20131211144420-y1pdr47kofvsdnwa
2013-12-11 15:44:20 +01:00
Quentin (OpenERP) 3b7e8fcbf6 [REM] stock: removed old manual configuration of push/pull flows for cpu1 product (product.product_product_9)
bzr revid: qdp-launchpad@openerp.com-20131211141908-aoe722ylcgt1m3gs
2013-12-11 15:19:08 +01:00
Quentin (OpenERP) dfd33f6229 [FIX] sale_stock: wrong model name in the action definition. Bug introduced with the latest merge with trunk
bzr revid: qdp-launchpad@openerp.com-20131211141418-1fx7g42dislaaiw1
2013-12-11 15:14:18 +01:00
Quentin (OpenERP) 40a06ef32a [IMP] stock: misc changes (mainly the date propagation and a fix in push rules). See the details bellow.
[IMP] stock, usability: improved some menuitems, added groups on fields, buttons..
[REF] stock: used DEFAULT_SERVER_DATE_FORMAT and DEFAULT_SERVER_DATETIME_FORMAT
[FIX] stock: fixed push flows (the condition of selection of push rules was wrong and no matching rule were found even if there was some)
[IMP] stock: added new attributes 'sequence' and 'route_sequence' on push rules, as for pull rules, in order to sort them for selection
[IMP] stock: propagation of the expected dates on linked move, when changing manually the expected date of a move or when setting it to 'done'

bzr revid: qdp-launchpad@openerp.com-20131211102511-kb61j1cpo1fbl5m9
2013-12-11 11:25:11 +01:00
Quentin (OpenERP) 654330cda9 [FIX] stock_dropshipping: disabled auto_install
bzr revid: qdp-launchpad@openerp.com-20131211102448-cj44sxsyr0lnkpqr
2013-12-11 11:24:48 +01:00
Quentin (OpenERP) a5cc6d6aed [MERGE] merged with main trunk
bzr revid: qdp-launchpad@openerp.com-20131211100354-hwlt65vk8p3xih9u
2013-12-11 11:03:54 +01:00
Launchpad Translations on behalf of openerp 45e34f2f6b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211053249-7onr7u94z5rfg60p
bzr revid: launchpad_translations_on_behalf_of_openerp-20131212051525-n6q6vsucee027ihr
2013-12-12 05:15:25 +00:00
Thibault Delavallée 1a16ecf8c2 [FIX] http: correctly handle the rollback when an exception is raised. Indeed dispathc serializes the exception, leading to the error being catched before we check and rollback the transaction. This commit fixes this.
bzr revid: tde@openerp.com-20131211112304-m2591t7endfetptc
2013-12-11 12:23:04 +01:00
Launchpad Translations on behalf of openerp 44b7ede640 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211053156-p3v0gn1hf6l8c8h7
bzr revid: launchpad_translations_on_behalf_of_openerp-20131211055224-g9i9shv9qqhb93cz
2013-12-11 05:52:24 +00:00
Xavier Morel fec27404ac [CHG] replace [Add] button in m2m lists by link in row, similar to o2m
Task 4941

Extracted relevant section from One2ManyList which already implemented
it previously, then created and hooked in m2m list using (inheriting
from) extracted code.

bzr revid: xmo@openerp.com-20131210164443-ur44b8g5gdrt8jt1
2013-12-10 17:44:43 +01:00
Quentin (OpenERP) 9aa559a3a1 [IMP] purchase: usability improvements + linked the stock move to the procurement that created the PO line, in order to be able to propagate any information on it
bzr revid: qdp-launchpad@openerp.com-20131210151326-rrlfgnx27114gbq0
2013-12-10 16:13:26 +01:00
Martin Trigaux 06831d67c4 [MERGE] [FIX] res_font: requires server commit 5011
Mainly fix reports
Adapt API to new res_font methods
See server commit message for more information

bzr revid: mat@openerp.com-20131209171551-fgiv790hcvjnp1ly
2013-12-09 18:15:51 +01:00
Martin Trigaux f3e7afaaca [MERGE] [FIX] res_font: make it works in multiworker environment
res_font model gains family, path and mode field
Basic fonts embedded in pdf (Helvetica, Times and Courier) are data
Fix reports using font names to be valid (eg: DejaVu Sans Bold -> DejaVuSans-Bold)
default_get of res_company does not scan the filesystem anymore
family field is new name_get font for res_font (more user friendly)
Domain on displayed font to only 'normal ones' (not bold or italic)
Handle fonts in 'book' mode as normal in setTTFontMapping
Relax constraint on res_font to unique family and name ('name' was actually family before)
font_scan is called on 'reload fonts' action button and for each report rendering
font_scan is lazy when loaded from report and scanning the filesystem only if no font recorded in filesystem
'/dev/null' in font path is used to add fonts in the list but not loaded by reportlab
Scanning the filesystem triggers clear_caches
clear_cache resets the list of found fonts to empty list to make font_scan call to reload the full list (when redering a report on any worker, will always get the updated font list after a scan)
Add access rights for fonts (read everybody, create admin, call font_scan as superuser in report rendering)
Remove font hack with BaseCustomTTFonts, rely fully on the system fonts
Use glob instead of listdir (needed for path like '/usr/share/fonts/TTF/*')
Make warning message from reportlab more self-explaining.

Also make the runbot green (which is nice)

bzr revid: mat@openerp.com-20131209171338-o796pldia9da3kt2
2013-12-09 18:13:38 +01:00
Martin Trigaux 7328a64425 [MERGE] sync with trunk
bzr revid: mat@openerp.com-20131209154236-jjawy50a8tvmyayb
bzr revid: mat@openerp.com-20131209163936-6n9z81etuejkdpsg
2013-12-09 17:39:36 +01:00
Thibault Delavallée 89bc58bae6 [TESTS] mail: mute logger back in mail tests
bzr revid: tde@openerp.com-20131209160923-3yisgzqmns6pviud
2013-12-09 17:09:23 +01:00
Martin Trigaux efdfcfc90e [FIX] font: family with one l (Familly is a commune in the Calvados department in the Basse-Normandie region in northwestern France.)
bzr revid: mat@openerp.com-20131209155702-negir6agbiugfctz
2013-12-09 16:57:02 +01:00
Martin Trigaux b48b746dd1 [IMP] fix licence
bzr revid: mat@openerp.com-20131209154537-r5hpcveuxmvcdj10
2013-12-09 16:45:37 +01:00
Martin Trigaux 3215f8ea3a [MERGE] sync with trunk
bzr revid: mat@openerp.com-20131209154201-1s0f98h43y5mu9ui
2013-12-09 16:42:01 +01:00
Martin Trigaux b37d3b7989 [FIX] font: trigger signal for clear cache instead on self
bzr revid: mat@openerp.com-20131209153842-l13zfc24at7cfisc
2013-12-09 16:38:42 +01:00
Martin Trigaux aac5c9d6eb [IMP] font: better handeling of multiworker environement
bzr revid: mat@openerp.com-20131209151454-5rylu5alldd3ixmh
2013-12-09 16:14:54 +01:00
Martin Trigaux 5f1f44401f [FIX] font: revert previous (use name and not familly in reportlab), fix reports using spaces
bzr revid: mat@openerp.com-20131209133742-7u1sesoinrmfpwf0
2013-12-09 14:37:42 +01:00
Martin Trigaux cca8bb4d64 [FIX] font: revert previous (use name and not familly in reportlab), fix reports using spaces
bzr revid: mat@openerp.com-20131209133431-6gjhq1zmrb2ro6eo
2013-12-09 14:34:31 +01:00
Martin Trigaux 34beeaeba7 [FIX] font: correct call to font_scan, add book to displayed mode
bzr revid: mat@openerp.com-20131209132132-61qg1zsybh6zcxim
2013-12-09 14:21:32 +01:00
Martin Trigaux 48cce10a7a [FIX] font: correct call to font_scan, add book to displayed mode
bzr revid: mat@openerp.com-20131209132109-c2bluohdj7hkp2px
2013-12-09 14:21:09 +01:00
Martin Trigaux b2313634af [FIX] font: avoid removing fake fonts
bzr revid: mat@openerp.com-20131209130844-b8gvcfgqf5t744ir
2013-12-09 14:08:44 +01:00
Martin Trigaux 75d92a40bd [FIX] font: correctly place font_scan call, use superuser_id, restrict rights for general users, invert name and family
bzr revid: mat@openerp.com-20131209125705-gk2sjiwxqyxc702r
2013-12-09 13:57:05 +01:00
Martin Trigaux 87dfe75013 [IMP] font: move lazy loading to report_rml instead of report_sxw
bzr revid: mat@openerp.com-20131209113207-qwipb3urh8gbb04s
2013-12-09 12:32:07 +01:00
Martin Trigaux 51bd2de107 [IMP] font: reload font list only when empty
bzr revid: mat@openerp.com-20131209111811-2oisaal26bku7mpt
2013-12-09 12:18:11 +01:00
Martin Trigaux 4bc2fa3e9b [FIX] base_setup: adapt api
bzr revid: mat@openerp.com-20131209110850-f1asm1ow6isfdtqa
2013-12-09 12:08:50 +01:00
Martin Trigaux a9b98a88a9 [IMP] font: add security rule, lazy loading at first report rendering
bzr revid: mat@openerp.com-20131209110511-l72dgop00bfdeq3v
2013-12-09 12:05:11 +01:00
Thibault Delavallée 4b96e85a30 [MERGE] [FORWARD] Forward port of saas-2 branch until revision 9036 (revid tde@openerp.com-20131209102019-kjeg0rx2au1d5e5v)
bzr revid: tde@openerp.com-20131209105031-17920wsidpqrwmxj
2013-12-09 11:50:31 +01:00
Denis Ledoux 20be322c45 [MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 9684 rev-id: dle@openerp.com-20131209145652-3g9rgnfz1w8k0whw
bzr revid: chs@openerp.com-20131202105848-33gcz1715w370rve
bzr revid: dle@openerp.com-20131204150643-is3y0b9n8enh3yql
bzr revid: chs@openerp.com-20131206152726-pirikn7v8pev90ic
bzr revid: dle@openerp.com-20131206162437-b9niay99mirk44qm
bzr revid: tde@openerp.com-20131209102019-kjeg0rx2au1d5e5v
bzr revid: dle@openerp.com-20131209155721-589zihxx8jmvlpvp
2013-12-09 16:57:21 +01:00
Denis Ledoux 3be327c0ae [FIX] point_of_sale: ignore TOTAlY returns
Returns were partially ignored when typing keystrokes, thanks to a return; when event which equaled 13, but the default behaviour (press on the focused input/button) was not prevented. This is now the case thanks to preventDefault. For instance, just after a discount set, the focused input was pressed and the associated value was added when scanning a new product with the scanner. Therefore, if we entered a discount of 30%, scanning a new product added '0', the last pushed button, to the discount, and then added the product.

bzr revid: dle@openerp.com-20131209145652-3g9rgnfz1w8k0whw
2013-12-09 15:56:52 +01:00
Thibault Delavallée 93ab94a608 [MERGE] [FIX] mail: fixed message_follower_ids function field.
The set method of the field, set_followers, is now using message_subscribe and message_unsubscribe to have only one access point to adding or removing followers. Previously to this fix it was directly creating entries in the mail_followers table, neglecting the calculation of subtypes and default subtypes.

bzr revid: tde@openerp.com-20131209100822-f19udgfuubshhrg3
2013-12-09 11:08:22 +01:00
Quentin (OpenERP) 06bd943846 [IMP] wms: useability
bzr revid: qdp-launchpad@openerp.com-20131209094835-podqlz6a01hmtty2
2013-12-09 10:48:35 +01:00
Thibault Delavallée fcd5f7d960 [MERGE] Sync with 7.0
bzr revid: tde@openerp.com-20131209090903-al4o6uhrhhw4cqcl
2013-12-09 10:09:03 +01:00
Thibault Delavallée 2382710f6f [REV] mail: removed some changes to be done in trunk, not in 7.0
bzr revid: tde@openerp.com-20131209090802-q8fzn88ia9w6o5pq
2013-12-09 10:08:02 +01:00
Launchpad Translations on behalf of openerp 1e994bb667 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131209051959-7j1f1anh77czkpsn
2013-12-09 05:19:59 +00:00
Launchpad Translations on behalf of openerp a092227c6e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20131207063209-2xi8ba5wu6l6ze00
bzr revid: launchpad_translations_on_behalf_of_openerp-20131208054536-mg4w4d6ljq8ji1nj
bzr revid: launchpad_translations_on_behalf_of_openerp-20131207063232-l64v1fhf1qcpxm2l
bzr revid: launchpad_translations_on_behalf_of_openerp-20131208054646-zixed7abpuze4qt1
bzr revid: launchpad_translations_on_behalf_of_openerp-20131123062625-f7inv72rtg2kel8g
bzr revid: launchpad_translations_on_behalf_of_openerp-20131124054801-1ukcpelfukkvwn60
bzr revid: launchpad_translations_on_behalf_of_openerp-20131125060120-nm8tkfbftg8c88v1
bzr revid: launchpad_translations_on_behalf_of_openerp-20131126060753-jnx5ran2accmo0lh
bzr revid: launchpad_translations_on_behalf_of_openerp-20131127054000-wtg675pf33f3bkar
bzr revid: launchpad_translations_on_behalf_of_openerp-20131129053028-abszdj4y76smnacb
bzr revid: launchpad_translations_on_behalf_of_openerp-20131201054555-3u1m1sy1f2og78nn
bzr revid: launchpad_translations_on_behalf_of_openerp-20131202055227-mm70khzdfnp4qcj9
bzr revid: launchpad_translations_on_behalf_of_openerp-20131207063237-vza5vb51xmd2ipl6
bzr revid: launchpad_translations_on_behalf_of_openerp-20131208054653-f4zth8j3iczlzcqz
2013-12-08 05:46:53 +00:00
Denis Ledoux fb90e7d572 [FIX]ir_attachement: not self.pool.get(model) instead of model not in self.pool
bzr revid: dle@openerp.com-20131206173602-no831oxc6m1kf6lu
2013-12-06 18:36:02 +01:00
Martin Trigaux aa9efd6dab [FIX] account: correct name_search on account to be validated even at negation
added test checking every combinaison of name_search

bzr revid: mat@openerp.com-20131206170012-991vs7pa1yzxvav8
2013-12-06 18:00:12 +01:00
Quentin (OpenERP) 1e4d89bf79 [IMP] stock_account: usability of stock value at date report
bzr revid: qdp-launchpad@openerp.com-20131206165956-75u2srxtb7mbusyq
2013-12-06 17:59:56 +01:00
Quentin (OpenERP) 823e945477 [FIX] stock_account: fixed the stock valuation at date report
bzr revid: qdp-launchpad@openerp.com-20131206165006-47db8kyuxjm8s0bo
2013-12-06 17:50:06 +01:00