Commit Graph
99161 Commits
Author SHA1 Message Date
tpa-odoo 88200e42e9 [ADD] inter_company_rules : feature to create inter company sale, purchase and invoice (Example : automatically create PO or SO for supplier company of the same database). 2015-02-05 13:25:44 +01:00
Jérome Maes 275234c067 [IMP] base_setup, product : add res.config options (in base_setup and product) to active access rules for res.partner and product.template.
The rules 'base.res_partner_rule' and 'product.product_comp_rule' are now inactive by default. This will make these models visible for all companies defined in the database, ignoring the configuration of companies set on product and partners.
2015-02-05 13:25:44 +01:00
Arthur Maniet f0cefa7232 [ADD] py.js: len() and truthiness on lists, tuples and dicts
* use new support to colorize reconciled bank statement lines
* fixes tokenization of ``is not`` to not blow up on ``not foo``
* improves calling code to get truthiness of evaluated expression
  instead of truthiness of javascript-equivalent objects: an empty list
  is falsy in Python but truthy in javascript, since the evaluated
  expression is in Python one would expect Python truthiness rules
  without having to manually convert to boolean

closes #5070
2015-02-05 13:08:15 +01:00
Thibault Delavallée ba9bc1e86d [FIX] email_template: updated onchange_template_id when not having
a template defined: some values were missing leadins to wrong partners and
subject pre computation.
2015-02-05 12:01:56 +01:00
Goffin Simon d5a50fd346 [FIX] sale: fiscal position wrongly taken based on country group.
An automatic fiscal position with a country group can only match with a sale order from a customer who has a country defined.
opw:627087
2015-02-05 11:15:28 +01:00
Jeremy Kersten 8be29c33fa [IMP] website_crm: allow medium_id and section_id field to be overwrited by form 2015-02-05 09:50:36 +01:00
Denis Ledoux c331e963cd [FIX] account: invoice analysis product quantity
This rev. is related to 6641c61ce6

During the above revision, a new jointure has been added
with product_uom, on product template uom_id
The join link was wrong, it was:
 - LEFT JOIN product_uom u2 ON u.id = pt.uom_id
and it must be:
 - LEFT JOIN product_uom u2 ON u2.id = pt.uom_id

 as the alias 'u' is the previous jointure, not this new one.

Besides, the uom_name is now the name
of the product uom of this second jointure
As the uom is now the product default uom
instead of the category reference uom

The groupby clause has been adapted, as the selection was slightly altered
Besides, grouping by u.uom_type, u.category_id was pointless
2015-02-04 20:28:48 +01:00
Denis Ledoux b36908b6f8 [FIX] websiste_sale: order confirmation email with attachment
This rev. is related to 67443b5b17

onchange_template_id returns the attachment_ids as a id list,
not as a *2many command list
The conversion from id list to command list has to be done manually.

At the moment, attachment_ids is the only 2many fields of email.template
2015-02-04 17:08:58 +01:00
Goffin Simon bcf8254c16 [FIX] account_asset: asset_id is missing when you create 'account.asset.depreciation.line'
Add the right asset_id when you create an 'account.asset.depreciation.line' in the depreciation board of an 'account.asset.asset'.

