Commit Graph
193 Commits
Author SHA1 Message Date
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
Yannick Tivisse ccdb5cbfc0 Revert "[IMP] base,sales_team: Move res_groups and menuitems to sales_team"
This branch need more testing instead of doing 10 fixes. A lot of issues are occuring
when installing modules in different orders.

This reverts commit fa6e415cdb.
2016-06-06 17:26:30 +02:00
Yannick Tivisse b797bbc406 Revert "[FIX] account: move some ir.model.access to sale module"
This reverts commit 6d33eb037c.
2016-06-06 17:26:21 +02:00
Yannick Tivisse 6d33eb037c [FIX] account: move some ir.model.access to sale module
The groups group_sale_salesman and group_sale_manager have been moved
from the base module to the sales_team module.
2016-06-06 16:47:18 +02:00
Yannick Tivisse fa6e415cdb [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)

Rename xmlids accordingly. Example: 'base.group_sale_manager' becomes
sales_team.group_sale_manager.
2016-06-06 15:46:52 +02:00
Yannick Tivisse 8ff9cbad2c [IMP] sale,purchase,stock,account: Don't display an empty 'warning' page
And add a category hidden on the res.group definition
2016-05-06 17:06:35 +02:00
Srushti Patel f303fab21d [IMP] account: Move the Invoice report in the invoicing app.
-because If a user wants to have a report of all its invoices, he/she has to install the full accounting app.
-Add access rights for Reports.
2016-04-12 16:47:10 +02:00
Yannick Tivisse 536dbc50db [IMP] account,sale,purchase,stock: Add groups to activate warnings 2016-04-07 10:08:20 +02:00
qdp-odoo 7f64a2ec24 [FIX] account: put back the concept of full reconciliation. This doesn't add anything new but this concept seems to be a legal requirement is some countries, hence considered as a fix. A different patch for v9 has been pushed at 395c4bdc69, to wrap this change into a module 2016-02-26 11:32:32 +01:00
Christophe Simonis f61cfaefc8 [MERGE] forward port of branch saas-7 up to 572cbfc 2015-11-25 16:43:19 +01:00
Cedric Snauwaert 2015c6ceab [FIX] account: missing access-right for billing group (account.bank.statement.line) 2015-11-23 11:22:26 +01:00
Yannick Tivisse 1ecba213f4 [IMP] Newly created users get all manager access right
Coming from a bug in web_settings_dashboard. Invited user didn't have any rights
when created from the dashboard, which was leading to an error.

This bug leaded to a new discussion. Better to have basic employee having user
rights for all main applications. For bigger entreprises there is an admin that
will carefully remove extra rights, if necessary. The target is small businesses,
it makes sense that every way to create a user gives the same result.

In conclusion, each new user has a full access to the applications by default

How is it implemented ?
We added an inactive default user which original access right to the groups
'base.group_user' and 'base.group_partner_manager' in base. Each
application will extend the default user's access right by adding the maximal
access right for this application.

On user creation, we will use by default the 'group_id' field from the default
user. We will in the same time remove the ugly 'default_groups_ref' key which
was passed sometimes in the context for some fields in some views, and sometimes
nothing.

