erp5:334b21a7f6e52622a2705d28ac7eb8ff8819984f commitshttps://lab.nexedi.com/nexedi/erp5/-/commits/334b21a7f6e52622a2705d28ac7eb8ff8819984f2019-09-17T07:54:43+02:00https://lab.nexedi.com/nexedi/erp5/-/commit/334b21a7f6e52622a2705d28ac7eb8ff8819984fFunctional PDM and Trade tests now have their dedicated test suite2019-09-17T07:54:43+02:00Nicolas Wavrantnicolas.wavrant@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/95a9b0500621ba4ba7eeacc0bcccf98993f6f7dferp5_trade_ui_test: run functional tests2019-09-17T07:54:43+02:00Nicolas Wavrantnicolas.wavrant@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/bfbef96e5b79b4007ae29bc956457a176b93029cerp5_trade_ui_test: add functional tests on the use of "price per slice"2019-09-17T07:54:43+02:00Nicolas Wavrantnicolas.wavrant@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/9f4fc0b03f41b8f143a05ea108c2f0c592b74506erp5_pdm: add base_price_per_slice field on all *SupplyLine_viewBasePrice views2019-09-17T07:54:43+02:00Nicolas Wavrantnicolas.wavrant@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/b1c0a1fe5b5519dfaedcfe838ef677715798c277erp5_pdm: proxify mapped_value_property_list fields in *SupplyLine_viewBasePrice2019-09-17T07:54:43+02:00Nicolas Wavrantnicolas.wavrant@nexedi.com
and add necessary values for calculating price per slicehttps://lab.nexedi.com/nexedi/erp5/-/commit/1eeec38f2067b87477358e8af90eb3f59dedfccderp5_pdm_ui_test: add tests for the "price per slice" checkbox2019-09-17T07:54:43+02:00Nicolas Wavrantnicolas.wavrant@nexedi.com
To be sure that Cells are updated correctly when the pricing method is chosenhttps://lab.nexedi.com/nexedi/erp5/-/commit/f470d414c279565531b8dbd9d54e997e69781dfeerp5_pdm_ui_test: support Purchase and Internal deliveries too2019-09-17T07:54:43+02:00Nicolas Wavrantnicolas.wavrant@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/1a1498fe2183c9766cb27c328abe14280840324berp5_pdm_ui_test: validate product used in tests2019-09-17T07:54:43+02:00Nicolas Wavrantnicolas.wavrant@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/9810bcc64a64688dc53777cbf00ff3c080ba0ec8erp5_pdm: proxify base_price_per_slice field and add it in Resource's views2019-09-17T07:54:43+02:00Nicolas Wavrantnicolas.wavrant@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/452589a46fed158045c37e7e5c9022c7acb5a0caerp5_property_sheets: allow acquisition for new supply line property2019-09-17T07:54:43+02:00Nicolas Wavrantnicolas.wavrant@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/c44234066d3934fbf06eddaa479372d756c9d68ferp5_pdm: remove needless conversion in my_quantity_step_lst fields2019-09-17T07:54:43+02:00Nicolas Wavrantnicolas.wavrant@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/6e18b0f607f916d82abd1341213a702ca7729148erp5_pdm: add supply_cell_interaction_workflow2019-09-17T07:54:43+02:00Nicolas Wavrantnicolas.wavrant@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/22db92306129034e1dd6c85f382b84c0705f90e8testResource: test unit price calculated by slice2019-09-17T07:54:43+02:00Nicolas Wavrantnicolas.wavrant@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/96e4c76822faeeca4639c772a1e76b3f3a9e6167erp5_pdm: support calculation of base_price applying to all items of a same s...2019-09-17T07:52:01+02:00Nicolas Wavrantnicolas.wavrant@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/d570fb1d7a1e5848826183dfd091c67c50607dfderp5_property_sheets: add properties needed to calculate price per slice2019-09-17T07:52:01+02:00Nicolas Wavrantnicolas.wavrant@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/a032230ce1841bc9df08e12b4f3cd695ba282047DomainTool: list predicate values if more than one match2019-09-17T07:51:45+02:00Nicolas Wavrantnicolas.wavrant@nexedi.com
Also remove explanation_only which is dead codehttps://lab.nexedi.com/nexedi/erp5/-/commit/2df4b71f0715e891e62933b9af4bdb27efd01a09erp5_corporate_identity_test: update expected test datas2019-08-02T09:23:25+02:00Xiaowu Zhangxiaowu.zhang@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/91a4c72fdb2a6f727fb33ee260fb71851e124f3eerp5_corporate_identity: display image more large2019-08-02T09:23:25+02:00Xiaowu Zhangxiaowu.zhang@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/e6e144408a822d7e36009066f6f0970f7d5aae1derp5_corporate_identity: wait for image to be loaded2019-08-02T09:23:25+02:00Xiaowu Zhangxiaowu.zhang@nexedi.com
otherwise naturalWidth/naturalHeight may be 0https://lab.nexedi.com/nexedi/erp5/-/commit/e9b98429bab21cd9a45c6ffd6dcbbfb73048baaferp5_corporate_identity: display correct logo2019-08-02T09:23:25+02:00Xiaowu Zhangxiaowu.zhang@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/a9f0c444e07aca52601be9cf191192c722a2a4deerp5_corporate_identity_test: user should manually create Introduction elemen...2019-08-02T09:23:25+02:00Xiaowu Zhangxiaowu.zhang@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/3258cc10f162b79276c6b547aac3e57d638d4f68erp5_corporate_identity: table reference can be displayed at the place where ...2019-08-02T09:23:25+02:00Xiaowu Zhangxiaowu.zhang@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/caee28371bb57ff4396704fdd50c504d67f3bd77erp5_corporate_identity: table reference can be included inside a new h12019-08-02T09:23:25+02:00Xiaowu Zhangxiaowu.zhang@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/e0af74e544e65420905176f4f539741f0f4523c9erp5_corporate_identity: horizontal align image except the one in header2019-08-02T09:23:25+02:00Xiaowu Zhangxiaowu.zhang@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/3265441cad47ac643d7cf04e7ba5d4d38923026a[erp5_crm] Drop ticket_use_domain2019-08-01T09:41:07+02:00Romain Courteaudromain@nexedi.com
Domains are not meant to display too many documents at the same level.https://lab.nexedi.com/nexedi/erp5/-/commit/6a3a7cf9fe980c276fe0278fa66085cc023c4e40[erp5_project] Drop preferred_group_person_list_domain2019-08-01T09:40:51+02:00Romain Courteaudromain@nexedi.com
Domains are not meant to display too many documents at the same level.https://lab.nexedi.com/nexedi/erp5/-/commit/f7c86a4ad6d7d92648c2b90b4f69bc8e8583ebfb[erp5_project] Drop validated_project_domain2019-08-01T09:40:12+02:00Romain Courteaudromain@nexedi.com
Domains are not meant to display too many documents at the same level.https://lab.nexedi.com/nexedi/erp5/-/commit/31804f683fd36322fb38aeb9654bee70cebe4fdberp5.util: add support for Python 32019-07-31T16:44:23+02:00Bryton Lacquementbryton.lacquement@nexedi.com
/reviewed-on <a href="https://lab.nexedi.com/nexedi/erp5/merge_requests/830" data-original="https://lab.nexedi.com/nexedi/erp5/merge_requests/830" data-link="false" data-link-reference="true" data-project="1" data-merge-request="2749" data-project-path="nexedi/erp5" data-iid="830" data-mr-title="erp5.util: add support for Python 3" data-reference-type="merge_request" data-container="body" data-placement="top" data-html="true" title="" class="gfm gfm-merge_request">!830</a>https://lab.nexedi.com/nexedi/erp5/-/commit/5abb074df86f391045912e0c899f6d2d958ed0cbERP5TypeTestCase: Close ZMySQLDA connections during tearDown.2019-07-31T10:48:35+09:00Vincent Pelletiervincent@nexedi.com
Avoids accumulating useless connections when a single test file contains
multiple files.https://lab.nexedi.com/nexedi/erp5/-/commit/c02f8a26187e704cd34a83b0f0d9e6f76be65673[erp5_web_renderjs_ui] Page search: do not sort by default2019-07-30T11:23:40+02:00Romain Courteaudromain@nexedi.com
Sorting on all documents is a performance killer.
In case no query parameter is available, do not trigger any allDocs
calculation and do not display the listbox, as results would be
meaningless.https://lab.nexedi.com/nexedi/erp5/-/commit/705eec7bd11297f812d62b76848ab86996469f5a[erp5_web_renderjs_ui] jslint rjs_gadget_erp5_relation_input_js2019-07-29T15:31:38+02:00Tristan Caveliertristan.cavelier@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/9c751e8d8e7f8d510fd7eae946c66b1b0f754717[erp5_web_renderjs_ui] Handle errors while typing in a relation input2019-07-29T15:31:38+02:00Tristan Caveliertristan.cavelier@nexedi.com
For instance, typing a backslash in a relation field does not crash the ui anymore.
/bug #20180123-D78557
<a href="https://nexedijs.erp5.net/#/bug_module/20180123-D78557" rel="nofollow noreferrer noopener" target="_blank">https://nexedijs.erp5.net/#/bug_module/20180123-D78557</a>https://lab.nexedi.com/nexedi/erp5/-/commit/506f9cd6f1b5abe1f2127d42c8db3706944de2c1[erp5_core/erp5_web_renderjs_ui] jIO 3.39.02019-07-26T18:04:13+02:00Romain Courteaudromain@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/78e0420c6f0642defb0e4544063263d1b535c847erp5_officejs_ui_test: Add pyodide tests to the officejs test2019-07-26T17:17:20+02:00Boxiang Sunboxiang.sun@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/a058fbaf304a8efcc7469cf29d3e98667b93cbfaerp5_notebook: Remove bt5/erp5_notebook2019-07-26T17:17:20+02:00Boxiang Sunboxiang.sun@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/b90b2b26c8433c9dfbce50a9e113e9ff9c021943erp5_mrp: Make category description consistent with its id.2019-07-26T16:54:36+09:00Vincent Pelletiervincent@nexedi.comhttps://lab.nexedi.com/nexedi/erp5/-/commit/3123e1a97a7f165ffa039dafc8d46935a214715eCMFActivity.ActivityTool: Set exc_type default value.2019-07-25T12:37:17+09:00Vincent Pelletiervincent@nexedi.com
This property is only conditionally set, which causes distracting error
when something goes wrong. If we really want to check that the expected
code path was followed there has to be a better check and a more debugging-
friendly error than an AttributeError.https://lab.nexedi.com/nexedi/erp5/-/commit/e80c4f06f290b31dffd811a50ba978253584403eCMFActivity.Activity.SQLBase: Tolerate group_id set without a grouping_method...2019-07-25T12:37:16+09:00Vincent Pelletiervincent@nexedi.com
While such activity parameter combination does not make sense, it is
technically possible to spawn activities with a group_id set but without a
grouping_method_id.
The consequence is zombie activities: they never fail, do not prevent other
activities from being executed, but and are permanently run on the node
which reserved more than one because:
- all but one activity is in MESSAGE_NOT_EXECUTED state, forcing an abort
- finalizeMessageExecution does not understand that MESSAGE_NOT_EXECUTED
activities may not have failed, and itself fail while trying to detect
the failure type (ConflictError vs. others), failing to free & postpone
the activity, in turn failing to bring it to eventually permanent failure
state.
Make those conditions consistent, and use tuple-unpacking to detect any
future inconsistency much earlier, simplifying debugging.https://lab.nexedi.com/nexedi/erp5/-/commit/5a45b0e1ce7289375418e2ca6ea6dc700ca0e88dCMFActivity.Activity.SQLBase: Expect group_method_id to always be a string.2019-07-25T12:37:16+09:00Vincent Pelletiervincent@nexedi.com
group_method_id column is declared "NOT NULL", so it can only be None if
getProcessableMessageList could not find any activity, in which case this
code is not executed ("if message_list" is false).
This simplifies two "if" statements.https://lab.nexedi.com/nexedi/erp5/-/commit/295a32ea038203ce89db7c14ce2776de1829b36bERP5Type.Core.Folder: Fix _recurseCallMethod disabling group_id.2019-07-25T12:01:21+09:00Vincent Pelletiervincent@nexedi.com