Skip to content
Snippets Groups Projects
  1. Feb 09, 2017
  2. Feb 08, 2017
    • Mansi Gandhi's avatar
      [IMP] sale,account: Move pro-forma to sales and make it a quote report · c3cf05af
      Mansi Gandhi authored
      Purpose
      =======
      
      we use to make proforma invoice to get payment before the creation of the real invoice. In the current odoo, the proforma state is too late. Because you have to confirm the SO to generate the draft invoice and so the proforma. But, if you do that, you have generated a subscription or a delivery order in the mean time. A proforma is actually a quote. In old ERP they used to make proforma to send a quote  and don't generate invoice number.
      
      Specification
      =============
      
      - Remove everything related to Proforma from accounting
          - Remove the configuration of pro-forma from account setting
          - Invoice form, remove "Pro-froma" button, stage, report title
      - Add proforma configuration option in sales setting under "Quotation and Sales" section
      - In quote/sale, add Pro-forma under Print
      - A pro-forma is a quote, but the title of the report is Pro-Forma and not Quotation
      - button (secondary) on quotation form "SEND PRO-FORMA" to send proforma by mail attached with related report.
         - button
         - mail template
         - when preparing a quotation this button is visible but if even one invoice this should be invisible (as confirming SO doesn't generate invoice currently)
      c3cf05af
    • mge-odoo's avatar
      [IMP] tests: allow post-install tests to play real transactions · ff2f188d
      mge-odoo authored
      Move the post-install tests execution outside `Registry.new`, and add a flag on
      class `HttpCase` to enable/disable the registry "test mode".
      
      This allows a test to run actual transactions that will reload the registry,
      which may be used to test the creation of `ir.model` instances, etc.
      ff2f188d
    • Thibault Delavallée's avatar
    • Thibault Delavallée's avatar
    • fwi-odoo's avatar
      [FIX] web: use the default library behaviour · 5bd03185
      fwi-odoo authored
      The library reset the time set when the date is changed.
      Then it was not possible to set the time then set the date
      and expect the widget to close since the time will be reset
      to the default value.
      Instead we use the library behaviour and add a 'close' button
      for the datetime widgets.
      5bd03185
    • Dhawal Limbuwala's avatar
      [FIX] website_sale: correct spelling · 2e40f532
      Dhawal Limbuwala authored
      Closes #14454
      opw-692002
      Unverified
      2e40f532
  3. Feb 07, 2017
    • Nicolas Martinelli's avatar
      [IMP] mrp: store quantity available · 37169c20
      Nicolas Martinelli authored
      We store quantity available to avoid numerical inconsistencies. For
      exemple, with a rounding of 1e-6:
      - `product_uom_qty` = 0.058824 (stored)
      - `quantity_available` = 0.058823999999994 (not stored)
      
      The dependencies of the field are fixed from v10.0.
      
      opw-704775
      37169c20
    • Haresh Shyara's avatar
      [IMP] purchase: rename some 'Call for Tenders' to 'Purchase Agreements' · b0efe1d4
      Haresh Shyara authored
      Purpose:
      ========
      
      A blanket order (it's an agreement with a vendor) is not a call for tenders (you aks several vendor to provide you an offer) but they are regrouped under the category "Calls for tenders" in the Settings of Purchase which should be changed .
      
      Specification:
      ==============
      
      - Change the setting option for 'Call For Tenders'
      - Change 'Purchase Requisitions -> 'Purchase Agreements'
      b0efe1d4
    • fwi-odoo's avatar
      [FIX] web: simplify the datepicker template · 64a0ece6
      fwi-odoo authored
      The library needs to have a 'relative' positioned parent to place
      the datetimepicker correctly.
      We don't do that in the template
      anymore because it was not working in all the cases.
      The template which instantiates the datepicker should define
      a parent in position 'relative'.
      64a0ece6
    • Sagar Ahirrao's avatar
      [IMP] sales: rearrange menuitems and specify some groups on them · a27d826e
      Sagar Ahirrao authored
      Purpose
      =======
      
      It's hard to find all the menu items dedicated to products & pricing:
      - create a product
      - set up a discount
      - change the pricing
      such recurring actions are related to each other but you need to go to different menus: e.g. to edit pricelists you have to go to settings while editing your pricing is a business operation.
      
      Specification
      =============
      
      make one menu item like in ecommerce: CATALOG
      
      Also clean reporting and configurion menus a bit...
      
      Details
      =======
      
      Sales menu rearrangement :
      
      Dashboard
      Sales
      Invoicing
          Orders to Invoice
          Orders to Upsell
      Leads Management
      Catalog (takes straight to products if no access to variant, pricelist or coupons)
          Products (move from Sales)
          Product Variants (move from Sales)
          Pricelists (move from Config)
          Promotion Programs (move from Config)
          Coupon Programs (move from Config)
      Reporting (reorder items, from leads to sales)
          Leads
          Scoring Page Views
          Opp. Assignment Analysis
          Partnerships
          Pipeline
          Activities
          Phonecalls
          Sales
      Configuration
          Settings
          Sales Channels (move up)
          Leads & Opportunities
          Sales
              Quotation Templates
              Report Layout Categories
              Payment Methods (if online quotation installed)
              Delivery Methods (move from Config > Delivery)
          Products
              Attributes
              Attribute Values
              Internal Categories (rename from Product Categories)
              Units of Measure
              Unit of Measure Categories
          Pricelists (remove)
          Delivery (remove)
      a27d826e
    • scosist's avatar
      [IMP] purchase,stock: armonize _select_seller calls · 07cf3006
      scosist authored
      If the data is available in the current context it should be passed to
      _select_seller. The calls to _select_seller throughout the lifetime of a
      purchase should be consistent (as possible) or the result of
      _select_seller could be inconsistent when dealing with multiple sellers
      (product_supplierinfo).
      
      Modify a few signature of private methods to pass available information.
      
      Closes #11414
      Unverified
      07cf3006
  4. Feb 03, 2017
  5. Feb 02, 2017
    • Nicolas Martinelli's avatar
      [FIX] sale_mrp, purchase_mrp: delivered quantity · 0a5a423b
      Nicolas Martinelli authored
      - Create a manufactured Product A (sold as kit), invoicing based on
        delivered quantity.
      - Create the associated BOM, e.g. contains 2 Products B.
      - Create a SO with Product A, validate
      - Change the BOM so it contains 2 Products C
      - Validate the picking linked to the SO
      
      The delivered quantity is not updated since the delivered products (B)
      are not the same than the products of the BOM.
      
      This should not be the case. Changing a BOM should not affect the
      invoicing. To solve this, we simplify the check and only verifies that
      all moves are done.
      
      The same change is applied for PO.
      0a5a423b
    • Florent de Labarre's avatar
      [IMP] purchase: store slow computed field · 2ee2e065
      Florent de Labarre authored
      Cross 2 one2many fields
      Closes #15259
      Unverified
      2ee2e065
    • Martin Trigaux's avatar
      [FIX] purchase: correct triggers on computed fields · ac621e32
      Martin Trigaux authored
      To be triggered on the fields that are used inside the computed field.
      Was not very problematic before as the fields were not stored and recomputed
      at each modification. It could be backported if needed.
      
      Next commit will store these fields for performance reason, fixing the trigger
      first is required.
      
      Linked to #15259
      Unverified
      ac621e32
    • Martin Trigaux's avatar
      [FIX] db: list db without a base module · d436061e
      Martin Trigaux authored
      If a database had no base module or no latest_version, mark it as incompatible.
      This should not happen in standard but as we are considering local databases
      that may be non-odoo, we should be more fault tolerant.
      Unverified
      d436061e
  6. Feb 01, 2017
  7. Jan 31, 2017
  8. Jan 30, 2017
Loading