So, the user can modify the access rights for the default user, but he should be
aware that removing project user access rights for a default user will prevent
a *created on the fly in a task* user will not be able to access the task.
2015-11-20 16:27:32 +01:00
Thibault Delavallée f376d7495b [FIX] account: billing cannot validate an invoice
Issue: without access on account.partial.reconcile model, a billing user can create
an invoice, but not validate it.
2015-11-04 18:02:59 +01:00
Thibault Delavallée 3e78938aa6 [FIX] account: billing cannot access Invoicing
Issue: account.bank.statement read right is required for the dashboard; added read access
forbilling users
2015-11-04 17:39:13 +01:00
Nicolas Martinelli 5cb2943cca [IMP] account*: adaptation due to the new Sale module
Major changes:
- No use of UoS anymore
- No analytic journal (journal_id) on account move lines

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:10:18 +02:00
Thomas Groutars d861cdc1c4 [ADD] account: add tax_group on invoice to make reporting easier + create tax_group retention for l10n_co 2015-08-17 15:06:48 +02:00
qdp-odoo 8ac40acb0d [IMP] account*: various usability improvements 2015-07-22 16:19:02 +02:00
Olivier Dony 839b739ab5 [FIX] account, l10n_be: disable/remove WIP references to financial reports
To be done under @qdp-odoo's supervision
2015-06-15 04:36:24 +02:00
qdp-odoo c04065abd8 [IMP] accounting v9. Yeeeeaah 2015-05-05 17:28:04 +02:00
Arthur Maniet 3e0ffcf4e4 [IMP] account: account.statement.operation.template model
- better many2one ondelete strategies
- added analytic account domain
- added multi-company support
2014-11-28 05:28:53 +01:00
qdp-odoo b92c6b3101 [IMP] base, ir_sequence: added use_date_range field on ir.sequence, that allows to have several sequences running for the same one depending on date ranges (similar to what was existing previously on accounting with FY, which is now deprecated) + port to new API 2014-11-21 10:09:29 +01:00
Christophe Simonis c0815d0594 [MERGE] forward port of branch 8.0 up to 83bd9ee 2014-11-12 19:47:04 +01:00
Christophe Simonis 83bd9ee16b [FIX] account: give "Invoice" users access to "Invoice Analysis" Report.
This access is required in order to display the amount invoiced on partner form
2014-11-12 19:25:50 +01:00
Christophe Simonis 5068cffbb0 [MERGE] forward port of branch 8.0 up to 491372e 2014-11-05 20:30:40 +01:00
Adrien Peiffer 78f3b94601 [IMP] account: Add multi-company record rule for analytic entries report
As a multi-company rule is already present for account.analytic.account and account.analytic.line, should have one on the report on both of them.
2014-11-03 11:50:10 +01:00
cod-odoo a301b4c7fc [MOVE] account: moved account/project files to analytic or account, depending on which module the moved code belongs to. This allows to remove references to project in account module. Also added some improvements in project when deleting a project (delete account if void) or when deleting an account (delete project if void). 2014-08-04 13:23:46 +02:00
Fabien Pinckaers 5cc81dd64f Fixes 2014-07-02 18:18:29 +02:00
Christophe Simonis 9e8e3653f2 [MERGE] forward port of branch saas-4 up to f68c835 2014-06-25 12:43:41 +02:00
dhr-odoo df6b37c472 [FIX] account: add multicompany rule to account.subscription.line
The wizard to generate recurring entries did not respect multicompany rules as the request was done in plain sql.
Add ir.rule and use the orm (opw 607782)
2014-06-25 12:07:02 +02:00
qdp-odoo e3491ccb71 [IMP] account: bank statement reconciliation widget (part 2) 2014-05-30 18:47:50 +02:00
Olivier Dony 3fe6987ce7 [MERGE] Harmonization of noupdate flag on security XML data, courtesy of Alexis de Lattre (Akretion)
ir.rule records are in noupdate data blocks to let the admin
alter them without fear of them being reset at next update.
Other records such as groups are in normal mode, so they
can be updated whenever necessary

