Commit Graph
103231 Commits
Author SHA1 Message Date
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
Srushti Patel 86033b0f93 [MOV] product_expiry: split file product_expiry.py 2016-04-06 16:43:44 +02:00
Srushti Patel 1119681de0 [MOV] product_expiry: reorganizing the directory structure 2016-04-06 16:43:44 +02:00
Ravi Gadhia 4c2cda3fd8 [IMP] website_sale_digital: almost a new api migration
Ok it was already written in new api, so what is the purpose of this commit?
Just a nice spring code cleaning.

Closes #10941
2016-04-06 16:37:54 +02:00
qsm-odoo f49739124d [FIX] web_editor, website: snippet handles and add job offer
* Bad forward port of saas-9 created a bug where the snippet handles
were wrongly positioned.
* The add job offer button did not work as the modal was marked to
dismiss itself on click (and because this button has not any handler
attached to it; it's the only real link amongst the add buttons).
2016-04-06 16:36:38 +02:00
Jigar Patel 6c40782afd [FIX] mail: Fix read more link navigation issue 2016-04-06 16:15:53 +02:00
Martin Trigaux aa555099f3 [MERGE] website_sale_options: migration to the new API 2016-04-06 16:09:07 +02:00
Ravi Gadhia 008494e977 [IMP] website_sale_options: new api migration 2016-04-06 16:07:51 +02:00
Martin Trigaux 1a6970b1ed [IMP] website_sale_options: modal context cleanup
Do not make a global context but only set it where it's useful, to fetch the
price of the product based on the quantity (pricelist)
2016-04-06 16:06:48 +02:00
Nicolas Lempereur 0c9355a8fb [FIX] website: prefer to get exact language
request.website.get_languages returns a list of tuple in the form:

        (`language code`, `language name`)

With this commit the code first check if there is a language exactly
matching, and only if failed check if there is a match on the short
form.

closes #11613
opw-672412
2016-04-06 15:31:58 +02:00
Jeremy Kersten ab489b1d73 [FIX] website_hr_recruitment: don't display offices from others countries. 2016-04-06 15:16:58 +02:00
Jeremy Kersten d24b5038a0 [FIX] utm: ignore utm for saleman.
When a saleman create a lead or a sale after clicking on a link to test their own campaign, they don't want to be linked to this campaign
2016-04-06 15:16:58 +02:00
Jos De Graeve b6386a0a7e [FIX] doc: configuration file destination
db_name instead of dbname

Closes #11603
2016-04-06 14:40:03 +02:00
Martin Trigaux 8c029e230e [FIX] website_sale: do not force user's language
When adding a product to the cart via _website_product_id_change, some
information are set in the context to mimic `product_id_change` from sale.

In the context of a sale.order redacted in backend, using the language of the
`partner_id` makes sense as the quotation should be in the language of the
customer and not the user writing it.
In the ecommerce scenario, this is not the case. The language is set in the URL
and can be passed as an argument.

Scenario to fix:
Add a product to the cart when visiting the website in a different language.
The product name and description were in English (or language of public user if
different) instead of the language of the website when adding it to cart.
2016-04-06 14:34:10 +02:00
Nicolas Lempereur 29851b74aa [FIX] sale_crm: if no company on lead use user currency
When displaying the `sale_amount_total` of an opportunity, the amount of
the related order are summed up in the opportunity company's currency.

But when creating a lead, we can leave the company empty which warranted
this commit adding in that instance a fall back on the current user
company currency.

closes #11611
opw-673167
2016-04-06 13:11:48 +02:00