Commit Graph
103345 Commits
Author SHA1 Message Date
Fabien Pinckaers ec12e529c8 [IMP] Stock: minor report layout issues: delivery order / picking list
[FIX] ORM: crash in group by (example: pipeline analysis -> graph)
2016-04-08 13:14:08 -07:00
Fabien Pinckaers 7a6f2093e8 [IMP] new supplier info search view in product 2016-04-08 08:14:38 -07:00
qdp-odoo 20381eb33d [FIX] account: get rid of 'cannot create unbalanced entry' on bank reconciliation using a tax on manual entry created. Was ticket 673358 2016-04-08 16:54:54 +02:00
Géry Debongnie f652d384a2 [FIX] web: graph_view now actually supports 'stacked' attribute
For some reason, it was lost.  Probably in the graph view/pivot view split.
This commit simply accepts the attribute, but default to true, so nothing
changes unless you have explicitely set it to false.

Also, fixes en error introduced by a forward port (the use of
openerp.web.format_value)
2016-04-08 15:21:17 +02:00
Yannick Tivisse 456f634b94 [IMP] sale: use fields.Datetime.now instead of datetime.now
Better because it correctly uses format / tz / ...
2016-04-08 14:22:33 +02:00
Cedric Snauwaert bec5d2595a [ADD] account_bank_import_statement_csv: add module to import csv bank statement 2016-04-08 14:13:55 +02:00
Srushti Patel 1e9b6b4cb4 [MIG] website_forum_doc: migrated to new api 2016-04-08 13:54:07 +02:00
Srushti Patel b88060e5ba [MOV] website_forum_doc: split Documentation.py file 2016-04-08 13:54:06 +02:00
Jérome Maes 4083f54600 [FIX] auth_signup : fix lost in migration
During the migration of auth_signup module
(https://github.com/odoo/odoo/commit/f0db2d72f71e2133f80c6cef0184029ee8e107bf#diff-0155b28f0b719dae20bc5492cf085c37L67),
when splitting file, a fix was lost
(31dc82face). It
allows portal use to access form view of their
document, using the mail/view controller.

This fix is now back, and will make the portal works again !
2016-04-08 13:46:37 +02:00
Jigar Patel 253d4eccf0 [IMP] mail: Add counter in starred 2016-04-08 13:41:01 +02:00
Yannick Tivisse e4ae6a80bb [IMP] base: order companies in Company Switcher
Add a sequence field on the res_company. The companies are ordered
by sequence (by default 10), than by name. That way, we can order the
companies on the company switcher for example, and have the most common
companies first.
2016-04-08 11:13:56 +02:00
Yannick Tivisse 1c9f7f9890 [FIX] crm: Do not show leads without next activities on NA menu
If nothing is planned for this lead, don't show it on the
Next Activities menuitem
2016-04-08 11:09:59 +02:00
Yannick Tivisse 970ac1e129 [IMP] sale: Dates display on order form view
- Display the creation date while the order is not confirmed
- Display the confirmation date after confirmation
- Display the expiration date if the order is confirmed
2016-04-08 10:44:49 +02:00
Thibault Delavallée 84ac2559cd Revert "[IMP] layout of picking report, alignment details [FIX] group by bug, visible in opportunity pipeline"
This reverts commit a206114d4c.

This commit breaks several of our long standing and widely appreciated policy

 - one commit for one feature; do not forget to put the correct impacted addon
 - commit message should explain why the change is performed
 - a bug fix in master seems weird, why not in stable. If not applicable to
   stable the commit message should explain why
 - a bug fix in the ORM should come with a test case
 - code is not clean
2016-04-08 09:52:09 +02:00
Nicolas Martinelli 653221e5a4 [FIX] mrp_repair: tax calculation and subtotal
Following commit 5b380e13, the the taxes on the fees are not calculated
correctly. Moreover, setting the subtotal in the onchange is misleading
since it will be set to zero if the line is not invoiced. We just set
the price to zero by default, and the click on 'update' will set it
correctly afterwards.

opw-673984
2016-04-08 08:35:54 +02:00
Fabien Pinckaers 88324b749b [IMP] Supplier Pricelist -> Vendor Pricelist 2016-04-07 23:30:09 -07:00
Fabien Pinckaers 6d69923413 [IMP] less space before title in report 2016-04-07 17:08:50 -07:00
Fabien Pinckaers a206114d4c [IMP] layout of picking report, alignment details [FIX] group by bug, visible in opportunity pipeline 2016-04-07 15:01:07 -07:00
Nicolas Lempereur 2948acfa56 [FIX] mail: typo get id of mentionned channel/partner
opw-673962
2016-04-07 18:00:27 +02:00
Mansi Gandhi c3a0ddf44b [MIG] marketing_campaign_crm_demo: so-called migration to new api
I dare you to find a new api migration commit containing even less
python code, I DARE YOU.
2016-04-07 16:05:20 +02:00
qdp-odoo bf8bff19c9 [FIX] account_full_reconcile: fixed bad identation on migration script 2016-04-07 15:31:46 +02:00
Mansi Gandhi fc782a67ca [MOV] marketing_campaign_crm_demo: reorganizing directory structure 2016-04-07 15:15:09 +02:00
Nicolas Martinelli 5b380e13ca [FIX] mrp_repair: tax computation
This solved two issues. First, the price subtotal should contain the
price with taxes excluded, as it is the case in other modules.
Otherwise, the tax will be computed twice. Then, when an invoice is
generated, the taxes should be calculated...

This is an oversight of commit fe2b5f35a4.

opw-673984
2016-04-07 14:49:14 +02:00
Virbhadrasinh Gohil abc7277429 [MIG] pos_discount: Migrated source code to new API. 2016-04-07 14:34:30 +02:00
Virbhadrasinh Gohil 95e5a630b1 [MOV] pos_discount: Rearranged files according to file structure 2016-04-07 14:34:29 +02:00
Ankit Joshi 3b51444f85 [FIX] stock : Services,consumable excluded in 'Exhausted Stock' filter.
Because.
2016-04-07 14:30:39 +02:00
Rohan Patel c3ff15b147 [MIG] website_twitter: migration to new api 2016-04-07 14:18:05 +02:00
Rohan Patel 12bd44fd96 [MOV] website_twitter: split the module files 2016-04-07 14:18:05 +02:00
Rohan Patel 68863d101e [MOV] website_twitter: restructured module files 2016-04-07 14:18:05 +02:00
Géry Debongnie 6859c8dacb [FIX] web_kanban: fix race condition in do_search
The do_search method still had a race condition because the
read_slice method of datasets alter ids.  So, what could happen is
this: a long search is started, then a shorter search is started and
ended before the first search is completed.  The ui is rendered
properly, but then the long search ends and alter the dataset.  As
a result, the Kanban view is broken (cannot open a record anymore
because the dataset has the wrong ids).

This commit fixes the issue by doing basically what the read_slice
method did, except the ids altering part.  However, it introduced
a new problem for x2many kanban views: these kanban view don't have
the same dataset, they have a datasetstatic. The naive substitution
does not work, so I had to reintroduce the old method in X2ManyKanbanView.
2016-04-07 14:16:04 +02:00
Mansi Trivedi 977d1acc7c [IMP] sale_stock,delivery: Various imp on delivery slips and picking reports
ON THE DELIVERY SLIP : 

1. CUSTOMER REFERENCE
- If a customer reference is filled in the SO, on the delivery slip, under
  Customer Address, add a section Customer Reference :
- Display every customer information in the header

2. SO NUMBER 
- Display the SO reference under the origin instead on the picking type name.
  Do not display it if unset

3. LOCATIONS AND STATUS
- remove the columns locations and status

4. ORDERED QUANTITY
- add a column (between product and quantity) named Ordered Quantity. It
  contains the quantity of the initial demand. Rename Quantity into
  Delivered Quantity

5. BACKORDER
- If the delivery is a backorder, add the string : This shipment is a backorder
  of "stock.picking.name".
- If a backorder has been created, add the string  : All items couldn't be shipped,
  the remaining ones will be shipped as soon as they become available.
- If it is a backorder and another backorder has been created, both strings should
  be printed.

6. SCHEDULE DATE
- Should be the date when the delivery order is validated.
- Rename Scheduled Date into "Date" 
    - If the DO is not yet validated, display the scheduled date.
    - If the DO is validated : display the date it was validated.

7. WEIGHT
- Add the unit of measure after the weight value
- Display only if set

8. CARRIER
- Display only if set

9. LOT/SERIAL NUMBERS
- Keep the header of the column + rename it into Serial Number / Lot

10. CUSTOMER/CONTACT ADDRESS
- Should be displayed on the right, keep only minimal information: Customer name,
  phone number

ON THE PICKING REPORT
- picking: https://drive.google.com/file/d/0Bx4JWs1efCreX1FrZUhaZDEtblU/view?usp=drivesdk
- form: https://drive.google.com/a/openerp.com/file/d/0B5BDHVRYo-q5X3VGVWI1aThWcWM/view?usp=drivesdk
2016-04-07 14:06:14 +02:00
Foram Shah fa3df7b9df [IMP] hr_expense: make group-by status a default 2016-04-07 13:39:35 +02:00
Christophe Simonis a658b9030a [FIX] l10n_fr: force no account on some tax template
These taxes used to have a (now deleted) linked account in 8.0.
Helps migration by forcing the reset of these fields.
2016-04-07 12:43:08 +02:00
Nicolas Lempereur f54d760a69 [FIX] crm: add needed fields for Activities Analysis
The two fields used in the filter Lost were not available on the
crm.activity.report model.

closes #11623
opw-673533

note: in 9.0..saas-10 the filter was removed with 70ba0e9
2016-04-07 11:41:02 +02:00
Nicolas Martinelli 9f532ed22d [IMP] web_tip: dead code
opw-673946
2016-04-07 11:12:34 +02:00
Gaurav Panchal c466c12248 [MIG] product_visible_discount : migrate to new api 2016-04-07 10:44:39 +02:00
Gaurav Panchal 130e878469 [MOV] product_visible_discount : split a file by models 2016-04-07 10:44:39 +02:00
Gaurav Panchal a941bcd8d2 [MOV] product_visible_discount : reorganized module file structure 2016-04-07 10:44:38 +02:00
Nicolas Lempereur 70ba0e94b3 [FIX] crm: remove Lost filter on Activities Analysis
The two fields used in the filter are not available on the
crm.activity.report model.

It is not possible to do a Lost filter until the fields are added (and
this can only be done in master).

opw-673533

note: should not be forward-ported over saas-10
2016-04-07 10:15:50 +02:00
Yannick Tivisse 536dbc50db [IMP] account,sale,purchase,stock: Add groups to activate warnings 2016-04-07 10:08:20 +02:00
Yannick Tivisse 78e0313f3e [MOV] stock: Move stock part from warning module 2016-04-07 10:08:19 +02:00
Yannick Tivisse 91163236ca [MOV] sale: move sale part from warning module 2016-04-07 10:08:19 +02:00
Yannick Tivisse d143314442 [MOV] purchase: move purchase part from warning module 2016-04-07 10:08:19 +02:00
Yannick Tivisse df38cf9502 [MOV] account: Move account part from warning module 2016-04-07 10:08:19 +02:00
Yannick Tivisse 5a52c1bcfb [REM] warning: Remove module 2016-04-07 10:08:19 +02:00
Nicolas Martinelli 50143ff729 [FIX] base: traceback
Commit 9523d59 avoids to have the _logger.info at each print. However,
`lang_eval` is not defined.

@JKE-be: you might want to review this more thoroughly.

opw-673972
2016-04-07 10:03:15 +02:00
Cedric Snauwaert 841f208b22 [REF] base_import: simplify import by reducing choice for the columns based on heuristic
automatically try to detect type of columns from the first 10 rows of file:
If column only contains integer, only show, int, float, monetary, m2o, o2m, m2m fields in wizard
If column only contains true/false values, only show boolean fields in wizard
etc

add an advanced mode which is the same as previous import (show all fields)

Support different date format and float value with currency as well as float value with parenthesis to reprensent negative value.
2016-04-07 09:42:23 +02:00
Mitali Patel 3f82240614 [FIX] base: undefined variable
Forgotten during migration of base/ir/* to new API.
Was preventing to uninstall a module.
opw-673801
2016-04-07 08:36:56 +02:00
Jeremy Kersten d3dd4161ad [FIX] crm_partner_assign: allow to pass several ids to assign_partner
In previous code, for each lead, that allocate the saleman for all the leads (ids).

So n^n, 100 leads = 10000 allocation/write in db
2016-04-06 17:16:26 +02:00
Srushti Patel 71fae64534 [MIG] product_expiry: migration to new api
Thanks rgo-odoo for the _get_dates method and the removal of the context abuse.
2016-04-06 16:43:44 +02:00