Commit Graph
75533 Commits
Author SHA1 Message Date
Christophe Simonis 1d91378ce2 [FIX] ir.ui.view: properly validate newly created inheriting views
When a new inheriting view is imported during a module
    installation, it is validated thanks to the _constraints
    on the ir.ui.view model. However the validation uses
    a rather convoluted system for validating the whole
    view tree at once (root view + all inherited changes)
    while only taking into account the views that belong
    to modules that are currently loaded.

    This complicated system is necessary to be able to
    operate on-the-fly at any point during the registry
    loading/initialization.

    Now because _constraints are checked during create()
    this particular validation happens *before* the
    external ID (ir.model.data entry) of that new view
    can be created (it obviously needs to wait until
    the view record is inserted). As a consequence the
    view validation cannot determine the module to
    which that new view belongs, and was erroneously
    ignoring it.
    Changing the view filtering to also include views
    that have triggered this check.
    Manually created views are not check during registry
    update.

bzr revid: chs@openerp.com-20130912141018-qmcyase8zqov9d01
2013-09-12 16:10:18 +02:00
Frédéric van der Essen ffe677a736 [MERGE] from trunk
bzr revid: fva@openerp.com-20130912135705-301tadhx1fuqk2gl
2013-09-12 15:57:05 +02:00
Paramjit Singh Sahota 2b65bbfa82 [IMP] Improved code to return product_lines.
bzr revid: psa@tinyerp.com-20130912135445-xf0rmbh117fznd5v
2013-09-12 19:24:45 +05:30
Frédéric van der Essen 651f76e274 [IMP] point_of_sale: log pushed orders to the backend + disable proxy rpcs when the proxy is disconnected
bzr revid: fva@openerp.com-20130912135044-93c6va8e8yttkir1
2013-09-12 15:50:44 +02:00
Thibault Delavallée a3cf19a28e [FIX] Chart of accounts: fixed currency not selected on COA.
This fix replaced the fix merged into 7.0 / saas-1 (rev 9434), by adding a new currency_id field on
the model. XML data for the various COAs have been updated accordingly.

bzr revid: tde@openerp.com-20130912132032-8k2dj2t3n5hi6s43
2013-09-12 15:20:32 +02:00
Thibault Delavallée eaba6bffb7 [FORWARD] Forward port of saas-1 branch until revision 8773 revid tde@openerp.com-20130912121059-k840pi4rwdzpez8g
Most of 7.0 commit about COAs (9434) has been discarded, because another fix has been implemented
for the trunk branch. This new fix will be merged right after this forward port
of 7.0 / saas-1 branch.

bzr revid: tde@openerp.com-20130912131546-2f8p23bwwcc7930c
2013-09-12 15:15:46 +02:00
Paramjit Singh Sahota 8825f2070b [IMP] Improved method name and code accordingly.
bzr revid: psa@tinyerp.com-20130912131434-99xv1prw3o4dy9ge
2013-09-12 18:44:34 +05:30
Martin Trigaux b17fd217bd [FIX] point_of_sale: correct _get_tax_amount to see several taxes in reports
bzr revid: mat@openerp.com-20130912130747-g3mj44w341v8ao2z
2013-09-12 15:07:47 +02:00
Dharmraj Zala (OpenERP Trainee) a20a7f20a8 [IMP] code improvement
bzr revid: dizzy.zala@gmail.com-20130912120059-rnn784u646xph74l
2013-09-12 17:30:59 +05:30
Dharmraj Zala (OpenERP Trainee) b014599218 [IMP] improved code
bzr revid: dizzy.zala@gmail.com-20130912115734-24orbo1tqq1f80nc
2013-09-12 17:27:34 +05:30
Paramjit Singh Sahota 387bffe50e [IMP] Divided the action_compute method and improved code according to that.
bzr revid: psa@tinyerp.com-20130912115556-9c67dzpr6mao251w
2013-09-12 17:25:56 +05:30
Thibault Delavallée 6df4eaacd5 [MERGE] [FIX] charts of account: fixed currency not selected on COA, added some missing default values (US/MA/VE).
Currency is found by adding values in ir.values and retrieving it when installing the COA.

In trunk/8.0, a new currency_id field will be added allowing to retrieve directly the currency.

bzr revid: tde@openerp.com-20130912113247-esuwq1zppcq2gakk
2013-09-12 13:32:47 +02:00
Paramjit Singh Sahota 000ca6103d [IMP] Added another testcase for 2 service type product
And improved code for bom product with service type product used in SO doesnt link the project perfectly.