opw:626625
2015-02-04 16:39:29 +01:00
David Monjoie d7f30de9ae [FIX] product: moved pricelist_item ACL from stock to product
Otherwise if we install sale without stock, we can create pricelist and pricelist versions, but not pricelist items.
Fix for issue 626985
2015-02-04 16:17:36 +01:00
Christophe Simonis 691254cbfe [FIX] sale_crm: do not link view to base module 2015-02-04 15:38:21 +01:00
Martin Trigaux 16374dfa33 [FIX] account: error message not translated 2015-02-04 15:28:56 +01:00
Rifakat Haradwala a08b9c2c41 [FIX] account: forbid creating entries on closed period
Prevent creating/modifying accounting entries made on close periods.
The period_id and journal_id field on a account.move.line is a related so was
silently (without write call) updated so did not triggered the call to
_update_journal_check while modiying the linked account.move
Force the check in the validation of the move. As the move can not be balanced
without going through this method, this will prevent posted entries in closed
accounting period.
Fixes #1633, opw 615886
2015-02-04 15:28:55 +01:00
Damien Bouvy 54c273a175 [REM] mrp_operations: remove unused mrp_code_barcode rml report 2015-02-04 15:28:51 +01:00
rsi-odoo ad6fdc43ee [IMP] marketing_campaign_crm_demo : convert report activity into email activity. 2015-02-04 15:28:50 +01:00
Jaydeep Barot ea7cc4bf86 [IMP] mrp_operations : Convert mrp_wc_barcode.rml to qweb report. Set custom paperformat height and width. Also Improve yml test case 2015-02-04 15:28:50 +01:00
rsi-odoo e4f44f9d54 [IMP] pos: Convert User Label xsl report in qweb report 2015-02-04 15:28:50 +01:00
rsi-odoo 2fc3a5501e [IMP] product: Convert product label xsl report in qweb report 2015-02-04 15:28:50 +01:00
rsi-odoo 1c3f7c5ad7 [IMP] base : Convert Model Overview and Technical Guide rml reports in qweb report 2015-02-04 15:28:50 +01:00
rsi-odoo 1a2b4f4de7 [IMP] hr_holidays: Convert Leaves Summary xsl report in qweb report 2015-02-04 15:28:50 +01:00
rsi-odoo 5823a6c64a [REM] : Remove Account transfer and Project report files that does not have any actions. 2015-02-04 15:28:49 +01:00
Jérome Maes 6219c0b0fa [ADD] website_rating_project_issue : display project feedback on the website. Using privacy/visibily defined on project.project and security rules defined in website_project_issue. 2015-02-04 15:24:48 +01:00
Jérome Maes a82b139496 [IMP] livechat : when rating conversation, click on smiley save the rating value. Only display texterea when clicking on red smiley. 2015-02-04 15:24:48 +01:00
Jérome Maes 28b6a2631f [IMP] rating : graph view before kanban view for the ratings and add pivot view. 2015-02-04 15:24:48 +01:00
Jérome Maes 68cc737247 [IMP] project, project_issue, project_timesheet, rating_project : refactoring of the kanban project. Now using bootstrap, and better disposition of module elements. 2015-02-04 15:24:48 +01:00
David Monjoie 803778d9b4 [IMP] theme_bootswatch: improved theme preview image 2015-02-04 15:22:55 +01:00
Christophe Simonis 7ab70cab74 [IMP] models.py: do not log handled "bad query" 2015-02-04 14:45:50 +01:00
xmo-odoo d87aedb731 [FIX] doc: missing self params in examples 2015-02-04 14:34:13 +01:00
Denis Ledoux 2a162d9be7 [FIX] web: widget date handling user timezone
When converting a datetime field to date, using the widget date,
the date time value was just cropped, removing the hours,
therefore ignoring the user time zone.

For instance, if the user was in UTC + 1, for a date time 02/02/2015 00:30:00,
applying the widget date on this datetime had as result 02/01/2015,
due to the fact the UTC value of the datetime field was 02/01/2015 23:30:00

