summaryrefslogtreecommitdiff
path: root/addons/sale_expense
AgeCommit message (Collapse)Author
2021-05-30[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-04[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-31[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-17[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-10[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-22[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-20[FIX] sale_expense: Fix quantity on SOL when re-invoicing an expenseAnh Thao Pham (pta)
This is a backport of commit https://github.com/odoo/odoo/commit/b48111635b8f273f5a8b26960b110468908ed3c4 from master to 14.0 Currently, when reinvoicing an expense, a SOL with the expense product is added to the selected SO, but the 'quantity' field remains at 0. But when adding expense product to SO, we need to change the sales order price, because it will be charged to the customer in the end. So in this commit, we set the quantity on the SOL equal to the quantity set on the expense. opw-2377511 closes odoo/odoo#62057 Signed-off-by: Anh Thao PHAM <kitan191@users.noreply.github.com>
2020-11-15[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-08[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-27[I18N] *: Update translation terms from TransifexMartin Trigaux
Except Spanish, waiting for cleanup closes odoo/odoo#60848 Related: odoo/enterprise#14421 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-21[REV] *: revert fb7407c for spanish translationsOlivier Dony
There was a problem in the Transifex translations for Spanish and all translations were overwritten by mistake with english defaults. This commit reverts all modified es.po files to their previous version while we work to restore the translations on Transifex.
2020-10-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-29[FIX] sale_expense : avoid blank selection on re-invoice expensesfw-bot
Changing this to radio buttons to avoid confusing the user with a blank option Task-2299286 closes odoo/odoo#58625 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-10-05[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-01[I18N] export saas-13.5 source termsMartin Trigaux
Without demo data closes odoo/odoo#56839 Related: odoo/enterprise#12821 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-08-13[IMP] hr_expense: Improve global UX (back2basics)Yannick Tivisse
closes odoo/odoo#55852 Taskid: 2303951 Related: odoo/enterprise#12394 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-08-12[IMP] sale_(expense, management): improve digest tipsAnousone Phaysomphot
PURPOSE Review the tips and digest layout design to make sure they have a WOW effect and increase trial conversion/retention. SPECIFICATIONS “Odoo supports configurable products” “Sell or buy products in bulk with matrixes” Remove sale_expense tips. See code for specifications. LINKS Task ID-2274264 COM PR: odoo/odoo#53580 ENT PR: odoo/enterprise#1139 X-original-commit: 15398990a1b162fef3e2280d9c4a82de9f61491f
2020-07-31[IMP] sale*: Remove dependency to AccountTestCommonLaurent Smet
l10n runbot builds are all failing when running at least one test depending of AccountTestCommon because it: - doesn't create a sandboxed testing environnement to manage the multi-currency, multi-company, the default company's currency, the exchange rates... - doesn't setup a testing user then all tests are done using the superuser. - doesn't provide a fully setup chart of accounts: exchange difference journal is not set, accounts have bad types, etc... - is run sometimes at-install. --task: 2301180m
2020-07-31[IMP] hr_expense,sale_expense: Remove dependency to AccountTestCommonLaurent Smet
l10n runbot builds are all failing when running at least one test depending of AccountTestCommon because it: - doesn't create a sandboxed testing environnement to manage the multi-currency, multi-company, the default company's currency, the exchange rates... - doesn't setup a testing user then all tests are done using the superuser. - doesn't provide a fully setup chart of accounts: exchange difference journal is not set, accounts have bad types, etc... - is run sometimes at-install. --task: 2301180
2020-06-10[IMP] web,*: highlight quick create feature to userDhruv Patel
Generally, Users are not necessarily aware that they can quick create a most records by simply typing in their name+enter in the many2xxx field input. The exact purpose of this commit is to make sure the user discovers the quick create feature of our many2xxx fields. For that, when the input is empty, display 'Start typing to create a record...' at the bottom of the dropdown when can_create is set and no_create_edit option not set. So the user can easily understand that by typing and pressing enter will create the new record. Also "Search and Create" options in the dropdown only been shown to the user when it type anything in the input box as the same case in the "Create" option. Task : 2266557 Co-authored-by: Mohammed Shekha <msh@openerp.com> Co-authored-by: Julien Mougenot <jum@odoo.com>
2020-06-04[IMP] hr_recruitment, project, sale_expense: make tips bioutifoulElisabeth Dickinson
PURPOSE Make digest email and tips more appealing. The goals of these tips are * to encourage the adoption of other apps (Did you know ?); * to make Odoo look more fun (Fun tips and tricks, young and dynamic style); * to show social proof and increase trust (emphasis on already existing projects / customers to); SPECIFICATIONS Improve existing tips to be more inlined with new digest styling. LINKS Task ID 2197417 PR odoo/odoo#51619 Co-Authored-By: Elisabeth Dickinson <edi@odoo.com> Co-Authored-By: Thibault Delavallée <tde@odoo.com>
2020-04-23[I18N] *: export saas-13.3 translationsMartin Trigaux
closes odoo/odoo#50031 X-original-commit: 15a7a9f9d71a0b9c46d7caf2f4fbf09a5a4c63fe Related: odoo/enterprise#10140 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-04-20[REF] hr*: convert onchange methods to stored-editable computed fieldsAnh Thao Pham (pta)
Impacted modules: hr, hr_contract, hr_recruitment, hr_payroll, fleet, hr_skills, hr_appraisal, .... Several onchanges have been converted to computed fields in the following modules : Community : - hr - hr_contract - hr_recruitment - hr_work_entry - hr_maintenance - hr_expense - hr_expense_check - hr_holidays - sale_expense - account_analytic_default_hr_expense Enterprise: - hr_contract_salary - hr_referral - hr_payroll - hr_payroll_expense - test_l10n_be_hr_payroll_account There are still 2 onchanges with complex behavior that couldn't be converted easily: - an onchange that updates "tz" (timezone) that is defined as a related field to "resource_id.tz". Apparently it is useless except to initialize the default value of "tz". - an onchange that updates "name" that is defined as a related field to "resource_id.name". the applicant. closes odoo/odoo#45414 Taskid: 2169099 Related: odoo/enterprise#8572 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-04-07[IMP] *: adapt qunit suite bundle inheritanceJulien Mougenot
Since the test assets bundle name has been changed and its structure is different, the inheriting assets need to be updated. Task 2002399
2020-04-01[IMP] sale_expense : add condition on expense_policy displaylbs-odoo
The 'Re-Invoice Expenses' (expense_policy) can be visible only if 'Can be Expensed' is true. TASK#2169344 closes odoo/odoo#48525 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-03-20[IMP] *: declare ir.rule in noupdateVictor Feyens
ir.rule are default values but can be customized based on the company's policy and needs. This is typically a record that is in noupdate as should be customization-friendly.
2020-03-11[IMP] digest, various: add name on tips to ease their understandingThibault Delavallée
PURPOSE Ease edition of digest tips by adding a name. SPECIFICATIONS Add a name on digest tips. Even if technical and not send to customers it allows to see them at a glance in list view without having to guess their content. LINKS Task ID 2214325 Com PR odoo/odoo#47416 Related: odoo/upgrade#933 Related: odoo/enterprise#9167 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-02-26[IMP] hr_expense: Add tracking on some valuesjbm-odoo
closes odoo/odoo#42823 Taskid: 1978580 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-02-18[FIX] sale, sale_expense, sale_timesheet: Re-Invoice Expenses not visibleGoffin Simon
Steps to reproduce the bug: - The field expense_policy in the product.product form view was not visible before saving PS: The default value was always set to False. opw:2194236 closes odoo/odoo#45594 X-original-commit: 7068ae7ec740525bbf5702ad1e78e8e6b0d551e0 Signed-off-by: Simon Goffin (sig) <sig@openerp.com>
2019-12-09[IMP] hr_timesheet, project, hr_expense: Introduce multi-edit listsYannick Tivisse
closes odoo/odoo#40048 Taskid: 2078161 Related: odoo/enterprise#6633 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-12-09[REV] web: reverts update to fontawesome 5.11.2Kevin Baptiste
This reverts commit ff1c35513aecef5fbc30f7c2f3834450e719714e. closes odoo/odoo#41480 X-original-commit: 116057b26e71db4692280463669f3e80d813ddcc Related: odoo/enterprise#7110 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-11-28[IMP] web: update to fontawesome 4.7.0 to 5.11.2Kevin Baptiste
FontAwesome 5 introduced new names for some icons as described on https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes This commit replaces the old names to the new ones. closes odoo/odoo#35826 Taskid: 2050241 Related: odoo/enterprise#5180 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-11-18[IMP] project,hr_expense,hr_timeshee: Add optional fields in list viewlaa
Add and modify multiple fields in tree view for next next model: - hr.expense - hr.expense.sheet - project.project - planning.slot - Field Service project.task closes odoo/odoo#39441 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2019-11-12[IMP] crm, product, ...: Clean some common test classesYannick Tivisse
2019-11-05[IMP] sale_expense: Adapt tests to work with/without demo dataYannick Tivisse
2019-10-09[MERGE] forward port branch 13.0 up to f4105eb9c70Christophe Simonis
2019-10-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-10-01[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-29[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-25[IMP] * : manifest module categories cleanupVictor Feyens
closes odoo/odoo#35754 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2019-09-15[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-08-29[IMP] sale_expense, web: hide 'search more..' from m2o dropdownHiral Bhavsar
Purpose ======== In expense, we now allow any simple employee (no sales access rights) to select sales order. Technically, the name_search is done in sudo mode, to allow simply fetching the name_get of record. The problem is that the m2o field widget displays the "search more" option and click on that will open a modal executing a "search_read" which is causing access error as the user doesn't have read access on SO. As we want to restrict the visible information from the SO(only name_get) to all user, we can't hack the search_read too. Specification ============= To prevent user frustration, we need to remove the "search more" option. Thus, make a private function which one have 'search more..' option related stuff and create a new widget for sale_expense, override that function which one is returing values as it is without any modification. task-2057714 closes odoo/odoo#36152 Signed-off-by: Jérome Maes (jem) <jem@openerp.com>