summaryrefslogtreecommitdiff
path: root/addons/l10n_eu_service
AgeCommit message (Collapse)Author
2020-10-06[IMP] l10n_eu_service: remove old and confusing feature description from ↵oco-odoo
manifest This feature description had stayed there since v8. Back at the day, we used to create one tax code per tax the module created. We removed this in v9, as similar result can be achieved by looking at the generic tax report. closes odoo/odoo#59226 X-original-commit: 3a6aaa6e95517807a11446d202566ac02ac6e03f Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
2020-03-24[IMP] l10n_xx: hide country specific fields from company/settings viewRavi Gohil
There are few fields added on settings and on company form view by various l10n modules which are meant for particular country's user and are of no use to others. Such fields should be hidden from unrelated users. With this commit, it will be the case. closes odoo/odoo#35755 Task: 2049977 Closes: #35755 Related: odoo/enterprise#5158 Related: odoo/enterprise#5158 Signed-off-by: Josse Colpaert <jco@openerp.com>
2020-03-05[IMP] base: Display searchpanel on ir.module.module viewsYannick Tivisse
Purpose ======= The current kanban view is messy. It is difficult to identify which apps are installed or not. The user can completely miss a module that might have interested him. A search panel would make things way more readable. closes odoo/odoo#44401 Taskid: 2181557 Related: odoo/enterprise#8144 Related: odoo/upgrade#879 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-02-07[FIX] l10n_eu_service: wizard: don't copy tags when creating the service tax ↵oco-odoo
for the selected EU country This restores the behavior for 12.0; we don't want those amount within the national tax report. closes odoo/odoo#44894 X-original-commit: bd21046f9259f0c755deeba8a1d207da6578e957 Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2020-02-04[ADD] *: add ir.model.access on all transient modelsMartin Trigaux
Following changes needing ir.model.access on transient models too. Remove groups declaration on the action to move it to ir.model.access when possible. Rules are strict by default with no unlink access by default and high priviledge asked. Adaptations may be needed later. Write access is given as a wizard may need to be modified in case the action triggers an error and the user has to correct a value account*: use account.group_account_user for all transient by default remove account.print.journal relic stock*: use stock.group_stock_user by default survey: survey user can send invitations mail: allow any employee to execute wizards additional verifications are made to ensure they are executed only on the documents the user has access to you give portal access to mail.compose.message as portal still does some actions like posting messages on the forum add ir.rule to avoid reading somebody else messages increase the query count because of undeterminist count crm: saleman for lead2opp, manager for massmailing partner manager for actions linked to partners avoid a write in test_lead_lost sms: any employee can send sms mrp: mrp user can execute wizards give unlink access as making write during do_produce operation base_import: employees can import files delivery: stock user can deliver event_sale: sale user can configure the wizards event user inherit from sale rights gamification: employee can give badge google_service: resolve FIXME hr: add specific rights manager can set a plan according to group on button anyone who can write on an employee can register a departure hr_expense: set rights based on buttons hr_holidays: an approver can make a summary report hr_recruitment: recruiter can refuse a candidate hr_timesheet: can use the wizard if can create a timesheet l10n_eu_service: managers can create fiscal positions mass_mailing: same group as on mass.mailing.list membership: accountant can create invoice from membership payment: accountant can create a link as the source is an account.move keep the payment.acquirer.onboarding.wizard to system user only as it is called during company configuration point_of_sale: PoS manager only can use wizards never create closing_balance_confirm_wizard records product_expiry: stock user has rights on stock.picking product_margin: access from accounting menus repair: same rules as for above models sale: set ir.rule for self wizard only add rule from model introduced in payment to add salesman group sale_crm: saleman can create a quotation from a lead sale_coupon: any saleman can generate coupon add self ir.rule sale_product_configurator: salesman can select product variants snailmail: employee can send letters website: designers can write on website website_crm_partner_assign: same rule as group on action website_sale: sale ACL as for payment.acquirer.onboarding.wizard website_slides: anyone can send invitation base: base.language.*: allow employee (cf lang_install) change.password.user: can not read change password wizard of other users test.*: no access is needed Courtesy of Damien Bouvy, William Andre and Antoine Prieëls for review of acl
2019-11-19[FIX] l10n_eu_service: make use of the new tax modelfw-bot
closes odoo/odoo#40526 X-original-commit: 87f2aae6c91e70f4f4102bf7ea41858db7dee16f Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2019-11-15[FIX] l10n_eu_service: default taxNicolas Martinelli
The field `account_id` has been removed from the tax, it is not on the repartition line. opw-2121720 closes odoo/odoo#40370 X-original-commit: 537dd88aced8b181f921e0daa0bf146fee9366cb Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2019-08-21[IMP] various: Clean settings UX (back2basics)Parth Choksi
TaskID: 2028958 closes odoo/odoo#35551 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-07-17[REM] *: calls to @api.multiAdrian Torres
Multi is the default api for methods, it is not necessary to explicitly decorate methods with it, adds clutter and most people use it because they see that the rest of the code uses it. Done with `find . -type f -name '*.py' | xargs sed -i '/@api.multi/d'`
2019-05-29[IMP] api.py: Rename company_id/company_ids into company/companiesYannick Tivisse
The goal is to be coherent with the user property. Actually, company_id and company_ids on the environment are no fields. Calling env.company_id returns a browse record, not an id.
2019-05-13[IMP] base: Contextualize the multi companyYannick Tivisse
Purpose ======= Allow the user to select the allowed companies for which he wants to see records on top of selecting his current company. It is confusing for users to see the records from the company he is connected to and the records of the children companies. Instead of using the hierarchy of companies to access records across companies, the user can now select (from his set of allowed companies) the companies for which he wants to access records. /!\ This means that the user will interact with records from company A when in company B. Example: a SO has been created and confirmed in A. When in B, I create the invoice from it. Specifications ============== 1/ Deprecate the parent/children hierarchy on the res.company model. The fields are kept on the res.company model to ensure the retro-compatibility, but won't be used accross the standard code anymore. The only functional usage for this mechanism was to allow to see records from several companies by creating a virtual parent company, which will be possible with the new mechanism. 2/ By default, a user will only see the records of the company he is connected to (or records without a company). (It is still editable by the user if needed). For that, put this information in the user context, to allow having different configurations on different browser tabs. Instead of having domains like ['|', ('company_id', '=', False), ('company_id', 'child_of', user.company_id.id)] you'll have something like ['|', ('company_id', '=', False), ('company_id', 'in', company_ids)] Note that the 'company_ids' is a value that is passed in the evaluation context on the record rule, as we already have user, or time. company_ids is a list of the ids of all the enabled companies in the user's context. 3/ Out of the generic improvements brought by this task, this will illustrate issues that could exist since several versions. For example, it should not be possible to create a scrap order for the company A with a package of the company B, or it should not be possible to create an invoice on the company A with payment terms from the company B. Before the version 12.0, it was easy to encounter this kind of issues as the admin was the SUPERUSER_ID. A positive side effect of the fact that the SUPERUSER_ID has become an inactive user was to make it more difficult to introduce mismatch on the records, but haven't solved the issue, as it was still possible to do it with parent companies configuration. Some of these issues have been fixed in this commit, but all the business flows should be re-tested to check if an ir.rule should be introduced (eg: a multi company rule for stock.quand.package), if the company of a record is correctly transfered to another record created from the first record (eg: From a SO, create an invoice and a payment, the company of the sales order should be transfered on the invoice and the payment, even if the company of the sales order is A and I'm logged into the company B with the company A enabled. 4/ Currently, if I click on a button on a notification email (example 'View Task'), I face a traceback if I'm not logged into the company of the record. Now, if you click on a button and if you have access to the record, the correct company will be automatically set. 5/ If I display a kanban view with several records from several companies (and an image), all the images should be displayed. 6/ Currently if you copy paste an url, this will crash if you're not in the correct company. This won't be fixed because it's quite impossible to do it in a clean way. This task brings a workaround. Copy/Paste -> Traceback -> Log into the correct company, re-copy/paste -> Ok. 7/ 2 property methods have been added on the environment to retrieve the company on which the user is logged in and the companies the user enabled, on a specific tab. That way, when creating a record, instead of doing default=lambda self: self.env.user.company_id do default=lambda self: self.env.company_id On the other hand, to retrieve the enabled companies, do companies = self.env.company_ids 8/ Modify the Company Switcher widget to allow to log into another company WITHOUT writing on the res.users (and thus bringing cache invalidation issues and so on). Also allow to enable several companies and see records from several companies, and independantly of the other browser's tabs. 9/ When focusing on a tab, save the current company configuration on the local storage. That way, when doing 'CTRL+T' or a middle click, the context is propagated to the new tab. 10/ Improve the error message in case of multi company access errors. Now, when the user is in debug mode, display the related names of the records and the name of the user who brings the issue. 11/ Remove the context erasing when writing on a res.users This is probably coming from the migration to new API of the base module. The context was not propagated at this moment, which was a common mistake at that time. When migrating the module, probably by using the 'black box' method, as the context was not propagated, it was erased on the new version. This is now an issue because the context (i.e. the enabled companies) was erased when writing on a res.users, leading to tracebacks. See: https://github.com/odoo/odoo/commit/7eab8e26d3d46c53f4be924d6a34e80a66e74960#diff-4c2e738ee8f64f11806c889ea097b5e7R624 12/ Fix the crash manager on redirect warnings. The issue is the following - Create an invoice on a company without a configured CoA. - Set a partner - On the onchange_partner_id, a redirect warning is raised to propose you to configure a CoA - Click on 'Go to the configuration panel' - A generic warning says something like 'Do you want to discard your changes?' - Click on yes, the page refreshes, but not on the redirect action. Now, set correctly the action on the hash, and reload instead. The breadcrumb is lost for example, but you reach the correct action at least. 13/ Introduce a res.group to enable/disable the multi company per tab feature. 14/ To help the users to know which tab is in which company, add the possibility to have a favicon per company. When creating a company, the classical 'O' icon is colored by default in a random color. 15/ Remove the company switcher on the frontend. This was mainly there to allow a user to swicth to the company linked to the website. This behavior is now transparent to the user. If the website A is activated, then the company set on the context is the company of the website. 16/ Deprecated the _company_default_get method on the res.company model. Remove the method _get_company on the res.users model. 17/ Add 'allowed_company_ids' and 'current_company_id' on the pyeval context. You can now use those variables on domains in the views to access directly to the activated company.ies on the current tab. TaskID: 1960971 closes odoo/odoo#32341 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2018-09-28[IMP] l10n*: add missing descriptions to modelsOlivier Colson
Before that, installing these modules triggered warnings.
2018-09-18[I18N] remove l10n_* translation filesMartin Trigaux
Were no longer synchronized since 9.0 Commit 710f67ad4b5f2a mistakly reexported them too Remove the .pot, keep only a few one like it actually makes sesne to have translated content such as l10n_be_invoice_bba
2018-09-18[I18N] export saas-11.5 source termsMartin trigaux
To match new model_terms syntax
2018-09-14[FIX] l10n_eu_service: remove duplicate service tax rateChristophe Monniez
Since d5b687a an error is logged when trying to insert duplicates in ir_model_data. An error appears when installing this module because of the duplicate. As this module is not yet tested, this error flew under the radar. Note: a new test that installs l10n* is developped
2018-08-23[IMP] account: usability improvementsHiral Bhavsar
- "Balance in GL" renamed "Balance in General Ledger" on dashboard - "Entries to review" button on dashboard adds 'draft' filter by default - streamline hover effect of 'import statement' option with other bank journal buttons' on dashboard - better look for l10n_eu_service setting Was task 46188 Was PR https://github.com/odoo/odoo/pull/22698
2018-07-27[REF] *: BS4, rename btn-default to btn-secondaryqsm-odoo
BS4 "btn-default" class was replaced with "btn-secondary", which makes more sense.
2017-11-24[REF] *: deal with duplicated xml_ids in views and security rulesMoises Lopez
Was part of PR #19820. Courtesy of Vauxoo
2017-09-01[IMP] res_config: Update file names, xmlids, class names according to guidelinesYannick Tivisse
Now that we only have one model (res.config.settings). Uniformize everything according to the guidelines.
2017-09-01[IMP] web,account,...: Regroup settings, add a nav and search barDeep Patel
Purpose ======= Settings are often way too long and hard to scan and sometimes you don't know where to find the settings you're looking for. By adding a left navigation, you can already have an overview of the settings, and switch easily between them. Specification ============= - Add a search bar on all the apps that have settings which can search results from all the installed apps. (If i'm on sales settings,and I search anything then it shows results from sales settings and also shows all the other matching results from all the other apps such as, Inventory...etc) with app name. - Able to activate feature from the current page results (no matter if the searched result is from another apps). - Highlight searched word in results - Delete the sheet, have a full white background - Add left navigation bar on setting - Left navigation bar fixed - List displayed based on installed apps - On right panel, by default display current app setting and change accordingly - [Mobile] Left navigation bar displayed on top - Add Breadcrumb on top of the page: have the name "Settings" + Save / discard CTA + Search - Add General Settings on the nav bar - remove "save this page..." notif in all settings - Delete all recommanded apps section + all checkbox that install app should disappear: payroll: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrSkMzWVpuZ0ZoaFE/view?usp=drivesdk Events: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrYXlHMHd2NTM2blE/view?usp=drivesdk Manufacturing: Delete Repair - Quality Control - Maintenance - Product Lifecycle Management [LAP][ok] Timesheets: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrdFg5XzNydkd2TlU/view?usp=drivesdk project: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrraWo3NE04TktwcTQ/view?usp=drivesdk inventory: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrQkRaVUR5ekFQYTQ/view?usp=drivesdk recruitment: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrbDdqLWQweF80UkE/view?usp=drivesdk purchase: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrRlAyUDBnb0trQWs/view?usp=drivesdk email marketing: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrOUZONjhvX2k3Y2s/view?usp=drivesdk expenses: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrrR0JpN1ZpQmtxU3M/view?usp=drivesdk attendances: https://drive.google.com/a/odoo.com/file/d/0B1uIL9E_zXrralpjZ1VJclNpMWs/view?usp=drivesdk - About duplicate settings: Docsaway: Delete from Sales + delete Default Print Provider Attributs & Variants: Delete from Purchases - Manufacturing Multi-currencies: delete from Sales Unit Of Measures: Delete from Purchase & Expenses - Add a scroll bar on the left bar when there's too many apps - Keep the navbar visible even when you search - Move General Settings to the bottom of the list - Update on Settings: - Accounting: - rename automatic rates - Anglo Saxon Account: Should be in technical feature - Place Accounting Reports section before Taxes section - CRM: - Phone Validation: Enforce international format becomes - Local Numbers: (2 radio buttons proposals) Add international prefix / No prefix - Fleet: typo " ... a new car if ..." + text is too long <br> - project: fix tooltip for colab pads
2017-08-11[IMP] account: Split clearly the accounting & invoicing applicationsYannick Tivisse
PURPOSE ======= 1) Have a clear split between the invoicing and the accounting apps 2) Have a clear split between the community and the enterprise version (no accounting in community) SPECIFICATION ============= (1) When only invoicing installed, we shouldn't see accounts (for community and enterprise) (a) Perpetual Inventory Valuation: - Hide the field inventory valuation from the product category (b) Taxes - No accounts - No cash basis option - No tax adjustment (2) Remove from Community, modules: - Accounting - Budgets - Assets (3) No account_report in community, keep PDF reports for - sale/purchase journal - Aged partner balance - Partner Ledger (4) Clean split between invoicing and accounting in enterprise (a) When installing invoicing, I shouldn't have access to accounting just by changing my access right to adviser (b) Menus (when only invoicing installed) - Sales - Customer Invoices - Customer Credit Notes - Payments - Customer Statements - Customers - Sellable Products - Purchases - Vendor Bills - Vendor Credit Notes - Payments - Vendors - Purchasable Products - Reporting - Partner Reports - Partner Ledger - Aged Receivable - Aged Payable - Audit Reports - Tax report - Management - Invoices - Product Margins - Configuration - Settings - Products - Products - Accounting - Taxes - Fiscal Positions - Bank Accounts - Journals - Management - Payment Terms - Follow-up levels - Payments - Payment Acquirers (c) Settings (when only invoicing installed) - Fiscal Localization - Taxes - Default Taxes - Rounding Method - TaxCloud connection - TaxCloud Categories - EU Digital Goods VAT - VIES VAT CHECK - Currencies - Main currency - Multi-currencies - Invoicing - Warnings - Docsaway - Customer Payments - Follow-up levels - Payment Followup - Bills Payment - Bank & Cash - Analytics - Margin - Automated Entries Remarks - Test with the different access rights
2017-07-27[IMP] account: Correct the settings display according to the enabled optionsHiral Bhavsar
PURPOSE ======= Clean accounting new settings. SPECIFICATION ============= - When a setting is not active, I don't want to see the green arrow sending back to the configuration part. Example : If I unactivate the follow-up levels, I don't want to see the green arrow "Follow-up levels" anymore - Add checkbox to 'TaxCloud Connection' - Also visible the label 'Fiscal Localization' and its text only if CoA is not set. - Set '# of digits' always visible and relabel to '# of digits on accounts'. Also put it inside new setting 'Chart of Accounts'.
2017-06-19[REF] base: Remove some fields on ir.actions.todoYannick Tivisse
All our ir.actions.todo records are automatic.
2017-04-28[FIX] Various P3-related import changesxmo-odoo
* LDAP import: python-ldap is not python3-compatible, pyldap is Warning: only supported from debian Stretch (current testing)? https://packages.debian.org/search?searchon=names&keywords=pyldap * implicitly relative imports * imports of moved or removed stdlib modules issue #8530
2017-01-26[FIX] l10n_eu_service: Add the possibility to reconfigure the EU MOSS TaxesYannick Tivisse
2017-01-03[I18N] port of 44a6366b to masterMartin Trigaux
2016-12-29[IMP] account*: Improve the settings form viewptr
2016-09-05[IMP] *: rename manifest files for v10 naming conventionOlivier Dony
2016-08-20[MERGE] forward port branch saas-12 up to 9ad5f26Christophe Simonis
2016-08-19[I18N] update saas-11 translations by merging 9.0 and masterMartin Trigaux
1. export saas-11 sources terms into .pot files 2. msgcat odoo-9 .po & odoo-master .po into saas-11 .po files 3. msgmerge saas-11 .po with saas-11 .pot files to keep relevant terms
2016-08-03[MERGE] forward port branch 9.0 up to cadb481Christophe Simonis
2016-07-31[I18N] Update translation terms from TransifexOdoo Translation Bot
2016-07-29[MERGE] forward port branch saas-12 up to 16d65a8Christophe Simonis
2016-07-25[MERGE] forward port branch 9.0 up to 1089dcfChristophe Simonis
2016-07-24[I18N] Update translation terms from TransifexOdoo Translation Bot
2016-07-15[MERGE] forward port branch saas-12 up to c16d5bcChristophe Simonis
2016-07-14[MERGE] forward port branch 9.0 up to fd9eb2eChristophe Simonis
2016-07-10[I18N] Update translation terms from TransifexOdoo Translation Bot
2016-07-07[MIG] l10n_eu_service : Migrated to new API.Rohan Patel
2016-07-07[MOV] l10n_eu_service : Re-organized directory structure.Rohan Patel
2016-07-05[MERGE] forward port of branch 9.0 up to 489ea42Christophe Simonis
2016-07-03[I18N] Update translation terms from TransifexOdoo Translation Bot
2016-07-01[MERGE] Forward-port 9.0 up to 7f2e748a2245838d09d7f3f17f5e1a1b202f6076Olivier Dony
2016-06-30[IMP] Classified each module in its category to display them correctly on ↵Yannick Tivisse
odoo/apps To be displayed correctly on odoo app (In a given category and not only in all or hidden) the module category in the __openerp__.py file should be one of these: "Accounting", "Discuss", "Document Management", "eCommerce", "Human Resources", "Industries", "Localization", "Manufacturing", "Marketing", "Point of Sale", "Productivity", "Project", "Purchases", "Sales", "Warehouse", "Website", "Extra Tools", 'Accounting & Finance' will not work, as 'Project Management', ...
2016-06-28[MERGE] forward port of branch 9.0 up to 3e15b86Christophe Simonis
2016-06-26[I18N] Update translation terms from TransifexOdoo Translation Bot
2016-06-22[I18N] Update translation terms from TransifexOdoo Translation Bot
2016-06-22[I18N] Update translation terms from TransifexOdoo Translation Bot
2016-06-14[MERGE] forward port of branch 9.0 up to bfbe2d6Christophe Simonis
# Conflicts: # addons/marketing/i18n/es_PE.po # addons/marketing/i18n/hu.po
2016-06-12[I18N] Update translation terms from TransifexOdoo Translation Bot