Skip to content
Snippets Groups Projects
  1. Jul 10, 2019
    • Hiral Bhavsar's avatar
      [IMP] product_margin: remove actions from the controlpanel action menu · d3abf5c9
      Hiral Bhavsar authored
      Here remove the 'binding_model' attributes from 'act_window' to
      remove the action menu 'Product Margins' from the 'product.product'
      model
      
      Linked to task 1984526
      Related to PR #33720
      d3abf5c9
    • Hiral Bhavsar's avatar
      [IMP] hr(_*), website_hr: replace actions menu by stat button · b7c8cf1b
      Hiral Bhavsar authored
      * attendance, contract, fleet, holidays, maintenance, presence,
        timesheet.
      
      For the model 'hr.employee', replace the actions menu 'Archive/Restore'
      by the stat button. That's why adapted changes regarding xpath.
      
      Also rename the actions menu 'Time Off' by 'Time off'.
      
      Linked to task 1984526
      Related to PR #33720
      b7c8cf1b
    • Hiral Bhavsar's avatar
      [IMP] account(_*): clean the controlpanel actions · 2b7d8991
      Hiral Bhavsar authored
      * check_printing, voucher
      
      For the model 'account.account',
      - Replace the action menu 'Journal Items' by the stat button.
      - Hide menu 'Journal Items for Tax Audit' from actions menu.
      
      For the model 'account.invoice',
      - Set action menu 'Share' only for the form view.
      - Rename the action menu 'Confirm Draft Invoices' by 'Validate'.
      - Rename 'Register Payment' by 'Register payment'.
      - Rename 'Send' by 'Send & print'.
      
      For the model 'account.move',
      - Remove the menu 'Journal Items'.
      - Rename 'Reverse Moves' by 'Reverse' and set it only for the list
        view.
      - Rename 'Post Journal Entries' by 'Post entries' and set it only for
        the list view.
      
      For the model 'account.move.line',r ename 'Reconcile Entries' by
      'Reconcile' and 'Unreconcile Entries' by 'Unreconcile' and set it only
      for the list view.
      
      For the model 'account.payment',
      - Rename 'Send Receipt By Email' by 'Send receipt by email' and set it
        for both form and list views.
      - Rename 'Post Payments' by 'Confirm' and set it for the list view only
      - Rename 'Print Checks' by 'Print checks' and set it for the list view
        only.
      
      For the model 'account.journal', remove the menus 'Unpaid Invoices',
      'Bank statements' and 'Voucher Entries'.
      
      Linked to task 1984526
      Related to PR #33720
      2b7d8991
    • Hiral Bhavsar's avatar
      [IMP] lunch: clean the controlpanel actions · 6eef0ea0
      Hiral Bhavsar authored
      - For the model 'lunch.order', rename the actions menu
        'Lunch: Receive meals' by 'Mark as received' and 'Lunch: Cancel meals'
        by 'Cancel'.
      - For the model 'lunch.product', remove the action menu
        'Lunch: Archive/Restore products'
      
      Linked to task 1984526
      Related to PR #33720
      6eef0ea0
    • Hiral Bhavsar's avatar
      [IMP] hr_expense: clean the controlpanel action menu · 5a2c3286
      Hiral Bhavsar authored
      For the model 'hr.expense', rename the action menu 'Submit Report' by
      'Submit report' and set it only for the list view.
      
      Linked to task 1984526
      Related to PR #33720
      5a2c3286
    • Hiral Bhavsar's avatar
      [IMP] hr_timesheet: remove the action menu 'Timesheet Entries' · 32c01d18
      Hiral Bhavsar authored
      For the model 'project.task', remove the action menu 'Timesheet Entries'
      
      Linked to task 1984526
      Related to PR #33720
      32c01d18
    • Hiral Bhavsar's avatar
      [IMP] repair: rename the action menu 'Create Invoice' · cba58475
      Hiral Bhavsar authored
      Rename the action menu 'Create Invoice' by 'Create invoices' for the
      model 'repair.order'.
      
      Linked to task 1984526
      Related to PR #33720
      cba58475
    • Hiral Bhavsar's avatar
      [IMP] purchase: set the action menu 'Share' only for form view · 2456f673
      Hiral Bhavsar authored
      For the model 'purchase.order', set the action menu 'Share' only for
      the form view.
      
      Linked to task 1984526
      Related to PR #33720
      2456f673
    • Hiral Bhavsar's avatar
      [IMP] mrp(_account): clean the controlpanel action menu · 9f3d3eb8
      Hiral Bhavsar authored
      For model 'mrp.production', rename the action menu
      'Mrp: Plan Production Orders' by 'Plan orders' and set it for the list
      view only.
      
      For the model 'product.template' and 'product.product', rename the menu
      'Compute Price from BoM' by 'Compute cost from BoM' and set it for the
      list view only.
      
      Linked to task 1984526
      Related to PR #33720
      9f3d3eb8
    • Hiral Bhavsar's avatar
      [IMP] stock(_picking_batch): clean the controlpanel actions · 1574861e
      Hiral Bhavsar authored
      For the model 'stock.picking'
      - Rename the action menu 'Assign a Responsible' by 'Assign responsible'
        and set it for the list view only.
      - Rename the action menu 'Add to Batch' by 'Add to batch'
      
      For the model 'stock.warehouse', remove the action menu 'Reordering Rules'
      
      Linked to task 1984526
      Related to PR #33720
      1574861e
    • Hiral Bhavsar's avatar
      [IMP] point_of_sale: clean the controlpanel actions menu · c2bc4ee7
      Hiral Bhavsar authored
      For the model 'pos.session'
      
      - Remove the actions menu 'Put Money In', 'Take Money Out' and 'Orders'
        from the controlpanel actions menu.
      
      For the model 'pos.config', remove 'Sessions' action menu.
      
      Linked to task 1984526
      Related to PR #33720
      c2bc4ee7
    • Hiral Bhavsar's avatar
      [IMP] (website_)sale: clean the controlpanel actions · 9df284f5
      Hiral Bhavsar authored
      For the model 'sale.order'
      
      - Set the action menu 'Share' only for the form view of model.
      - Rename the action menu 'Invoice Order' by 'Create invoices' and set
        only for the list view.
      - Rename the action menu 'Send a Cart Recovery Email' by
        'Send cart recovery email' and set it only for the list view.
        Also improved tour 'shop_cart_recovery' as now action menu only
        available on the list view.
      
      Linked to task 1984526
      Related to PR #33720
      9df284f5
    • Hiral Bhavsar's avatar
      [IMP] crm, website_crm_partner_assign: clean the controlpanel actions · 701f26ce
      Hiral Bhavsar authored
      For the model 'crm.lead'
      
      - Rename the action menu 'Send an email' by 'Send email'.
      - Remove the action menu 'Mark Late Activities as Done' and
        'Mark All Activities as Done'.
      - Set 'Mark as lost' menu action only for the list view.
      - Remove the action menu 'Assign salesman of assigned partner'.
      - Rename the action menu 'Forward to Partner' by 'Forward to partner'
        and set it for both form and list view.
      
      For the model 'res.partner', remove the actions menu 'Meetings'.
      
      Linked to task 1984526
      Related to PR #33720
      701f26ce
    • Hiral Bhavsar's avatar
      [IMP] portal: rename the action menu 'Grant Portal Access' · 69cf2c0f
      Hiral Bhavsar authored
      Rename the action menu 'Grant Portal Access' by 'Grant portal access'
      for the model 'res.partner'.
      
      Linked to task 1984526
      Related to PR #33720
      69cf2c0f
    • Hiral Bhavsar's avatar
      [IMP] membership: remove the action menu 'Invoice Membership' · 3b08cf1d
      Hiral Bhavsar authored
      Remove the action menu 'Invoice Membership' from the model 'res.partner'
      
      Linked to task 1984526
      Related to PR #33720
      3b08cf1d
    • Hiral Bhavsar's avatar
      [IMP] mail: rename action menu 'Send Email' by 'Send email' · b366c554
      Hiral Bhavsar authored
      Rename the action menu 'Send Email' by 'Send email' for the
      'res.partner' model.
      
      Linked to task 1984526
      Related to PR #33720
      b366c554
    • Hiral Bhavsar's avatar
      [IMP] base: rename action menu 'Merge Contacts' by 'Merge' · 6f30fcec
      Hiral Bhavsar authored
      Rename the action menu 'Merge Contacts' by 'Merge' for the 'res.partner'
      model.
      
      Linked to task 1984526
      Related to PR #33720
      6f30fcec
    • Hiral Bhavsar's avatar
      [IMP] sms: set action menu 'Send SMS' only for list view · 29bb7098
      Hiral Bhavsar authored
      Set action menu 'Send SMS' only for list view of 'res.partner' model.
      
      Linked to task 1984526
      Related to PR #33720
      29bb7098
    • mgh-odoo's avatar
      [IMP] stock: clarify procurement rule message · b1330917
      mgh-odoo authored
      
      message help user in case of misconfiguration.
      
      Task-1960746
      
      closes odoo/odoo#34000
      
      Signed-off-by: default avatarArnold Moyaux <amoyaux@users.noreply.github.com>
      b1330917
    • Hetal Dhanak's avatar
      [IMP] website_crm: made company name field optional in contact form · 14ccea24
      Hetal Dhanak authored
      
      Previously, 'company' field in the 'contact us' form was a required field
      which wasn't ideal to accommodate B2C flow.
      
      When applied this commit will make company field optional by default. Note
      that users can customize the form to make it required again if necessary.
      
      Linked to task 1965839
      
      closes odoo/odoo#33005
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      14ccea24
    • Parth Choksi's avatar
      [IMP] auth_signup : send a reminder for pending users · d59fd862
      Parth Choksi authored
      
      Purpose of this commit is to send a mail template to the user
      who invited other user(s) in Odoo.
      
      It informs the user about the details of user(s) who have been
      invited by him but have still not registered after the given days
      of creation (default set to -> 5days)
      
      task-1912449
      Closes #31582
      
      Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
      d59fd862
  2. Jul 04, 2019
  3. Jul 08, 2019
  4. Jul 10, 2019
  5. Jul 09, 2019
  6. Jul 08, 2019
  7. Jul 09, 2019
    • Aaron Bohy's avatar
      [FIX] web: don't close dialog on doAction with target 'new' · ea2207af
      Aaron Bohy authored
      
      Rev. ee44d238 fixed a usability issue: when a doAction is performed
      from a dialog, it automatically closes the dialog (as the action is
      rendered in the background, behind the dialog).
      
      However, it also closes dialogs when the action has target='new',
      i.e. when it also opens in a dialog, which is not strictly
      necessary in this case.
      
      This is problematic in mobile for the product configurator widget:
      in the sale.order form view, the order_line field is displayed as a
      kanban, and in its form view, the product_(template_)id field has
      widget product_configurator. When a value is set, it performs a
      doAction (target="new") to configure the product. The widget listens
      to the dialog's 'closed' event to update itself. However, with what
      is done in ee44d238, the x2many form dialog is closed by the DoAction,
      so the flow doesn't work.
      
      This rev. reverts the attempt done in ee44d238, and does something a
      bit more brutal: as soon as an action is pushed in target 'current'
      (in the main part of the interface), all dialogs are automatically
      closed.
      
      closes odoo/odoo#34678
      
      Signed-off-by: default avatarGéry Debongnie (ged) <ged@openerp.com>
      ea2207af
    • Cédric Snauwaert's avatar
      [IMP] web: add simple calculator on numeric fields · 9cab694b
      Cédric Snauwaert authored
      
      Add a new behavior to numeric fields, possibility to enter value manually or to use a simple arithmetic expression that will be evaluated.
      Example: =20+3*2
      In order for the computation of the arithmetic expression to be done, the value needs to starts with = and then an expression can be entered. We only support the basics mathematical operations + - * / ( ) ^
      User locale and digits separator are taken into account. If the value entered can't be evaluated to a numeric, the field will be displayed in error.
      
      closes odoo/odoo#34538
      
      Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
      9cab694b
  8. Jul 08, 2019
  9. Jul 09, 2019
    • Yannick Tivisse's avatar
      [FIX] base: Allow to create an user · 7fdc3a18
      Yannick Tivisse authored
      
      Now that an onchange set its result into the cache, we
      cannot create a user because the onchange tries to put
      the reified fields (eg: sel_4_7) into the cache.
      
      As those field don't exist and are pseudo-fields used
      to manage groups into the res user form view, we should
      replace the values by ORM commands on the groups_id field,
      as this is already the case in the create and the write
      methods.
      
      Note: Initially merged in saas-12.4, but was not
      forward ported, I don't know why.
      
      closes odoo/odoo#34487
      
      Signed-off-by: default avatarYannick Tivisse (yti) <yti@odoo.com>
      7fdc3a18
  10. Jul 08, 2019
Loading