summaryrefslogtreecommitdiff
path: root/addons/base_automation/views
AgeCommit message (Collapse)Author
2020-04-07[IMP] *: adapt qunit suite bundle inheritanceJulien Mougenot
Since the test assets bundle name has been changed and its structure is different, the inheriting assets need to be updated. Task 2002399
2020-03-24[FIX] base: apply changes on inherited viewJulien Castiaux
Commit 60106cf2 (task 2082503) introduced some changes on server actions and automated actions, some changes were applied on server actions but via the base_automation inherited view. This commit move those change so they are directly applied on the server action form view. closes odoo/odoo#40964 Signed-off-by: Julien Castiaux <Julien00859@users.noreply.github.com>
2020-03-02[IMP] various: set boolean_toggle on 'active' fields in form viewNisha patel
Currently, to activate/deactivate records with the 'active' checkbox user has to switch to edit mode of the form. So the purpose of the task is to allow the user to activate/deactivate records from the readonly mode of the form view. In this commit, we set widget='boolean_toggle' on the 'active' field in form view. closes odoo/odoo#46567 Taskid: 2206794 Related: https://github.com/odoo/enterprise/pull/8918 Related: odoo/enterprise#8918 Closes: #46567 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-02-03[IMP] base_automation, web: give possibility to disable/edit failing ↵Denis Ledoux
automated actions If an automated action raises an exception, in the traceback modal: - For admins, display Disable & Edit automated action buttons to be able to directly know with wihch automated action the error occurred, and to give the possibility to edit or disable it quickly, - For regular users, just add a paragraph to tell with which automated action the error occurred, so they can give this useful information to their administrator This is specially useful for databases which have just been upgraded to a newer version, and for which the server action is failing because its code is no longer supported. closes odoo/odoo#44513 X-original-commit: 8f3940c132bbbc99e47fa3f0cba0e768159d9af2 Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
2019-12-02[FIX] base, base_automation: make active field visibleNicolas Martinelli
For better usability. opw-2146601 closes odoo/odoo#41201 X-original-commit: 807dddabd0bd485b1c694e8ace21804a5d2c9ba1 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-11-29[IMP] base_automation: refine CRON frequencyJulien Castiaux
The current 'Base Action Rule: check and execute' CRON search every four hours for delayed actions to run. This mean, any action scheduled later can be delayed up to four hours. We now dynamically reset the CRON frequency according to the least delayed automated action to minimize the potential gap. closes odoo/odoo#40633 Task: 1998809 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
2019-11-26[IMP] base_automation,sms: Improve the interface of automated actionshivam shah
Below points are improved in automated action - Set no_create on model_id, crud_model_id, partner_ids, and channel_ids - Set widget many2many tags and change string for trigger_field_ids - Rename 'Trigger Condition' to 'Trigger' - Change on_change_fields into a many2many to ir.model.fields - Set 'Hours' as default of field trg_date_range_time - Rename label of crud_model_id to 'Target Model' - Rename label of sms_mass_keep_log to 'Log as Note' - On creation of template set the default model - Hide the 'Security' tab - Set no_create on fields resource_ref and col1 - Make 'value' readonly when col1 is not set - Rename 'Link using field' to 'Link Field' Task-2082503 closes odoo/odoo#39622 Closes: #39622 Related: odoo/enterprise#6515 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
2019-11-13[FIX] *: various fixes in xml viewsXavier-Do
2019-08-16[IMP] various: improve searchviews UXlbs-odoo
Improve searchviews UX in all the modules TaskID: 2029731 closes odoo/odoo#35700 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-07-12[IMP] all: Remove active stat button on all viewsYannick Tivisse
Purpose ======= While cleaning the stat buttons across all modules, we decided to move the (un)archiving from stat button to actions in the 'Action' dropdown. Specification ============= Remove the 'active' stat buttons in all views
2019-06-17[IMP] *: remove 'view_type' on window actions.Hiral Bhavsar
The old tree views don't really exist anymore, this odd pseudo-flag to dispatch between "list" and "tree" tree views has no reason to remain. Task 1937686 closes odoo/odoo#31243 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2019-02-26[MERGE] forward port branch saas-12.2 up to fcb972db9dcChristophe Simonis
2019-02-20[MERGE] forward port branch saas-11.3 up to 2c495502aa3Christophe Simonis
2019-02-20[MERGE] forward port branch 11.0 up to de8cefcef4dChristophe Simonis
2019-02-15[IMP] base: add to automated actions the fields to watch during updateNans Lefebvre
When users create an automated action to trigger when a record is updated, they assume each update is 'atomic' in some sense. It is not the case, as one write may trigger many write, some in recompute. As a result, any update may trigger a dozen actions (or more). We add a field wich allows us to specify which field we want to watch. For instance, you could select the field 'state on quotation', and thus only action would be triggered on confirming the quotation. The link_field_id is a field that allows to link a record of the source model to a new record of the target model, through a many2one. However many target records can be created, so every one of them (except the last) ends up orphan. We allow for one2many and many2many fields to be used, and in these cases we add the newly created record to the list. opw 1910671
2019-02-13[FIX] base_automation: remove unnecessary buttonJulien (juc) Castiaux
Fine tunning of c12a0f5a opw-1937928 closes odoo/odoo#31065
2018-08-08[IMP] base_automation: Reorganize server action form viewPierre Paridans
2018-07-25[IMP] all_module : Modify "Sales Channel" by "Sales Teams"lejeune quentin
2018-01-18[IMP] core: menu tip ux/ui improvementAlexandre Kühn
We would like to make the "no item found" screens more appealing. Before this commit, it shows a small help tip in the top-left corner of the screen, just below the "Create" button. With this commit, these help tips have been replaced by onboarding screens, which consist of a picture and some text below, both of which are horizontally centered. The texts have been slightly changed, so that they are shorter and clearer. Considered modules: (A) account, account_asset, account_budget, account_test, account_voucher, analytic (B) barcodes, base, base_automation, board (C) calendar, contacts, crm (D) delivery (E) event (F) fleet (G) gamification, google_drive (H) hr, hr_attendance, hr_contract, hr_expense, hr_gamification, hr_holidays, hr_payroll, hr_recruitment, hr_timesheet (I) im_livechat (L) l10n_fr_sale_closing, link_tracker, lunch (M) mail, maintenance, mass_mailing, membership, mrp (N) note (P) payment, point_of_sale, post_mercury, pos_restaurant, product, project, purchase, purchase_requisition (R) rating, repair, resource (S) sale, sale_timesheet, sales_team, stock, stock_account, stock_landed_costs, stock_picking_batch, survey (U) utm (W) web, website, website_blog, website_customer, website_event_track, website_forum, website_quote, website_sale, website_sale_digital, website_slides
2017-08-28[ADD] base: direct support for binding an action to a modelRaphael Collet
2017-05-16[MERGE] Forward-port of saas-14 up to 9b3ca1af23433e2871ac64ec967a931fd0336658Olivier Dony
2017-05-08[FIX] base.automation: add missing button to deactive entryOlivier Dony
2017-02-10[IMP] base_automation: removing domains based on filters in automationFabien Pinckaers
bad ux: it's difficult to understand why there is two way to do the same thing. (4 fields for domains, instead of 2) Example of confusion: What happens if you set both a filter and a domain? What happens if you change the filter? does it change the automation? The new domain widget is good enough. We don't need such extra fields.
2017-01-19[FIX] base_automation: restore search viewMartin Geubelle
The poor one has been removed by mistake in https://github.com/odoo/odoo/commit/aedde9a46c4e0c478cdb3fdebd7036e02753d712
2017-01-12[FIX][IMP] base_automation: fix display of domain widget and remove ↵Thibault Delavallée
unnecessary button
2017-01-03[REF] base_automation: cleaning and refactoringYannick Tivisse
Purpose of this commit is to continue to clean server actions, scheduled actions and automated actions. Server actions hold code execution and automated actions hold triggers and conditions. This commit make automated action inherits from ir_actions_server. Automated actions do not hold several server actions anymore. Instead each new automated action creates its own server action holding the code or actions to perform. Automated actions that held several server actions should now simply use a server action of type multi. This commit also features: * rename 'kind' field to trigger * remove 'act_user_id' as this should be done by the server action itself not the automated action. This can be achieved using a write or code server action; * remove 'act_followers' as this is replaced by a followers server action; * use a primary form view inherited from server action. This way automated actions use the same base form as server actions with triggers and conditions added; Thanks to @fpodoo for the original idea and preliminary work. Thanks to @jpr-odoo for first developments. Thanks to @jem-odoo and @rco-odoo for reviewing.
2017-01-03[MOV] base_action_rule: rename and move base_action_rule to base_automationYannick Tivisse
First step towards cleaning and improving automated actions is to correctly name things. base_action_rule module is therefore renamed to base_automation. Model is also renamed to base.automation.