fixes #4420
opw-621281
2015-02-04 14:33:01 +01:00
Christophe Simonis 02cba09386 [FIX] *: force view_id and context values of ir.action.window
These values have been deleted by 4c9eae9 (#4350)
2015-02-04 14:16:27 +01:00
David Monjoie 9831636ffb [FIX] website_event_sale: fixed test to allow structural dom changes
Correction of c3c7aa79a0, apparently the tour system doesn't click on the a if the selected element is not the a or an element inside of it, even if the selected item only has the a as child.
2015-02-04 13:24:27 +01:00
Denis Ledoux 3636aeb59d [FIX] web: field on change event
This is related to rev. d17f22cde7

Compare float values using float_is_zeor only
if the key is 'value',
meaning the changed value is the actual value of the field,
not another variable of the field (widget, etc.)

For instance, changing the currency_info of a float field
using the monetary widget should not compare the old and new value using
float_is_zero (the values are not even floats).

opw-627166
2015-02-04 13:03:39 +01:00
David Monjoie c3c7aa79a0 [FIX] website_event_sale: fixed test to allow structural dom changes 2015-02-04 12:04:00 +01:00
Denis Ledoux 90230a967f [FIX] sale_crm: preserve opp time when converting to sale order.
Field date_order of sale.order model was changed from date to datetime
during rev. 56cbc9421d

When converting the opp to a sale order, we must therefore use fields.datetime.now
which returns a datetime
instead of fields.datetime.context_today
which returns a date
2015-02-04 11:16:52 +01:00
Antoine Huvelle 6779166454 [FIX] stock: prevent creating inventories for virtual locations
It makes no sense to allow inventories in supplier locations as it won't anyway
reduce the Inventory if we want to downsize the inventory. This makes
the Inventory act weird.

Ex:
1. Initial situation: 20 units of stock A at supplier's location
2. Makes an inventory stating there is in fact 0 qty of product A at that
location (in the hope to remove some quants).
3. Still 20 units in Suppliers location + 20 units in Inventory loss...

Managing specific suppliers destination is currently not supported.
Same issue with production locations.
Fixes #5052
2015-02-04 10:42:06 +01:00
Nandan Jani 14ebbf6c61 [IMP] payment: added sequence and order on payment acquirer model. 2015-02-04 10:16:08 +01:00
Nicolas Seinlet 35b3836276 [ADD] l10n_be_intrastat: Belgian Intrastat report
Closes #2247
2015-02-03 19:35:56 +01:00
Christophe Simonis fa75094e6f [MERGE] forward port of branch 8.0 up to 4af53de
ignore .po and .pot changes
2015-02-03 18:47:42 +01:00
Christophe Simonis 4af53de399 [MERGE] forward port of branch saas-3 up to 9abcb0c 2015-02-03 18:41:50 +01:00
Christophe Simonis 9abcb0cf2b [MERGE] forward port of branch 7.0 up to 9769279 2015-02-03 18:39:16 +01:00
Denis Ledoux e3b7dd72ec [FIX] hr_evaluation: state field no longer exists on survey.survey 2015-02-03 18:19:40 +01:00
Frédéric van der Essen 9769279e96 Merge pull request 4770 into 7.0
- Add the same behaviour in pos_order form view as in sale_order form view; (domain of partner is restricted to customer = True);
2015-02-03 18:18:14 +01:00
Sylvain LE GAL 94b429394a [REF] remove useless quotes 2015-02-03 18:14:55 +01:00
Sylvain LE GAL bfdf3f8744 [FIX] 'point_of_sale' add customer domain on partner field of pos_order; 2015-02-03 18:14:55 +01:00
Martin Trigaux e6d869b493 [FIX] stock_account: inconsistency in invoice line origin
The origin of the invoice lines was the same as the invoice (both using variable 'origin').
2015-02-03 17:11:38 +01:00
Gaurav Panchal 0ac04b335c [REM] sales_team: removed group_mono_salesteam user group.
This group is never used in the code; only group_multi_salesteam is used
whenever knowing if sales team are used.
2015-02-03 16:55:55 +01:00
Bhavik Bagdiya 351f5231e2 [IMP] account, sale: allow to follow created and confirmed
invoices on the sales team.
2015-02-03 16:22:22 +01:00
Christophe Simonis 111aedf272 [MERGE] forward port of branch saas-3 up to dce1b83 2015-02-03 16:03:18 +01:00
Christophe Simonis dce1b83785 [MERGE] forward port of branch 7.0 up to e999f4c 2015-02-03 15:53:01 +01:00
Yannick Tivisse fd1ffe58f1 [FIX] purchase: Purchase Analysis view had traceback when grouping by Analytic Account 2015-02-03 15:51:42 +01:00