Skip to content
Snippets Groups Projects
  1. Sep 27, 2017
  2. Sep 26, 2017
    • Joren Van Onder's avatar
      [IMP] l10n_co: update and simplify · 5539c54d
      Joren Van Onder authored
      This simplifies the chart of accounts and taxes to only the common
      ones used. It also updates some changes that took place (eg. the VAT
      increase from 16% to 19%). Lastly it implements some additional fields
      on res.partner: a document type and a verification code that is
      calculated based on the VAT.
      5539c54d
    • Simon Lejeune's avatar
      [FIX] stock, mrp: _get_similar_move_lines · 096a39b3
      Simon Lejeune authored
      try to make it work actually.
      096a39b3
    • Simon Lejeune's avatar
      [FIX] stock: move line's onchange · 0f24652b
      Simon Lejeune authored
      We have te remove self, because as it's an onchange working on a 0 orm
      command, the onchange is executed on a recordset on a new id without
      client ref but, when we go up and down in the relations to find our
      siblings, the newid recordset with a client ref is present, meaning we
      have our record duplicated.
      0f24652b
    • rde's avatar
    • Kishan Gajjar's avatar
      [IMP] website: Limit size of favicon · f435f72a
      Kishan Gajjar authored
      Before this commit, if you uploaded a big image, it would break the settings
      screen.
      
      Now, the image will have its displayed size limited to 90px
      f435f72a
    • rde's avatar
      [FIX] import_xml: ir.ui.view model does not have a page attribute anymore · 2a43636a
      rde authored
      Before this commit, user could set page attribute on <template> tag in xml
      Now, we prevent user to be able to set page attribute.
      2a43636a
    • rde's avatar
      [IMP] website: website manager - change tooltip & label to be more clear · 976dc2be
      rde authored
      + website.page should not have the option 'edit in backend' in the navbar like
      blog post, product, jobs..
      976dc2be
    • rde's avatar
      [FIX] website_blog: repair blog post save · 53ae8bec
      rde authored
      Before this commit and since the huge JS refactoring, when you were editing
      a blog post it wouldn't save your modifications if you touched the title or
      subtitle of the blog.
      
      This was due to title & subtitle getting considered as the cover itself
      when saving (_saveElement) because they are inside the cover (in a HTML point
      of view).
      So if you had modified both the cover, the title and the subtiltle, it was:
      	1. Saving the cover
      	2. Saving the cover again
      	3. Saving the cover again
      
      Now, _saveElement is called as it should, for the same case, it is:
      	1. Saving the cover
      	2. Saving the title
      	3. Saving the subtitle
      53ae8bec
    • rde's avatar
      [FIX] website_*: convert old ir.ui.view page=True into website.page in 1 record · 8baabfb6
      rde authored
      Before this commit, website.page xml record were created in 2 steps:
      	1. Create an ir.ui.view record with <template> tag
      	2. Create a website.page record with <record model="website.page">
      But this is useless since website.page inheritS ir.ui.view, you can create both
      records just in one <record> tag.
      
      Note: This is NOT TRUE in every case:
      Odoo's ORM will suffix external_id of inherited records (in this case the
      ir.ui.view created through the website.page record) with its model's name.
      This can be a problem in some case (this is an example):
      	website_crm_template.xml create an ir.ui.view inheriting the
      	ir.ui.view 'website.contactus'.
      	But if we didn't keep website.page & ir.ui.view records split for that
      	specific case, the ir.ui.view would inherit a website.page record
      	causing an error. (website.contactus would be the id of the page record
      	while the ir.ui.view's id would be website.contactus_ir_ui_view)
      
      In short: when migrating an ir.ui.view (<record> xml) to a website.page:
      	* If there is record inheriting the ir.ui.view ID, then split
      	  website.page & ir.ui.view
      	* if not, you can create the website.page and its ir.ui.view both in one
      	  record (<record model="website.page").
      
      This commit also removed remaining page="True" from xml template since we
      removed the 'page' attribute from ir.ui.view model overrided in website module.
      8baabfb6
    • rde's avatar
      [IMP] website, website_crm, website_hr_recruitment: remove useless name field from website.page · 0426849d
      rde authored
      Before this commit, website.page had a 'name' field which was useless because
      website.page inheritS from ir.ui.view which has its own 'name field.
      At the end, we were duplicating/synchronizing 'name' field between
      website.page and its ir.ui.view for no reason because we were always using the
      one from ir.ui.view.
      
      Now, getting website.page's name will always retrieve the one from its
      ir.ui.view and there is no redundant information.
      0426849d
    • Richard Mathot's avatar
      [FIX] delivery: missing dependency · db543c12
      Richard Mathot authored
      db543c12
Loading