Commit Graph
103194 Commits
Author SHA1 Message Date
Mahendra barad 703ccb9986 [ADD] event: option to install event_barcode
New Enterprise module
2016-06-13 15:16:31 +02:00
Damien Bouvy 25504cc11f [IMP] hr_timesheet: timesheet report (print) 2016-06-13 13:06:57 +02:00
Jainik Patel eda051f43d [REM] web: Remove GTK icons and replace them by Font-awesome 2016-06-13 12:04:17 +02:00
Mitali Patel 8f39c652c6 [IMP] point_of_sale: manage lot/serial number from POS front-end
Frontend:
- When product has lot/serial tracking open popup for accept lot/serial
  number when it selected.
- Add icon in order line to show related lot/serial number and it
  indicate status of product lot
- User can add or remove product by lot from current lot dialog box
- Order line quantity don't match with lot line quantity show warning
  message

Back End:
- Added model `pos.pack.operation.lot` to manage product lot related
  with pos order
- Added state button in pos session form view to show pickings which are
  not in 'Done' stage
2016-06-13 10:19:01 +02:00
Aaron Bohy 06e28ce2a4 [FIX] crm,website_sale: base_setup.action_sale_config wrong xmlid
Action action_sale_config has been moved to sales_team addon at
odoo/odoo@fa6e415.
2016-06-13 09:41:39 +02:00
jeffery chen fan 0b734418e8 [CLA] rename file name to match github account
Closes #12319
2016-06-10 15:52:13 +02:00
Jainik Patel 919bee4058 [IMP] stock: Lot/Serial Numbers label uniformization
In master , some places the string "Lot" is used and at some places
"Serial Numbers" is used , which is very confusing for the user.

Make a common string "Lots / Serial Numbers" everywhere for the uniformity.
2016-06-10 15:03:44 +02:00
Ravi Patel 598f401d67 [ADD] contacts: Move 'Contacts' root menuitem from 'mail' to a new module
Purpose:
There are too many apps when someone starts to use odoo.
The user installs an app and see at least 6 menus -> too much !

Specification:
In mail module move contacts menu into new module 'contacts' to avoid this
useless app for new users but that can be useful afterward
2016-06-10 06:17:57 +02:00
Yannick Tivisse 9e57185449 [IMP] base,sales_team: Move res_groups and menuitems to sales_team
Purpose:
Having the res_group defined in base and sales_team auto installed
with mail doens't make sense.