bzr revid: psa@tinyerp.com-20130912110454-x9tidij14xj09joz
2013-09-12 16:34:54 +05:30
Thibault Delavallée f8922d6b16 [IMP] [ADD] mass_mailing: added a wizard to create new segments.
It can be called directly from within the campaign form view, using a button.
It allows to easily create new segments and launch the composer.

bzr revid: tde@openerp.com-20130912100909-ofalececxn64a389
2013-09-12 12:09:09 +02:00
Thibault Delavallée f5639479db [DOC] mail: updated changelog
bzr revid: tde@openerp.com-20130912100829-nnp723by9nvwjozb
2013-09-12 12:08:29 +02:00
Paramjit Singh Sahota 8985dda550 [IMP] Improved the test case to make the product produce.
bzr revid: psa@tinyerp.com-20130912090636-h28zgcheleg9h9vm
2013-09-12 14:36:36 +05:30
Martin Trigaux ab7d8c4ccf [MERGE] refactoring of tests to be executed as normal users instead of administrator, fixed some security rules
bzr revid: mat@openerp.com-20130912085812-xvmjoa5fjis0l2ws
2013-09-12 10:58:12 +02:00
Cedric Snauwaert 743aa9bdc5 [FIX]stock: missing th_qty field on inventory_line_form view
bzr revid: csn@openerp.com-20130912084108-3433cd6n2i8s106k
2013-09-12 10:41:08 +02:00
Martin Trigaux d2e389900a [MERGE] ir_model_data: allow employees to create new records, useful for tests that requires to create new xml_ids
bzr revid: mat@openerp.com-20130912081948-k6ezwz03syv07mq4
2013-09-12 10:19:48 +02:00
Quentin (OpenERP) f8fac6adb9 [FIX] stock: inventory
bzr revid: qdp-launchpad@openerp.com-20130912080344-j7qujvsp9w0exi73
2013-09-12 10:03:44 +02:00
Thibault Delavallée 837f2c7cb4 [DOC] web_kanban_gauge, web_kanban_sparkline: added doc with changelog
bzr revid: tde@openerp.com-20130912080022-fmzl4hll4wca2yy2
2013-09-12 10:00:22 +02:00
Martin Trigaux 5175ce9e77 [IMP] ir_model_data: restrict ir_model_data rule to read only for user and add create to group_user
bzr revid: mat@openerp.com-20130912075353-s1hjsz3b0lvzhzj3
2013-09-12 09:53:53 +02:00
Thibault Delavallée 22822d994b [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130912074055-7wari7rupipuqk17
2013-09-12 09:40:55 +02:00
Thibault Delavallée be64818d1b [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130909093126-dg8odqhq6g2bsd9w
bzr revid: tde@openerp.com-20130912073949-dib01nji97z0ogn2
2013-09-12 09:39:49 +02:00
Quentin (OpenERP) d204621fa0 [IMP] stock, usability: inventory
bzr revid: qdp-launchpad@openerp.com-20130912073837-qmdngrr6sgqho5ii
2013-09-12 09:38:37 +02:00
Launchpad Translations on behalf of openerp a71caa14d6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130911051954-5q0wh820h5himluq
bzr revid: launchpad_translations_on_behalf_of_openerp-20130912071731-lxe3j09ejij11oty
2013-09-12 07:17:31 +00:00
Martin Trigaux bed4a740d4 [FIX] crm: removed useless test with state -> stage
bzr revid: mat@openerp.com-20130912070647-abvqj0j57nazap6l
2013-09-12 09:06:47 +02:00
Quentin (OpenERP) acef8065b8 [MERGE] inventory branch
bzr revid: qdp-launchpad@openerp.com-20130912065241-m5njpaii7r8xd5iu
2013-09-12 08:52:41 +02:00
Launchpad Translations on behalf of openerp 9dba69ba48 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130912064018-3vecn03jcu9fm1m8
2013-09-12 06:40:18 +00:00
Josse Colpaert 4480223075 Make sure back order is created when a move has to go entirely to backorder
bzr revid: jco@openerp.com-20130911173348-3jdxuur7zbqkqjfa
2013-09-11 19:33:48 +02:00
niv-openerp 298fbff2bb [FIX] security problem in im
bzr revid: nicolas.vanhoren@openerp.com-20130911163452-jumg8wahlzof4a6l
2013-09-11 18:34:52 +02:00
Josse Colpaert b7720420a1 [IMP] Fix packing.yml test with packings chosen and fix back order generation of empty lines (not ok yet)
bzr revid: jco@openerp.com-20130911162022-1twvkuxewup3dk3m
2013-09-11 18:20:22 +02:00
niv-openerp 84e16c9895 [IMP] Added link to web training in web doc
bzr revid: nicolas.vanhoren@openerp.com-20130911161529-ue0rqihlu02pr3qd
2013-09-11 18:15:29 +02:00
Frédéric van der Essen a590fbaf43 [MERGE] point_of_sale: various fixes and improvements
bzr revid: chs@openerp.com-20130910125223-5iu0tohmourxcz64
bzr revid: fva@openerp.com-20130911155921-xyqskhjx9r9pgw9c
2013-09-11 17:59:21 +02:00
Frédéric van der Essen 2f86c5ab5a [MERGE] from trunk
bzr revid: fva@openerp.com-20130911155650-uqrn4213urt98f43
2013-09-11 17:56:50 +02:00
Frédéric van der Essen b38c271031 [IMP] point_of_sale: big reworking of the scale screens:
- no welcome scale in cashier mode, as it was an unnecessary delay for people who use it all day
- no more parallel calls to the proxy which could reorder or make the driver crash
- auto throttling of the proxy calls -> max 20 reads per seconds, but can go slower as well.
- faster and cleaner update of the weight in the scale screen

bzr revid: fva@openerp.com-20130911154155-rs600cixvftvkhoi
2013-09-11 17:41:55 +02:00
Martin Trigaux f5d8d2a451 [FIX] crm: better test
bzr revid: mat@openerp.com-20130911153150-uje35usg4jj8710l
2013-09-11 17:31:50 +02:00
Quentin (OpenERP) b43714d39c [IMP] stock_location: better usability for configuration wizard
bzr revid: qdp-launchpad@openerp.com-20130911152722-4i1g6n72qu6mqvy0
2013-09-11 17:27:22 +02:00
Josse Colpaert 5b34ebed14 [IMP] prepare partial: add packs when possible
bzr revid: jco@openerp.com-20130911150528-isesxg9na5xsa1bj
2013-09-11 17:05:28 +02:00
Paramjit Singh Sahota a0cb8675df [IMP] Improved code
bzr revid: psa@tinyerp.com-20130911145615-wzy1kmajr7j1731y
2013-09-11 20:26:15 +05:30
Cedric Snauwaert 79faa9ff78 [FIX]fix test sale_mrp: field type on sol does not exists anymore
bzr revid: csn@openerp.com-20130911145332-ck6w8euus97fu91l
2013-09-11 16:53:32 +02:00
Martin Trigaux 5e051e9484 [FIX] resource: better access rights
bzr revid: mat@openerp.com-20130911142549-cpzg8588ol31b8k1
2013-09-11 16:25:49 +02:00
Paramjit Singh Sahota a3482a990f [IMP] Improved code for the BOM with service type product.
bzr revid: psa@tinyerp.com-20130911141123-snw3u5mgtf4xv3k6
2013-09-11 19:41:23 +05:30
Cedric Snauwaert 2452ef4404 [FIX]_prepare_order_line_procurement should not return False (cause problem with super), instead add another function to know if the so can create a procurement or not
bzr revid: csn@openerp.com-20130911140034-5so2qbe4rd2m6131
2013-09-11 16:00:34 +02:00
Cedric Snauwaert e17e0a2e42 [FIX]sale_margin: remove field type from sol since it does not exist anymore
bzr revid: csn@openerp.com-20130911130247-h0hq3sopw26m8hcu
2013-09-11 15:02:47 +02:00
Quentin (OpenERP) e9f12ba01a [IMP] stock: better name for 'current inventory situation' menuitem
bzr revid: qdp-launchpad@openerp.com-20130911124447-61pmrb18tfms80ky
2013-09-11 14:44:47 +02:00
Quentin (OpenERP) 46d99ba258 [FIX] stock: added ondelete='restrict' on parent_id field of stock.quant.package
bzr revid: qdp-launchpad@openerp.com-20130911124408-vp33ybdzkcf4rboa
2013-09-11 14:44:08 +02:00
Cedric Snauwaert ca9abec55b [FIX]sale_stock: remove assert test on unit_price between move and sol which is not relevant
bzr revid: csn@openerp.com-20130911124126-1qejdj8r8w4yhs6i
2013-09-11 14:41:26 +02:00
Paramjit Singh Sahota f716d9bf9c [REM] Removed the unwanted code.
bzr revid: psa@tinyerp.com-20130911123044-xgw123lfj62cx71x
2013-09-11 18:00:44 +05:30
Quentin (OpenERP) c8d4a5b316 [IMP] stock, usability improvements: added a menu to see the current inventory level, added owner_id in tree/search view of quants
bzr revid: qdp-launchpad@openerp.com-20130911122451-pdn6ud2kmqn2tn5l
2013-09-11 14:24:51 +02:00