bzr revid: odo@openerp.com-20121218232001-t425t4hi7qbmsip2
2012-12-19 00:20:01 +01:00
Denis Ledoux dle@openerp.com 7e1ffaf613 [REM]Remove all account.journal.view and account.journal.column references
bzr revid: dle@openerp.com-20121122104504-ezgj2666zkhgybpj
2012-11-22 11:45:04 +01:00
Quentin (OpenERP) ff6966da8b [IMP] account: added an option to enable/disable the check_total feature on supplier invoices
bzr revid: qdp-launchpad@openerp.com-20121024091313-s6k3ekmsen5ntez4
2012-10-24 11:13:13 +02:00
Fabien Pinckaers b55bbc4b7b [FIX] l10n_ma unnecessary group
bzr revid: fp@tinyerp.com-20120928073632-xo2jqv620ek2rdsx
2012-09-28 09:36:32 +02:00
Antonin Bourguignon aae20beef0 [IMP] remove the useless attribute model="ir.model"
bzr revid: abo@openerp.com-20120924141047-2mang092z0ak288g
2012-09-24 16:10:47 +02:00
Antonin Bourguignon de9eb7f78c [IMP] indentation and arguments order for readabily sake
bzr revid: abo@openerp.com-20120924140632-mig0szmfvopl1wq0
2012-09-24 16:06:32 +02:00
Antonin Bourguignon 3049f0a2a8 [MERGE] trunk
bzr revid: abo@openerp.com-20120924135704-neh93vull9m35qhs
2012-09-24 15:57:04 +02:00
Fabien Pinckaers 31a4392e36 [MERGE] purchase + [FIX] misc sale order without delivery orders
bzr revid: fp@openerp.com-20120916150517-16vr5lp419b0kpid
2012-09-16 17:05:17 +02:00
Paramjit Singh Sahota ec11fa23a8 [IMP] Given the access rights for the account.journal.cashbox.line in ACCOUNT.
bzr revid: psa@tinyerp.com-20120823100640-5i00hwtv12wei7re
2012-08-23 15:36:40 +05:30
Alexis de Lattre 5101771cd9 Harmonize the noupdate flag on security XML files :
- ir.rule objects are noupdate="1"
- all other objects are noupdate="0"

bzr revid: alexis@via.ecp.fr-20120713170838-pjsysliyt6twazrc
2012-07-13 19:08:38 +02:00
Amit (OpenERP) f9c2437959 [FIX] account : Add access rules for entry analysis report
lp bug: https://launchpad.net/bugs/999506 fixed

bzr revid: amp@tinyerp.com-20120518103541-vfp9bh4p9dqwbr18
2012-05-18 16:05:41 +05:30
Raphael Collet ba1454149c [IMP] groups: remove auto-inclusion of admin in groups, and make the inclusion explicit in groups
bzr revid: rco@openerp.com-20120404090830-nteimn2kvz8nkk7h
2012-04-04 11:08:30 +02:00
Raphael Collet 017c5f8290 [MERGE] from trunk
bzr revid: rco@openerp.com-20120403082756-egpot17iztniu8tr
2012-04-03 10:27:56 +02:00
Raphael Collet b8dea9ec32 [IMP] account.config.settings: remove redundant group 'Dates and Periods'
bzr revid: rco@openerp.com-20120403073128-nwngudl2z6sync1z
2012-04-03 09:31:28 +02:00
Raphael Collet 3df4146b94 [IMP] account.config.settings: rename id of usability groups
bzr revid: rco@openerp.com-20120329142731-843r2c34gpjsnw9i
2012-03-29 16:27:31 +02:00
Raphael Collet 04f33ca7ac [IMP] account.config.settings: move sale and purchase group fields in their respecive module
bzr revid: rco@openerp.com-20120329142121-lc5b6d3mcds68p34
2012-03-29 16:21:21 +02:00
Raphael Collet 532f125232 [MERGE] branch trunk-v62_config_account-uco (new config wizard for accounting)
bzr revid: rco@openerp.com-20120328074146-8bfa90nkus9bxbaf
2012-03-28 09:41:46 +02:00
Ujjvala Collins (OpenERP) 5128b93091 [ADD] account: Added config files.
bzr revid: uco@tinyerp.com-20120307124301-ey6qvcafb3uibuqy
2012-03-07 18:13:01 +05:30
Jigar Amin - OpenERP 6c88d42bd4 [FIX] account pasrtner_address_id and annonymous veriable names
bzr revid: jam@tinyerp.com-20120307070730-69akg01n5hpvlkdo
2012-03-07 12:37:30 +05:30
Raphael Collet 0c1021806d [MERGE] trunk-user-groups-rco: add category_id to groups
bzr revid: rco@openerp.com-20111213141949-ohvn0c9iq6tcl7jj
2011-12-13 15:19:49 +01:00