- Move the empty res_config class and the related view from
  base_setup to sales_team (base_setup only contains the 'General Settings'
  model and views
- Move the 'sale' related content from product to sale module (Access rights,
  menuitems,...)
- Set sales_team at autoinstall False. The module is installed when needed by
  crm or sale for example
- Set sales_team as a dependency of voip. (Access rights defined for configuration
  purpose)
- Set sales_team ad a dependency of subscription (Access rights issue too)

[FIX] account: move some ir.model.access to sale module
[FIX] payment: Move some ir.rule to website_sale
[FIX] stock: move some ir.model.access rule to sale_stock
[FIX] project: Move some ir.model.access rules to crm_project_issue
[FIX] mrp: Move some ir.model.access rules to sale_mrp
[FIX] calendar: move some ir.model.access rules to crm

Rename xmlids accordingly. Example: 'base.group_sale_manager' becomes
sales_team.group_sale_manager.

[ADD] sales_team: See own documents => See only his sales team
Moved the "User: Own Leads Only", "User: All Leads" and "Manager" groups from sale and crm
into sales_team module. Add the record rules so that user can see only his Own Sales Team
if "See Own Leads" is sales right and can see all sales teams if he is having sales rights
of "See All Leads" or manager.
2016-06-09 16:05:25 +02:00
Jairo Llopis 5cfadf5e41 [IMP] tools: support wdb in dev mode. 2016-06-09 16:01:54 +02:00
Yannick Tivisse 4906757334 [IMP] stock: Remove domain on source/destination on Operation Details
When doing an internal trasnfer, you can choose any destination
location in the header, but not on the line

This is problematic when doing a pick-pack-ship transfer. For the pick
move, you may want to change the source destination location (maybe another
warehouse why not) but as the transfer is already validated you cannot
modify it on the form. But with the Operation Details (Pencil button) you
can modify the source/destination location. The only problem is that a domain
is forcing the user to choose a source destination that is a child of the source
destination on the transfer, which makes impossible to choose a destination on
another warehouse. This tool is pretty much advanced, so we don't need to be so
restrictive.
2016-06-09 15:56:45 +02:00
Goffin Simon dbff4c6c12 [FIX] crm: field expected_revenue in crm.opportunity.report
The expected revenue in opportunity.report is in fact the probable
turnover. It was confusing with the field expected revenue in crm.lead.

opw:678062
2016-06-09 15:33:11 +02:00
Goffin Simon 28a7bcd83c [FIX] account_asset: create move for a depreciation line
The color of the button "create_move" in a depreciation line is
green if the related move is posted, orange if it exists but not posted and
red in the other case.

opw:678905
2016-06-09 14:37:27 +02:00
Raphael Collet 5032cdf64b [FIX] translate: fix test on lxml node
Specifically, replace `not node.getparent()` by `node.getparent() is None`.
2016-06-08 16:25:40 +02:00
Jairo Llopis 87d1c4abd3 [IMP] website_portal_sale: depends on portal_sale
portal_sale adds the security rules for website_portal_sale to work proprerly

Closes #12283
2016-06-08 15:57:51 +02:00
Jeremy Kersten 4a4c4e1b95 [FIX] mail: display date and datetime in tracking value with the right timzeone.
When tracking value is converted to be rendered as a message_post, we convert
the date/datetime with the current local from momentjs.

Related to #12327

Courtesy of @aab-odoo for help and review.
2016-06-08 15:43:52 +02:00
Jeremy Kersten 039e182fe3 [REF] mail: avoid duplicated code for old and new value. 2016-06-08 15:43:52 +02:00
Christophe Simonis 672b7329df [MERGE] forward port of branch saas-11 up to 66ea78f 2016-06-08 14:55:23 +02:00
Christophe Simonis 66ea78fd89 [FIX] account_asset: field asset_iddoesn't exists anymore on stock.move 2016-06-08 14:53:45 +02:00
rap-odoo a5e7a4c8ae [IMP] Account,...: Change 'string' attribute on some fields to avoid repeated names
In odoo at many places the filter items are having repeated strings eventhough the
fiter works differently , so find all the places where this happens and give
proper string to each filter..
2016-06-08 14:02:23 +02:00
Ravi Patel 74936dbb64 [IMP] stock: Use default dest location of picking types on return transfers
Purpose:
When we create a return transfer, the return location should be selected as
the default destination location of the "Picking type for return". Odoo should
be using that return location as the default return location during reverse transfer,
but only if the default destination location of the "Picking type for return" is a
return location

Specification:
For all transfers, if the default destination location of the "Picking type for return"
is a return location, then the return location should be selected as the default
destination location during reverse transfer.
2016-06-08 12:41:07 +02:00
Christophe Simonis 7306e888a6 [MERGE] forward port of branch saas-11 up to ac50230 2016-06-08 12:28:16 +02:00
Christophe Simonis ac5023060c [MERGE] forward port of branch saas-10 up to 2f948c7 2016-06-08 12:19:23 +02:00
mdi-odoo a199988c99 [REF] purchase_requisition: Migrated yml test cases to unit test cases. 2016-06-08 11:54:03 +02:00
mdi-odoo 03c269d9b1 [MIG] purchase_requisition: Migrated to new API. 2016-06-08 11:53:58 +02:00
mdi-odoo 7840a0c25c [MOV] purchase_requisition: Re-organized directory structure. 2016-06-08 09:16:07 +02:00
Christophe Simonis 2f948c76aa [MERGE] forward port of branch saas-9 up to 3ed483c 2016-06-07 19:45:02 +02:00
Christophe Simonis 3ed483caa1 [MERGE] forward port of branch 9.0 up to fa4a371 2016-06-07 19:21:18 +02:00
Christophe Simonis fa4a371ba8 [MERGE] forward port of branch saas-6 up to 0211782 2016-06-07 19:11:49 +02:00
Denis Ledoux 57a5d1976b [FIX] qweb: t-lang warning logger
The evaluated lang is within the variable
`d.context['lang']`

`lang` contains the non-evaluated `t` attribute,
so, in the case of `report_saleorder`,
`doc.partner_id.lang`

opw-680074
2016-06-07 18:23:25 +02:00
Christophe Simonis 021178242f [MERGE] forward port of branch 8.0 up to 6140300 2016-06-07 18:01:12 +02:00
Tanguy Charlier a1a8d6d44f [MIG] barcodes: Simplify selection fields overrides 2016-06-07 17:43:35 +02:00
Ranjit Pillai 93fc313065 [MIG] barcodes: Migrated to new api 2016-06-07 17:43:35 +02:00
Ranjit Pillai cb313ac19f [MOV] barcodes: Reorganised file structure. 2016-06-07 17:43:35 +02:00
Xavier Morel 4a6adff30d [ADD] resource: work day helpers
Add methods to query work days (entire) for resources for systems
working daily insted of hourly.
2016-06-07 17:41:44 +02:00
Nicolas Lempereur 5ea4937e5a [FIX] stock: reordering_{min,max}_qty &several ids
dict.fromkeys doesn't duplicate the passed 'values', hence the code
created a table with several times the same instance of values dict.

opw-679203
2016-06-07 17:27:17 +02:00
Nicolas Martinelli 83e7f2749c [FIX] web: set title on Many2Many tags
When the content of a Many2Many tag is too large, it is truncated. This
is an issue since there is no easy way to see it.

The fix adds a title on the tag with the content.

X-port of commit odoo/enterprise@bd3bfe0422
2016-06-07 17:03:40 +02:00
Jos De Graeve 2098b703a4 [FIX] sale_timesheet: set wrong code on analytic line
The product_id is the one of the timesheet line, not the one of the order (which
actually is the one of the first line).
Closes #12013
2016-06-07 17:02:21 +02:00
Denis Ledoux 4601b044a6 [FIX] web: prevent search dropdowns to close on click inside
In the Filters, Group By and Favorites dropdowns,
when clicking outside the `li` elements but still
inside the dropdown menu itself
(like on the dividers,
or next to the advanced search `Apply` button),
the dropdowns was closed.

This behavior was annoying when doing an advanced search
with a field using the datetime picker, as, to close the datetime
picker, you have to click outside it, and when you did, it closed
automatically the filter dropdown... So you had to open it again to
finally apply the filter.

opw-674310
2016-06-07 16:48:58 +02:00
Jérome Maes 0025bc2bb2 [IMP] hr_holidays: make const with working 8h per day
Having the number 8 in the code makes developers wonder 'why this number ?'. Naming it eases tensions in geek's mind.
2016-06-07 16:34:56 +02:00
Jérome Maes 9b08ef66a6 [IMP] hr_holidays : rename 'Human Ressource' into 'Leaves App' in warning message. 2016-06-07 16:34:55 +02:00
Jérome Maes 65f7d7b122 [REM] hr_holidays : remove useless doc directory 2016-06-07 16:34:55 +02:00
Ravi Gohil 7941468fa6 [MIG] hr_holidays: migrate test cases to new api
- removed unnecessary/unused records from existing unittest cases
- converted yml test cases to python unitttest
2016-06-07 16:34:55 +02:00
Ravi Gohil 46ccb7036f [MIG] hr_holidays : migration to new api 2016-06-07 16:34:54 +02:00
Jérome Maes 3c1725da8c [MOV] hr_holidays : move code to split file per models 2016-06-07 16:34:54 +02:00
Ravi Gohil ea2e476606 [MOV] hr_holidays: reorganize module directory
Also,
- removed unused hr_bel_holidays_2008.xml file
- removed unused action with xml_id 'act_hr_employee_holiday_request_approved' from hr_holidays_views.xml
2016-06-07 16:34:54 +02:00
Olivier Dony af47009815 [FIX] website_{quote,sale}: payment tx handling consistency
Both website_sale and website_quote have logic to independently
confirm sales orders when a successful payment transaction is
processed.
Rev 46c5f93b6c introduced an extra
check and logging for transactions with mismatching amounts in
website_sale, but the same change was not done in website_quote.

Consequently, when both modules were installed, the tx mismatch
check was bypassed by website_quote, and a spurious logging message
was emitted by website_sale if the website_quote logic had executed
first.

This patch makes tx handling consistent in both modules, and avoids
the misleading log message when both modules are installed.
2016-06-07 16:29:52 +02:00
Simon Lejeune 879e2b27d9 [FIX] packaging: redhat: don't write the conf file if already there
this avoid to overwrite the configuration file at each update.

closes  #11722
2016-06-07 16:25:21 +02:00
Christophe Simonis 7889d7e0ff [FIX] web,auth_signup: prevent login autocapitalization
Mobile virtual keyboards will often capitalize the first letter of
an input text field, which is annoying as odoo logins are case-sensitive.
This will no longer happen thanks to this new attribute.

X-port of commit odoo/enterprise@b8632f8bb6
2016-06-07 16:15:47 +02:00
Nicolas Martinelli 7613cb36d6 [FIX] product: pricelist based on supplier price
In the case of a purchase pricelist based on the supplier price, the
price selected is incorrect if the supplier is not in the list of
suppliers of the product. Indeed, in this case, the price of the first
supplier is chosen.

We also need to make sure to go through all the pricelist items found.

opw-678440
2016-06-07 16:03:07 +02:00